summaryrefslogtreecommitdiff
path: root/db/migrations/0388_legal_magneto.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations/0388_legal_magneto.sql')
-rw-r--r--db/migrations/0388_legal_magneto.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/migrations/0388_legal_magneto.sql b/db/migrations/0388_legal_magneto.sql
new file mode 100644
index 00000000..7fce01e5
--- /dev/null
+++ b/db/migrations/0388_legal_magneto.sql
@@ -0,0 +1,4 @@
+ALTER TABLE "page_information" ADD COLUMN "created_by" integer;--> statement-breakpoint
+ALTER TABLE "page_information" ADD COLUMN "updated_by" integer;--> statement-breakpoint
+ALTER TABLE "page_information" ADD CONSTRAINT "page_information_created_by_users_id_fk" FOREIGN KEY ("created_by") REFERENCES "public"."users"("id") ON DELETE no action ON UPDATE no action;--> statement-breakpoint
+ALTER TABLE "page_information" ADD CONSTRAINT "page_information_updated_by_users_id_fk" FOREIGN KEY ("updated_by") REFERENCES "public"."users"("id") ON DELETE no action ON UPDATE no action; \ No newline at end of file