feat: expenses, report and day log commands

This commit is contained in:
2025-01-18 21:21:26 +01:00
parent a28d392342
commit 8681914be2
30 changed files with 5614 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
-- CreateTable
CREATE TABLE "DayLog" (
"id" TEXT NOT NULL,
"date" TIMESTAMP(3) NOT NULL,
"comments" JSONB NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3) NOT NULL,
CONSTRAINT "DayLog_pkey" PRIMARY KEY ("id")
);
-- CreateIndex
CREATE UNIQUE INDEX "DayLog_date_key" ON "DayLog"("date");
-- CreateIndex
CREATE INDEX "DayLog_date_idx" ON "DayLog"("date");