mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-30 12:55:02 +00:00
migration files
This commit is contained in:
parent
00b0cc2a45
commit
6b1627d03c
3 changed files with 9435 additions and 0 deletions
3
src/app/db/migrations/0202_furry_mister_sinister.sql
Normal file
3
src/app/db/migrations/0202_furry_mister_sinister.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
ALTER TABLE "magic_plan_plan" ADD COLUMN "uploaded_file_id" bigint;--> statement-breakpoint
|
||||
ALTER TABLE "magic_plan_plan" ADD CONSTRAINT "magic_plan_plan_uploaded_file_id_uploaded_files_id_fk" FOREIGN KEY ("uploaded_file_id") REFERENCES "public"."uploaded_files"("id") ON DELETE no action ON UPDATE no action;--> statement-breakpoint
|
||||
ALTER TABLE "magic_plan_plan" ADD CONSTRAINT "magic_plan_plan_uploaded_file_id_unique" UNIQUE("uploaded_file_id");
|
||||
9425
src/app/db/migrations/meta/0202_snapshot.json
Normal file
9425
src/app/db/migrations/meta/0202_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1415,6 +1415,13 @@
|
|||
"when": 1778602691863,
|
||||
"tag": "0201_known_sebastian_shaw",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 202,
|
||||
"version": "7",
|
||||
"when": 1778666596489,
|
||||
"tag": "0202_furry_mister_sinister",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue