Skip to content

Commit cc162ba

Browse files
committed
test: update snapshots
1 parent 1b3fbef commit cc162ba

File tree

6 files changed

+36
-23
lines changed

6 files changed

+36
-23
lines changed

test/lib/columns.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Object {
1313
"identity_generation": null,
1414
"is_identity": false,
1515
"is_nullable": false,
16+
"is_unique": false,
1617
"is_updatable": true,
1718
"name": "user-id",
1819
"ordinal_position": 3,
@@ -45,6 +46,7 @@ Object {
4546
"identity_generation": null,
4647
"is_identity": false,
4748
"is_nullable": true,
49+
"is_unique": false,
4850
"is_updatable": true,
4951
"name": "c",
5052
"ordinal_position": 1,
@@ -68,6 +70,7 @@ Object {
6870
"identity_generation": null,
6971
"is_identity": false,
7072
"is_nullable": true,
73+
"is_unique": false,
7174
"is_updatable": true,
7275
"name": "c",
7376
"ordinal_position": 1,
@@ -99,6 +102,7 @@ Object {
99102
"identity_generation": "ALWAYS",
100103
"is_identity": true,
101104
"is_nullable": false,
105+
"is_unique": false,
102106
"is_updatable": true,
103107
"name": "c1",
104108
"ordinal_position": 1,
@@ -122,6 +126,7 @@ Object {
122126
"identity_generation": "ALWAYS",
123127
"is_identity": true,
124128
"is_nullable": false,
129+
"is_unique": false,
125130
"is_updatable": true,
126131
"name": "c1",
127132
"ordinal_position": 1,
@@ -160,6 +165,7 @@ Object {
160165
"identity_generation": null,
161166
"is_identity": false,
162167
"is_nullable": true,
168+
"is_unique": false,
163169
"is_updatable": true,
164170
"name": "c",
165171
"ordinal_position": 1,
@@ -255,6 +261,7 @@ Object {
255261
"identity_generation": null,
256262
"is_identity": false,
257263
"is_nullable": true,
264+
"is_unique": false,
258265
"is_updatable": true,
259266
"name": "c",
260267
"ordinal_position": 1,
@@ -291,6 +298,7 @@ Object {
291298
"identity_generation": null,
292299
"is_identity": false,
293300
"is_nullable": true,
301+
"is_unique": false,
294302
"is_updatable": true,
295303
"name": "c",
296304
"ordinal_position": 1,
@@ -358,6 +366,7 @@ Object {
358366
"identity_generation": null,
359367
"is_identity": false,
360368
"is_nullable": true,
369+
"is_unique": false,
361370
"is_updatable": true,
362371
"name": "c",
363372
"ordinal_position": 1,
@@ -395,6 +404,7 @@ Object {
395404
"identity_generation": null,
396405
"is_identity": false,
397406
"is_nullable": true,
407+
"is_unique": false,
398408
"is_updatable": true,
399409
"name": "c",
400410
"ordinal_position": 1,

test/lib/policies.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Object {
3939
"check": null,
4040
"command": "ALL",
4141
"definition": null,
42-
"id": 16655,
42+
"id": 16663,
4343
"name": "test policy",
4444
"roles": Array [
4545
"public",
@@ -59,7 +59,7 @@ Object {
5959
"check": null,
6060
"command": "ALL",
6161
"definition": null,
62-
"id": 16655,
62+
"id": 16663,
6363
"name": "test policy",
6464
"roles": Array [
6565
"public",
@@ -83,7 +83,7 @@ Object {
8383
"check": "(current_setting('my.username'::text) = name)",
8484
"command": "ALL",
8585
"definition": "(current_setting('my.username'::text) = name)",
86-
"id": 16655,
86+
"id": 16663,
8787
"name": "policy updated",
8888
"roles": Array [
8989
"public",
@@ -103,7 +103,7 @@ Object {
103103
"check": "(current_setting('my.username'::text) = name)",
104104
"command": "ALL",
105105
"definition": "(current_setting('my.username'::text) = name)",
106-
"id": 16655,
106+
"id": 16663,
107107
"name": "policy updated",
108108
"roles": Array [
109109
"public",

test/lib/publications.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test('retrieve, create, update, delete', async () => {
1212
expect(res).toMatchInlineSnapshot(`
1313
Object {
1414
"data": Object {
15-
"id": 16656,
15+
"id": 16664,
1616
"name": "a",
1717
"owner": "postgres",
1818
"publish_delete": true,
@@ -34,7 +34,7 @@ Object {
3434
expect(res).toMatchInlineSnapshot(`
3535
Object {
3636
"data": Object {
37-
"id": 16656,
37+
"id": 16664,
3838
"name": "a",
3939
"owner": "postgres",
4040
"publish_delete": true,
@@ -60,7 +60,7 @@ Object {
6060
expect(res).toMatchInlineSnapshot(`
6161
Object {
6262
"data": Object {
63-
"id": 16656,
63+
"id": 16664,
6464
"name": "b",
6565
"owner": "postgres",
6666
"publish_delete": true,
@@ -76,7 +76,7 @@ Object {
7676
expect(res).toMatchInlineSnapshot(`
7777
Object {
7878
"data": Object {
79-
"id": 16656,
79+
"id": 16664,
8080
"name": "b",
8181
"owner": "postgres",
8282
"publish_delete": true,
@@ -109,7 +109,7 @@ test('tables with uppercase', async () => {
109109
expect(res).toMatchInlineSnapshot(`
110110
Object {
111111
"data": Object {
112-
"id": 16661,
112+
"id": 16669,
113113
"name": "pub",
114114
"owner": "postgres",
115115
"publish_delete": false,
@@ -118,7 +118,7 @@ Object {
118118
"publish_update": false,
119119
"tables": Array [
120120
Object {
121-
"id": 16658,
121+
"id": 16666,
122122
"name": "T",
123123
"schema": "public",
124124
},
@@ -133,7 +133,7 @@ Object {
133133
expect(res).toMatchInlineSnapshot(`
134134
Object {
135135
"data": Object {
136-
"id": 16661,
136+
"id": 16669,
137137
"name": "pub",
138138
"owner": "postgres",
139139
"publish_delete": false,
@@ -142,7 +142,7 @@ Object {
142142
"publish_update": false,
143143
"tables": Array [
144144
Object {
145-
"id": 16658,
145+
"id": 16666,
146146
"name": "T",
147147
"schema": "public",
148148
},
@@ -167,7 +167,7 @@ test('FOR ALL TABLES', async () => {
167167
expect(res).toMatchInlineSnapshot(`
168168
Object {
169169
"data": Object {
170-
"id": 16663,
170+
"id": 16671,
171171
"name": "for_all",
172172
"owner": "postgres",
173173
"publish_delete": true,

test/lib/roles.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ Object {
402402
"can_login": true,
403403
"config": null,
404404
"connection_limit": 100,
405-
"id": 16653,
405+
"id": 16661,
406406
"inherit_role": false,
407407
"is_replication_role": true,
408408
"is_superuser": true,
@@ -424,7 +424,7 @@ Object {
424424
"can_login": true,
425425
"config": null,
426426
"connection_limit": 100,
427-
"id": 16653,
427+
"id": 16661,
428428
"inherit_role": false,
429429
"is_replication_role": true,
430430
"is_superuser": true,
@@ -461,7 +461,7 @@ Object {
461461
"can_login": true,
462462
"config": null,
463463
"connection_limit": 100,
464-
"id": 16654,
464+
"id": 16662,
465465
"inherit_role": false,
466466
"is_replication_role": true,
467467
"is_superuser": true,
@@ -483,7 +483,7 @@ Object {
483483
"can_login": true,
484484
"config": null,
485485
"connection_limit": 100,
486-
"id": 16654,
486+
"id": 16662,
487487
"inherit_role": false,
488488
"is_replication_role": true,
489489
"is_superuser": true,

test/lib/tables.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Object {
1616
"identity_generation": "BY DEFAULT",
1717
"is_identity": true,
1818
"is_nullable": false,
19+
"is_unique": false,
1920
"is_updatable": true,
2021
"name": "id",
2122
"ordinal_position": 1,
@@ -33,6 +34,7 @@ Object {
3334
"identity_generation": null,
3435
"is_identity": false,
3536
"is_nullable": true,
37+
"is_unique": false,
3638
"is_updatable": true,
3739
"name": "name",
3840
"ordinal_position": 2,
@@ -53,6 +55,7 @@ Object {
5355
"identity_generation": null,
5456
"is_identity": false,
5557
"is_nullable": true,
58+
"is_unique": false,
5659
"is_updatable": true,
5760
"name": "status",
5861
"ordinal_position": 3,

test/lib/triggers.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Object {
2828
],
2929
"function_name": "audit_action",
3030
"function_schema": "public",
31-
"id": 16664,
31+
"id": 16672,
3232
"name": "test_trigger",
3333
"orientation": "ROW",
3434
"schema": "public",
@@ -54,7 +54,7 @@ Object {
5454
],
5555
"function_name": "audit_action",
5656
"function_schema": "public",
57-
"id": 16664,
57+
"id": 16672,
5858
"name": "test_trigger",
5959
"orientation": "ROW",
6060
"schema": "public",
@@ -83,7 +83,7 @@ Object {
8383
],
8484
"function_name": "audit_action",
8585
"function_schema": "public",
86-
"id": 16664,
86+
"id": 16672,
8787
"name": "test_trigger_renamed",
8888
"orientation": "ROW",
8989
"schema": "public",
@@ -111,7 +111,7 @@ Object {
111111
],
112112
"function_name": "audit_action",
113113
"function_schema": "public",
114-
"id": 16664,
114+
"id": 16672,
115115
"name": "test_trigger_renamed",
116116
"orientation": "ROW",
117117
"schema": "public",
@@ -137,7 +137,7 @@ Object {
137137
],
138138
"function_name": "audit_action",
139139
"function_schema": "public",
140-
"id": 16664,
140+
"id": 16672,
141141
"name": "test_trigger_renamed",
142142
"orientation": "ROW",
143143
"schema": "public",
@@ -186,7 +186,7 @@ Object {
186186
],
187187
"function_name": "audit_action",
188188
"function_schema": "public",
189-
"id": 16665,
189+
"id": 16673,
190190
"name": "test_multi_event_trigger",
191191
"orientation": "ROW",
192192
"schema": "public",

0 commit comments

Comments
 (0)