feat(schema): add yachtId to interests and berth_waiting_list
This commit is contained in:
3
src/lib/db/migrations/0005_stale_kronos.sql
Normal file
3
src/lib/db/migrations/0005_stale_kronos.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE "berth_waiting_list" ADD COLUMN "yacht_id" text;--> statement-breakpoint
|
||||
ALTER TABLE "interests" ADD COLUMN "yacht_id" text;--> statement-breakpoint
|
||||
CREATE INDEX "idx_interests_yacht" ON "interests" USING btree ("yacht_id");
|
||||
Reference in New Issue
Block a user