Reorder migration scripts - move acc+chr creation earlier
This commit is contained in:
@@ -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};
|
||||
Reference in New Issue
Block a user