feat: initialize prisma with Stock model

This commit is contained in:
2026-05-14 09:55:24 +02:00
parent 0fdd8432a0
commit f40eec1420
5 changed files with 44 additions and 0 deletions
@@ -0,0 +1,11 @@
-- CreateTable
CREATE TABLE "Stock" (
"id" TEXT NOT NULL PRIMARY KEY,
"ticker" TEXT NOT NULL,
"notes" TEXT,
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" DATETIME NOT NULL
);
-- CreateIndex
CREATE UNIQUE INDEX "Stock_ticker_key" ON "Stock"("ticker");