mirror of
https://github.com/sern-handler/automata
synced 2026-06-06 01:16:51 +00:00
feat: new drizzle migration
This commit is contained in:
4
apps/database/drizzle/0002_soft_lilith.sql
Normal file
4
apps/database/drizzle/0002_soft_lilith.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
DROP TABLE "account";--> statement-breakpoint
|
||||
DROP TABLE "session";--> statement-breakpoint
|
||||
DROP TABLE "user";--> statement-breakpoint
|
||||
DROP TABLE "verificationToken";
|
||||
83
apps/database/drizzle/meta/0002_snapshot.json
Normal file
83
apps/database/drizzle/meta/0002_snapshot.json
Normal 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": {}
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,13 @@
|
||||
"when": 1709334685582,
|
||||
"tag": "0001_burly_carnage",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 2,
|
||||
"version": "5",
|
||||
"when": 1711311565795,
|
||||
"tag": "0002_soft_lilith",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user