From 0574cbebfa6dcd03b03fcd8630e59d42efe8ac82 Mon Sep 17 00:00:00 2001 From: Peter Aba Date: Fri, 10 Jan 2020 21:09:50 +0100 Subject: [PATCH] Migration fixes --- resources/migrations/mysql/down/website-creative.sql | 2 +- resources/migrations/mysql/up/website-creative.sql | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/migrations/mysql/down/website-creative.sql b/resources/migrations/mysql/down/website-creative.sql index abb632e..fd6dcc9 100644 --- a/resources/migrations/mysql/down/website-creative.sql +++ b/resources/migrations/mysql/down/website-creative.sql @@ -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 = '
{{var/body}}
', deleted_at = NULL WHERE identifier = 'index'; +UPDATE pages SET title = 'New AbterCMS installation', layout_id = NULL, layout = '
{{var/body}}
', deleted_at = NULL WHERE identifier = 'index'; diff --git a/resources/migrations/mysql/up/website-creative.sql b/resources/migrations/mysql/up/website-creative.sql index cbcbb67..1d5404d 100644 --- a/resources/migrations/mysql/up/website-creative.sql +++ b/resources/migrations/mysql/up/website-creative.sql @@ -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';