Skip to content

Commit a51e3b5

Browse files
committed
chore: update snapshot
1 parent dc814a9 commit a51e3b5

File tree

1 file changed

+148
-2
lines changed

1 file changed

+148
-2
lines changed

tests/__snapshots__/cli.test.ts.snap

Lines changed: 148 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6001,11 +6001,100 @@ exports[`getConfigFromFile > should successfully load and parse a valid config f
60016001
"id",
60026002
],
60036003
},
6004-
"testSerialPk": {
6004+
"testBigSerialPk": {
60056005
"columns": {
60066006
"id": {
6007+
"customType": null,
6008+
"optional": true,
6009+
"type": "number",
6010+
},
6011+
"name": {
60076012
"customType": null,
60086013
"optional": false,
6014+
"type": "string",
6015+
},
6016+
},
6017+
"name": "testBigSerialPk",
6018+
"primaryKey": [
6019+
"id",
6020+
],
6021+
"serverName": "test_bigserial_pk",
6022+
},
6023+
"testCompositePkBothDefaults": {
6024+
"columns": {
6025+
"id1": {
6026+
"customType": null,
6027+
"optional": true,
6028+
"type": "string",
6029+
},
6030+
"id2": {
6031+
"customType": null,
6032+
"optional": true,
6033+
"type": "number",
6034+
},
6035+
"name": {
6036+
"customType": null,
6037+
"optional": false,
6038+
"type": "string",
6039+
},
6040+
},
6041+
"name": "testCompositePkBothDefaults",
6042+
"primaryKey": [
6043+
"id1",
6044+
"id2",
6045+
],
6046+
"serverName": "test_composite_pk_both_defaults",
6047+
},
6048+
"testCompositePkOneDefault": {
6049+
"columns": {
6050+
"id": {
6051+
"customType": null,
6052+
"optional": true,
6053+
"type": "number",
6054+
},
6055+
"name": {
6056+
"customType": null,
6057+
"optional": false,
6058+
"type": "string",
6059+
},
6060+
"tenantId": {
6061+
"customType": null,
6062+
"optional": false,
6063+
"serverName": "tenant_id",
6064+
"type": "string",
6065+
},
6066+
},
6067+
"name": "testCompositePkOneDefault",
6068+
"primaryKey": [
6069+
"tenantId",
6070+
"id",
6071+
],
6072+
"serverName": "test_composite_pk_one_default",
6073+
},
6074+
"testIntegerDefaultPk": {
6075+
"columns": {
6076+
"id": {
6077+
"customType": null,
6078+
"optional": true,
6079+
"type": "number",
6080+
},
6081+
"name": {
6082+
"customType": null,
6083+
"optional": false,
6084+
"type": "string",
6085+
},
6086+
},
6087+
"name": "testIntegerDefaultPk",
6088+
"primaryKey": [
6089+
"id",
6090+
],
6091+
"serverName": "test_integer_default_pk",
6092+
},
6093+
"testSerialPk": {
6094+
"columns": {
6095+
"id": {
6096+
"customType": null,
6097+
"optional": true,
60096098
"type": "number",
60106099
},
60116100
"name": {
@@ -6020,13 +6109,51 @@ exports[`getConfigFromFile > should successfully load and parse a valid config f
60206109
],
60216110
"serverName": "test_serial_pk",
60226111
},
6023-
"testUuidPk": {
6112+
"testTextDefaultPk": {
60246113
"columns": {
60256114
"id": {
6115+
"customType": null,
6116+
"optional": true,
6117+
"type": "string",
6118+
},
6119+
"name": {
60266120
"customType": null,
60276121
"optional": false,
60286122
"type": "string",
60296123
},
6124+
},
6125+
"name": "testTextDefaultPk",
6126+
"primaryKey": [
6127+
"id",
6128+
],
6129+
"serverName": "test_text_default_pk",
6130+
},
6131+
"testTimestampDefaultPk": {
6132+
"columns": {
6133+
"id": {
6134+
"customType": null,
6135+
"optional": true,
6136+
"type": "number",
6137+
},
6138+
"name": {
6139+
"customType": null,
6140+
"optional": false,
6141+
"type": "string",
6142+
},
6143+
},
6144+
"name": "testTimestampDefaultPk",
6145+
"primaryKey": [
6146+
"id",
6147+
],
6148+
"serverName": "test_timestamp_default_pk",
6149+
},
6150+
"testUuidPk": {
6151+
"columns": {
6152+
"id": {
6153+
"customType": null,
6154+
"optional": true,
6155+
"type": "string",
6156+
},
60306157
"name": {
60316158
"customType": null,
60326159
"optional": false,
@@ -6039,6 +6166,25 @@ exports[`getConfigFromFile > should successfully load and parse a valid config f
60396166
],
60406167
"serverName": "test_uuid_pk",
60416168
},
6169+
"testUuidSqlDefaultPk": {
6170+
"columns": {
6171+
"id": {
6172+
"customType": null,
6173+
"optional": true,
6174+
"type": "string",
6175+
},
6176+
"name": {
6177+
"customType": null,
6178+
"optional": false,
6179+
"type": "string",
6180+
},
6181+
},
6182+
"name": "testUuidSqlDefaultPk",
6183+
"primaryKey": [
6184+
"id",
6185+
],
6186+
"serverName": "test_uuid_sql_default_pk",
6187+
},
60426188
"timeEntry": {
60436189
"columns": {
60446190
"createdAt": {

0 commit comments

Comments
 (0)