summaryrefslogtreecommitdiff
path: root/db/migrations/0242_tan_proteus.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations/0242_tan_proteus.sql')
-rw-r--r--db/migrations/0242_tan_proteus.sql15
1 files changed, 15 insertions, 0 deletions
diff --git a/db/migrations/0242_tan_proteus.sql b/db/migrations/0242_tan_proteus.sql
new file mode 100644
index 00000000..a27b5163
--- /dev/null
+++ b/db/migrations/0242_tan_proteus.sql
@@ -0,0 +1,15 @@
+CREATE TABLE "knox"."approval" (
+ "ap_inf_id" text PRIMARY KEY NOT NULL,
+ "user_id" text NOT NULL,
+ "ep_id" text NOT NULL,
+ "email_address" text NOT NULL,
+ "subject" text NOT NULL,
+ "content" text NOT NULL,
+ "status" text NOT NULL,
+ "aplns" jsonb NOT NULL,
+ "is_deleted" boolean DEFAULT false NOT NULL,
+ "created_at" timestamp DEFAULT now() NOT NULL,
+ "updated_at" timestamp DEFAULT now() NOT NULL
+);
+--> statement-breakpoint
+ALTER TABLE "users" ADD COLUMN "epId" varchar(50); \ No newline at end of file