Reorder migration scripts - move acc+chr creation earlier
This commit is contained in:
1 parent
e57d2a9ee2
commit
ce5dee39ae
8 files changed
+1
-1
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -5,7 +5,7 @@ CREATE TABLE monster_card
|
|||||||
level smallint NOT NULL,
|
level smallint NOT NULL,
|
||||||
PRIMARY KEY(chr_id, card_id)
|
PRIMARY KEY(chr_id, card_id)
|
||||||
/* TODO once chr is moved to postgres:
|
/* 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};
|
GRANT SELECT, INSERT, UPDATE ON TABLE monster_card TO ${server-username};
|
||||||
Reference in new issue
Block a user