Skip to content

Commit 368aed4

Browse files
committed
Fix tests
1 parent 7bfc6c9 commit 368aed4

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

src/test/resources/TableDescriptionFunctionTest.describeAllTables

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Contact details for book authors
1717
STATE CHARACTER(2)
1818
POSTALCODE VARCHAR(10)
1919
COUNTRY VARCHAR(50)
20+
default 'USA'
2021

2122
Primary Key
2223

@@ -73,15 +74,15 @@ Foreign Keys
7374
Z_FK_AUTHOR [foreign key, with no action]
7475
AUTHORID (0..many)--> PUBLIC.BOOKS.AUTHORS.ID
7576

76-
SYS_FK_10120 [foreign key, with no action]
77+
SYS_FK_10118 [foreign key, with no action]
7778
BOOKID (0..many)--> PUBLIC.BOOKS.BOOKS.ID
7879

7980
Indexes
8081

8182
Z_FK_AUTHOR [non-unique index]
8283
AUTHORID ascending
8384

84-
SYS_FK_10120 [non-unique index]
85+
SYS_FK_10118 [non-unique index]
8586
BOOKID ascending
8687

8788
UIDX_BOOKAUTHORS [unique index]
@@ -118,7 +119,7 @@ Foreign Keys
118119
FK_SALES_BOOK [foreign key, with no action]
119120
ID <--(0..many) PUBLIC."PUBLISHER SALES".SALES.BOOKID
120121

121-
SYS_FK_10120 [foreign key, with no action]
122+
SYS_FK_10118 [foreign key, with no action]
122123
ID <--(0..many) PUBLIC.BOOKS.BOOKAUTHORS.BOOKID
123124

124125
FK_PREVIOUSEDITION [foreign key, with no action]
@@ -149,7 +150,7 @@ Primary Key
149150

150151
Foreign Keys
151152

152-
SYS_FK_10130 [foreign key, with no action]
153+
SYS_FK_10128 [foreign key, with no action]
153154
"Id" <--(0..1) PUBLIC.BOOKS."Celebrity Updates"."Celebrity Id"
154155

155156
Indexes
@@ -171,15 +172,15 @@ Primary Key
171172

172173
Foreign Keys
173174

174-
SYS_FK_10130 [foreign key, with no action]
175+
SYS_FK_10128 [foreign key, with no action]
175176
"Celebrity Id" (0..1)--> PUBLIC.BOOKS."Celebrities"."Id"
176177

177178
Indexes
178179

179180
"PK Celebrity Updates" [unique index]
180181
"Celebrity Id" ascending
181182

182-
SYS_FK_10130 [non-unique index]
183+
SYS_FK_10128 [non-unique index]
183184
"Celebrity Id" ascending
184185

185186

@@ -189,6 +190,7 @@ PUBLIC.BOOKS.COUPONS [table]
189190
ID INTEGER NOT NULL
190191
DATA CLOB
191192
COUPONS INTEGER ARRAY
193+
default ARRAY[]
192194
BOOKS VARCHAR(20) ARRAY[10]
193195

194196
Primary Key
@@ -250,7 +252,7 @@ List of book publishers
250252

251253
Primary Key
252254

253-
SYS_PK_10126 [primary key]
255+
SYS_PK_10124 [primary key]
254256
ID
255257

256258
Foreign Keys
@@ -260,7 +262,7 @@ FK_ΒΙΒΛΊΑ_PUBLISHERS [foreign key, with no action]
260262

261263
Indexes
262264

263-
SYS_PK_10126 [unique index]
265+
SYS_PK_10124 [unique index]
264266
ID ascending
265267

266268

src/test/resources/TableDescriptionFunctionTest.describeTable

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Contact details for book authors
1717
STATE CHARACTER(2)
1818
POSTALCODE VARCHAR(10)
1919
COUNTRY VARCHAR(50)
20+
default 'USA'
2021

2122
Primary Key
2223

0 commit comments

Comments
 (0)