Added owning games and not willing to travel with them.

This commit is contained in:
2025-12-30 21:18:16 +01:00
parent ff88029a4b
commit 0c256846f6
45 changed files with 595 additions and 92 deletions

View File

@@ -0,0 +1,3 @@
-- This file should undo anything in `up.sql`
alter table owned_game drop constraint FK_owned_games_location_id;
alter table owned_game drop column location_id;

View File

@@ -0,0 +1,6 @@
-- Your SQL goes here
ALTER TABLE owned_game
ADD location_id UUID;
ALTER TABLE owned_game
ADD CONSTRAINT FK_owned_games_location_id FOREIGN KEY(location_id) REFERENCES location(id);