You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- You are about to alter the column `price` on the `cars` table. The data in that column could be lost. The data in that column will be cast from `Decimal` to `Float`.
5
+
6
+
*/
7
+
-- CreateTable
8
+
CREATETABLE "jobs" (
9
+
"id"TEXTNOT NULLPRIMARY KEY,
10
+
"created_at" DATETIME NOT NULL,
11
+
"finished_at" DATETIME,
12
+
"started_by"TEXTNOT NULL,
13
+
"name"TEXTNOT NULL,
14
+
"state"TEXTNOT NULL,
15
+
"progress"TEXTNOT NULL,
16
+
"status"TEXTNOT NULL,
17
+
"job_handler_name"TEXTNOT NULL
18
+
);
19
+
20
+
-- RedefineTables
21
+
PRAGMA defer_foreign_keys=ON;
22
+
PRAGMA foreign_keys=OFF;
23
+
CREATETABLE "new_cars" (
24
+
"id"TEXTNOT NULLPRIMARY KEY,
25
+
"model"TEXTNOT NULL,
26
+
"price"REALNOT NULL,
27
+
"created_at" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
0 commit comments