feat(schema): add yachtId to interests and berth_waiting_list

This commit is contained in:
Matt Ciaccio
2026-04-23 17:57:29 +02:00
parent 88a87afa77
commit d43298a74e
5 changed files with 8520 additions and 20 deletions

View 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");