1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

refactor: migrations structure

fix: cascade for alias user foreign key constraint
This commit is contained in:
Ferdinand Mütsch
2021-02-02 21:50:43 +01:00
parent 4f7cc3c57e
commit b6812ddc3a
13 changed files with 258 additions and 180 deletions

View File

@@ -0,0 +1,8 @@
-- +migrate Up
-- SQL in section 'Up' is executed when this migration is applied
insert into key_string_values ("key", "value") values ('imprint', 'no content here');
-- +migrate Down
-- SQL section 'Down' is executed when this migration is rolled back
SET SQL_MODE=ANSI_QUOTES;
delete from key_string_values where key = 'imprint';