Reorder migration scripts - move acc+chr creation earlier

This commit is contained in:
P0nk
2024-09-14 17:48:20 +02:00
parent e57d2a9ee2
commit ce5dee39ae
8 changed files with 1 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ CREATE TABLE monster_card
level smallint NOT NULL,
PRIMARY KEY(chr_id, card_id)
/* TODO once chr is moved to postgres:
CONSTRAINT fk_monster_card_chr FOREIGN KEY (chr_id) REFERENCES character(id);
CONSTRAINT fk_monster_card_chr FOREIGN KEY (chr_id) REFERENCES chr(id);
*/
);
GRANT SELECT, INSERT, UPDATE ON TABLE monster_card TO ${server-username};