summaryrefslogtreecommitdiff
path: root/db/migrations/0030_zippy_the_order.sql
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-03-25 15:55:45 +0900
committerjoonhoekim <26rote@gmail.com>2025-03-25 15:55:45 +0900
commit1a2241c40e10193c5ff7008a7b7b36cc1d855d96 (patch)
tree8a5587f10ca55b162d7e3254cb088b323a34c41b /db/migrations/0030_zippy_the_order.sql
initial commit
Diffstat (limited to 'db/migrations/0030_zippy_the_order.sql')
-rw-r--r--db/migrations/0030_zippy_the_order.sql16
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrations/0030_zippy_the_order.sql b/db/migrations/0030_zippy_the_order.sql
new file mode 100644
index 00000000..020f8329
--- /dev/null
+++ b/db/migrations/0030_zippy_the_order.sql
@@ -0,0 +1,16 @@
+CREATE TABLE "form_entries" (
+ "id" serial PRIMARY KEY NOT NULL,
+ "form_code" varchar(50) NOT NULL,
+ "data" jsonb NOT NULL,
+ "created_at" timestamp with time zone DEFAULT now() NOT NULL,
+ "updated_at" timestamp with time zone DEFAULT now() NOT NULL
+);
+--> statement-breakpoint
+CREATE TABLE "form_metas" (
+ "id" serial PRIMARY KEY NOT NULL,
+ "form_code" varchar(50) NOT NULL,
+ "form_name" varchar(255) NOT NULL,
+ "columns" jsonb NOT NULL,
+ "created_at" timestamp with time zone DEFAULT now() NOT NULL,
+ "updated_at" timestamp with time zone DEFAULT now() NOT NULL
+);