Skip to content

Commit

Permalink
tests(sdk): update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolg42 committed Jul 13, 2020
1 parent 0cfd6a3 commit 1669b64
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions src/packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"scripts"
],
"prisma": {
"version": "832e37683666c748b0a1cbdc2c5068b5e443e816"
"version": "a9e8c3d97ef2a0cf59256e6b26097f2a80f0a6a4"
},
"devDependencies": {
"@types/jest": "25.2.3",
Expand Down Expand Up @@ -87,4 +87,4 @@
"eslint"
]
}
}
}
56 changes: 28 additions & 28 deletions src/packages/sdk/src/__tests__/introspection/introspection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ test('introspection basic', async () => {
Object {
"columns": Array [
Object {
"autoIncrement": true,
"autoIncrement": false,
"default": null,
"name": "revision",
"name": "applied",
"tpe": Object {
"arity": "required",
"characterMaximumLength": null,
Expand All @@ -84,7 +84,7 @@ test('introspection basic', async () => {
Object {
"autoIncrement": false,
"default": null,
"name": "name",
"name": "database_migration",
"tpe": Object {
"arity": "required",
"characterMaximumLength": null,
Expand All @@ -108,7 +108,7 @@ test('introspection basic', async () => {
Object {
"autoIncrement": false,
"default": null,
"name": "status",
"name": "datamodel_steps",
"tpe": Object {
"arity": "required",
"characterMaximumLength": null,
Expand All @@ -120,31 +120,31 @@ test('introspection basic', async () => {
Object {
"autoIncrement": false,
"default": null,
"name": "applied",
"name": "errors",
"tpe": Object {
"arity": "required",
"characterMaximumLength": null,
"dataType": "INTEGER",
"family": "int",
"fullDataType": "INTEGER",
"dataType": "TEXT",
"family": "string",
"fullDataType": "TEXT",
},
},
Object {
"autoIncrement": false,
"default": null,
"name": "rolled_back",
"name": "finished_at",
"tpe": Object {
"arity": "required",
"arity": "nullable",
"characterMaximumLength": null,
"dataType": "INTEGER",
"family": "int",
"fullDataType": "INTEGER",
"dataType": "DATE",
"family": "dateTime",
"fullDataType": "DATE",
},
},
Object {
"autoIncrement": false,
"default": null,
"name": "datamodel_steps",
"name": "name",
"tpe": Object {
"arity": "required",
"characterMaximumLength": null,
Expand All @@ -154,27 +154,27 @@ test('introspection basic', async () => {
},
},
Object {
"autoIncrement": false,
"autoIncrement": true,
"default": null,
"name": "database_migration",
"name": "revision",
"tpe": Object {
"arity": "required",
"characterMaximumLength": null,
"dataType": "TEXT",
"family": "string",
"fullDataType": "TEXT",
"dataType": "INTEGER",
"family": "int",
"fullDataType": "INTEGER",
},
},
Object {
"autoIncrement": false,
"default": null,
"name": "errors",
"name": "rolled_back",
"tpe": Object {
"arity": "required",
"characterMaximumLength": null,
"dataType": "TEXT",
"family": "string",
"fullDataType": "TEXT",
"dataType": "INTEGER",
"family": "int",
"fullDataType": "INTEGER",
},
},
Object {
Expand All @@ -192,13 +192,13 @@ test('introspection basic', async () => {
Object {
"autoIncrement": false,
"default": null,
"name": "finished_at",
"name": "status",
"tpe": Object {
"arity": "nullable",
"arity": "required",
"characterMaximumLength": null,
"dataType": "DATE",
"family": "dateTime",
"fullDataType": "DATE",
"dataType": "TEXT",
"family": "string",
"fullDataType": "TEXT",
},
},
],
Expand Down

0 comments on commit 1669b64

Please sign in to comment.