From bec1dd270a1d3184ea13f0b849f192176354fc00 Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Mon, 8 Jan 2024 19:26:44 +0000 Subject: Add Expense Date (#26) * add expense date * Improve date formatting * Prettier * Change field description --------- Co-authored-by: Sebastien Castiel --- prisma/migrations/20240108174319_add_expense_date/migration.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 prisma/migrations/20240108174319_add_expense_date/migration.sql (limited to 'prisma/migrations') diff --git a/prisma/migrations/20240108174319_add_expense_date/migration.sql b/prisma/migrations/20240108174319_add_expense_date/migration.sql new file mode 100644 index 0000000..0b6de90 --- /dev/null +++ b/prisma/migrations/20240108174319_add_expense_date/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "Expense" ADD COLUMN "expenseDate" DATE NOT NULL DEFAULT CURRENT_DATE; -- cgit v1.3