fix: change title and slug column type
This commit is contained in:
parent
5244f24672
commit
0c9c19bdc1
1 changed files with 4 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ return new class extends Migration
|
|||
$table->text('seo_description')->nullable(false)->comment('Seo description of the news')->change();
|
||||
$table->text('picture_alt')->nullable()->comment('Alt of the picture of the news')->change();
|
||||
$table->text('picture_title')->nullable()->comment('Title of the picture of the news')->change();
|
||||
$table->text('title')->nullable()->comment('Title of the news')->change();
|
||||
$table->text('slug')->nullable()->comment('Slug picture of the news')->change();
|
||||
$table->boolean('inverted')->default(false)->comment('Side of the text/image in the front display');
|
||||
$table->text('vimeo_id')->nullable()->comment('Vimeo id optionnal');
|
||||
});
|
||||
|
|
@ -33,6 +35,8 @@ return new class extends Migration
|
|||
$table->string('seo_description')->nullable(false)->comment('Seo description of the news')->change();
|
||||
$table->string('picture_alt')->nullable()->comment('Alt of the picture of the news')->change();
|
||||
$table->string('picture_title')->nullable()->comment('Title of the picture of the news')->change();
|
||||
$table->string('title')->nullable()->comment('Title of the news')->change();
|
||||
$table->string('slug')->nullable()->comment('Slug picture of the news')->change();
|
||||
$table->dropColumn('inverted');
|
||||
$table->dropColumn('vimeo_id');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue