Added owning games and not willing to travel with them.
This commit is contained in:
@@ -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;
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user