mirror of
https://github.com/eliasrenman/gardentron.git
synced 2026-03-16 20:46:07 +01:00
refactor: removed prisma and replaced with better-sqlite3
This commit is contained in:
7
server/migrations/migration.sql
Normal file
7
server/migrations/migration.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "MoistureValue" (
|
||||
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||||
"name" TEXT NOT NULL,
|
||||
"value" DECIMAL NOT NULL,
|
||||
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
Reference in New Issue
Block a user