From bda810dd5aefa42b421395bdb006cd5efe19acee Mon Sep 17 00:00:00 2001 From: AuTN Date: Fri, 31 Jul 2020 17:37:29 +0700 Subject: [PATCH] Feat (CMS): Update cms_page_translations table field html_content from text to longtext --- ..._translations_table_field_html_content.php | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 packages/Webkul/CMS/src/Database/Migrations/2020_07_31_142021_update_cms_page_translations_table_field_html_content.php diff --git a/packages/Webkul/CMS/src/Database/Migrations/2020_07_31_142021_update_cms_page_translations_table_field_html_content.php b/packages/Webkul/CMS/src/Database/Migrations/2020_07_31_142021_update_cms_page_translations_table_field_html_content.php new file mode 100644 index 000000000..d9a009cd7 --- /dev/null +++ b/packages/Webkul/CMS/src/Database/Migrations/2020_07_31_142021_update_cms_page_translations_table_field_html_content.php @@ -0,0 +1,36 @@ +longtext('html_content')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('cms_page_translations', function (Blueprint $table) { + $table->text('html_content')->nullable()->change(); + }); + } +}