Skip to content

Commit

Permalink
Migration fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
peteraba committed Jan 10, 2020
1 parent 19f34c3 commit 0574cbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/migrations/mysql/down/website-creative.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ UPDATE blocks SET deleted_at = NOW() WHERE identifier LIKE 'creative-%';

UPDATE page_layouts SET deleted_at = NOW() WHERE identifier LIKE 'creative-%';

UPDATE pages SET title = 'AbterCMS on Creative Bootstrap Theme', layout_id = NULL, layout = '<div class="container">{{var/body}}</div>', deleted_at = NULL WHERE identifier = 'index';
UPDATE pages SET title = 'New AbterCMS installation', layout_id = NULL, layout = '<div class="container">{{var/body}}</div>', deleted_at = NULL WHERE identifier = 'index';
8 changes: 4 additions & 4 deletions resources/migrations/mysql/up/website-creative.sql
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ SET deleted_at = NULL
WHERE identifier LIKE 'creative-%';

UPDATE pages
SET title = 'New AbterCMS installation',
layout_id = '3fc1212f-2189-4655-a11b-1a98dd897053',
layout = '',
deleted = 0
SET title = 'New AbterCMS installation',
layout_id = '3fc1212f-2189-4655-a11b-1a98dd897053',
layout = '',
deleted_at = NULL
WHERE identifier = 'index';

0 comments on commit 0574cbe

Please sign in to comment.