From 92a21ff4c5df6e9f771cfbd140835dce3b6d7b0d Mon Sep 17 00:00:00 2001
From: Sebastien Castiel <sebastien@castiel.me>
Date: Fri, 8 Dec 2023 14:56:51 -0500
Subject: Migration script, improvements in expenses list

---
 prisma/migrations/20231208170655_add_timestamps/migration.sql | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 prisma/migrations/20231208170655_add_timestamps/migration.sql

(limited to 'prisma/migrations/20231208170655_add_timestamps/migration.sql')

diff --git a/prisma/migrations/20231208170655_add_timestamps/migration.sql b/prisma/migrations/20231208170655_add_timestamps/migration.sql
new file mode 100644
index 0000000..b1ec41d
--- /dev/null
+++ b/prisma/migrations/20231208170655_add_timestamps/migration.sql
@@ -0,0 +1,5 @@
+-- AlterTable
+ALTER TABLE "Expense" ADD COLUMN     "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP;
+
+-- AlterTable
+ALTER TABLE "Group" ADD COLUMN     "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP;
-- 
cgit v1.3

