Merge pull request #3614 from autn/feat/cms/update-cms-page-translations-table-field-html-content-from-text-to-longtext
Update cms_page_translations table field html content from text to longtext
This commit is contained in:
commit
fc1884c711
|
|
@ -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