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:
8
migrations/fixtures/1_imprint_content.sql
Normal file
8
migrations/fixtures/1_imprint_content.sql
Normal 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';
|
||||
Reference in New Issue
Block a user