-
-
Notifications
You must be signed in to change notification settings - Fork 704
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
578 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
integration-tests/drizzle2/mysql-proxy/first/0000_nostalgic_carnage.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CREATE TABLE `userstest` ( | ||
`id` serial PRIMARY KEY, | ||
`name` text NOT NULL, | ||
`verified` boolean NOT NULL DEFAULT false, | ||
`jsonb` json, | ||
`created_at` timestamp NOT NULL DEFAULT now() | ||
); |
60 changes: 60 additions & 0 deletions
60
integration-tests/drizzle2/mysql-proxy/first/meta/0000_snapshot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"version": "5", | ||
"dialect": "mysql", | ||
"id": "8e8c8378-0496-40f6-88e3-98aab8282b1f", | ||
"prevId": "00000000-0000-0000-0000-000000000000", | ||
"tables": { | ||
"userstest": { | ||
"name": "userstest", | ||
"schema": "", | ||
"columns": { | ||
"id": { | ||
"name": "id", | ||
"type": "serial", | ||
"primaryKey": true, | ||
"notNull": false, | ||
"autoincrement": true | ||
}, | ||
"name": { | ||
"name": "name", | ||
"type": "text", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"autoincrement": false | ||
}, | ||
"verified": { | ||
"name": "verified", | ||
"type": "boolean", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"default": false, | ||
"autoincrement": false | ||
}, | ||
"jsonb": { | ||
"name": "jsonb", | ||
"type": "json", | ||
"primaryKey": false, | ||
"notNull": false, | ||
"autoincrement": false | ||
}, | ||
"created_at": { | ||
"name": "created_at", | ||
"type": "timestamp", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"default": "now()", | ||
"autoincrement": false | ||
} | ||
}, | ||
"indexes": {}, | ||
"foreignKeys": {}, | ||
"compositePrimaryKeys": {} | ||
} | ||
}, | ||
"schemas": {}, | ||
"_meta": { | ||
"schemas": {}, | ||
"tables": {}, | ||
"columns": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
integration-tests/drizzle2/mysql-proxy/first/meta/_journal.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"version": "5", | ||
"dialect": "mysql", | ||
"entries": [ | ||
{ | ||
"idx": 0, | ||
"version": "5", | ||
"when": 1680270921944, | ||
"tag": "0000_nostalgic_carnage", | ||
"breakpoints": true | ||
} | ||
] | ||
} |
7 changes: 7 additions & 0 deletions
7
integration-tests/drizzle2/mysql-proxy/second/0000_nostalgic_carnage.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CREATE TABLE `userstest` ( | ||
`id` serial PRIMARY KEY, | ||
`name` text NOT NULL, | ||
`verified` boolean NOT NULL DEFAULT false, | ||
`jsonb` json, | ||
`created_at` timestamp NOT NULL DEFAULT now() | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CREATE TABLE `users12` ( | ||
`id` serial AUTO_INCREMENT PRIMARY KEY NOT NULL, | ||
`name` text NOT NULL, | ||
`email` text NOT NULL | ||
); |
60 changes: 60 additions & 0 deletions
60
integration-tests/drizzle2/mysql-proxy/second/meta/0000_snapshot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"version": "5", | ||
"dialect": "mysql", | ||
"id": "8e8c8378-0496-40f6-88e3-98aab8282b1f", | ||
"prevId": "00000000-0000-0000-0000-000000000000", | ||
"tables": { | ||
"userstest": { | ||
"name": "userstest", | ||
"schema": "", | ||
"columns": { | ||
"id": { | ||
"name": "id", | ||
"type": "serial", | ||
"primaryKey": true, | ||
"notNull": false, | ||
"autoincrement": true | ||
}, | ||
"name": { | ||
"name": "name", | ||
"type": "text", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"autoincrement": false | ||
}, | ||
"verified": { | ||
"name": "verified", | ||
"type": "boolean", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"default": false, | ||
"autoincrement": false | ||
}, | ||
"jsonb": { | ||
"name": "jsonb", | ||
"type": "json", | ||
"primaryKey": false, | ||
"notNull": false, | ||
"autoincrement": false | ||
}, | ||
"created_at": { | ||
"name": "created_at", | ||
"type": "timestamp", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"default": "now()", | ||
"autoincrement": false | ||
} | ||
}, | ||
"indexes": {}, | ||
"foreignKeys": {}, | ||
"compositePrimaryKeys": {} | ||
} | ||
}, | ||
"schemas": {}, | ||
"_meta": { | ||
"schemas": {}, | ||
"tables": {}, | ||
"columns": {} | ||
} | ||
} |
96 changes: 96 additions & 0 deletions
96
integration-tests/drizzle2/mysql-proxy/second/meta/0001_snapshot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
{ | ||
"version": "5", | ||
"dialect": "mysql", | ||
"id": "47362df0-c353-4bd1-8107-fcc36f0e61bd", | ||
"prevId": "8e8c8378-0496-40f6-88e3-98aab8282b1f", | ||
"tables": { | ||
"userstest": { | ||
"name": "userstest", | ||
"schema": "", | ||
"columns": { | ||
"id": { | ||
"name": "id", | ||
"type": "serial", | ||
"primaryKey": true, | ||
"notNull": false, | ||
"autoincrement": true | ||
}, | ||
"name": { | ||
"name": "name", | ||
"type": "text", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"autoincrement": false | ||
}, | ||
"verified": { | ||
"name": "verified", | ||
"type": "boolean", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"default": false, | ||
"autoincrement": false | ||
}, | ||
"jsonb": { | ||
"name": "jsonb", | ||
"type": "json", | ||
"primaryKey": false, | ||
"notNull": false, | ||
"autoincrement": false | ||
}, | ||
"created_at": { | ||
"name": "created_at", | ||
"type": "timestamp", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"default": "now()", | ||
"autoincrement": false | ||
} | ||
}, | ||
"indexes": {}, | ||
"foreignKeys": {}, | ||
"compositePrimaryKeys": {} | ||
}, | ||
"users12": { | ||
"name": "users12", | ||
"columns": { | ||
"id": { | ||
"name": "id", | ||
"type": "serial", | ||
"primaryKey": true, | ||
"notNull": true, | ||
"autoincrement": true | ||
}, | ||
"name": { | ||
"name": "name", | ||
"type": "text", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"autoincrement": false | ||
}, | ||
"email": { | ||
"name": "email", | ||
"type": "text", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"autoincrement": false | ||
} | ||
}, | ||
"indexes": { | ||
"my_unique_index": { | ||
"name": "my_unique_index", | ||
"columns": ["name"], | ||
"isUnique": true, | ||
"using": "btree" | ||
} | ||
}, | ||
"foreignKeys": {}, | ||
"compositePrimaryKeys": {} | ||
} | ||
}, | ||
"schemas": {}, | ||
"_meta": { | ||
"schemas": {}, | ||
"tables": {}, | ||
"columns": {} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
integration-tests/drizzle2/mysql-proxy/second/meta/_journal.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"version": "5", | ||
"dialect": "mysql", | ||
"entries": [ | ||
{ | ||
"idx": 0, | ||
"version": "5", | ||
"when": 1680270921944, | ||
"tag": "0000_nostalgic_carnage", | ||
"breakpoints": true | ||
}, | ||
{ | ||
"idx": 1, | ||
"version": "5", | ||
"when": 1680270921945, | ||
"tag": "0001_test", | ||
"breakpoints": true | ||
} | ||
] | ||
} |
7 changes: 7 additions & 0 deletions
7
integration-tests/drizzle2/pg-proxy/first/0000_puzzling_flatman.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CREATE TABLE "users" ( | ||
id serial PRIMARY KEY, | ||
name text NOT NULL, | ||
verified boolean NOT NULL DEFAULT false, | ||
jsonb jsonb, | ||
created_at timestamptz NOT NULL DEFAULT now() | ||
); |
56 changes: 56 additions & 0 deletions
56
integration-tests/drizzle2/pg-proxy/first/meta/0000_snapshot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"version": "5", | ||
"dialect": "pg", | ||
"id": "cb1644bb-c5da-465a-8d70-f63d81e34514", | ||
"prevId": "00000000-0000-0000-0000-000000000000", | ||
"tables": { | ||
"users": { | ||
"name": "users", | ||
"schema": "", | ||
"columns": { | ||
"id": { | ||
"name": "id", | ||
"type": "serial", | ||
"primaryKey": true, | ||
"notNull": false | ||
}, | ||
"name": { | ||
"name": "name", | ||
"type": "text", | ||
"primaryKey": false, | ||
"notNull": true | ||
}, | ||
"verified": { | ||
"name": "verified", | ||
"type": "boolean", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"default": false | ||
}, | ||
"jsonb": { | ||
"name": "jsonb", | ||
"type": "jsonb", | ||
"primaryKey": false, | ||
"notNull": false | ||
}, | ||
"created_at": { | ||
"name": "created_at", | ||
"type": "timestamptz", | ||
"primaryKey": false, | ||
"notNull": true, | ||
"default": "now()" | ||
} | ||
}, | ||
"indexes": {}, | ||
"foreignKeys": {}, | ||
"compositePrimaryKeys": {} | ||
} | ||
}, | ||
"enums": {}, | ||
"schemas": {}, | ||
"_meta": { | ||
"schemas": {}, | ||
"tables": {}, | ||
"columns": {} | ||
} | ||
} |
Oops, something went wrong.