feat: new drizzle migration

This commit is contained in:
2024-03-24 20:26:57 +00:00
committed by GitHub
parent ebe1779654
commit 43a82faf1d
3 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
DROP TABLE "account";--> statement-breakpoint
DROP TABLE "session";--> statement-breakpoint
DROP TABLE "user";--> statement-breakpoint
DROP TABLE "verificationToken";

View File

@@ -0,0 +1,83 @@
{
"id": "85868c6b-5657-45c8-a26c-e17cd20787fb",
"prevId": "63e42e23-78aa-4b67-96a2-9b1bc6bf15c8",
"version": "5",
"dialect": "pg",
"tables": {
"guideFeedback": {
"name": "guideFeedback",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "text",
"primaryKey": true,
"notNull": true
},
"feedback": {
"name": "feedback",
"type": "text",
"primaryKey": false,
"notNull": true
},
"route": {
"name": "route",
"type": "text",
"primaryKey": false,
"notNull": true
},
"inputText": {
"name": "inputText",
"type": "text",
"primaryKey": false,
"notNull": false
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
},
"jobsList": {
"name": "jobsList",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "bigserial",
"primaryKey": true,
"notNull": true
},
"name": {
"name": "name",
"type": "text",
"primaryKey": false,
"notNull": true
},
"steps": {
"name": "steps",
"type": "json",
"primaryKey": false,
"notNull": true
},
"sernbinid": {
"name": "sernbinid",
"type": "text",
"primaryKey": false,
"notNull": true
}
},
"indexes": {},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
}
},
"enums": {},
"schemas": {},
"_meta": {
"columns": {},
"schemas": {},
"tables": {}
}
}

View File

@@ -15,6 +15,13 @@
"when": 1709334685582,
"tag": "0001_burly_carnage",
"breakpoints": true
},
{
"idx": 2,
"version": "5",
"when": 1711311565795,
"tag": "0002_soft_lilith",
"breakpoints": true
}
]
}