Feat (CMS): Update cms_page_translations table field html_content from text to longtext
This commit is contained in:
parent
52277bfbcc
commit
bda810dd5a
|
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
/**
|
||||
* Hack core: Change the migration
|
||||
* Added by AuTN
|
||||
*/
|
||||
class UpdateCmsPageTranslationsTableFieldHtmlContent extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('cms_page_translations', function (Blueprint $table) {
|
||||
$table->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();
|
||||
});
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue