diff --git a/database/migrations/2025_11_17_163811_alter_news_fields_add_side_table.php b/database/migrations/2025_11_17_163811_alter_news_fields_add_side_table.php index fad6d19e..65586768 100644 --- a/database/migrations/2025_11_17_163811_alter_news_fields_add_side_table.php +++ b/database/migrations/2025_11_17_163811_alter_news_fields_add_side_table.php @@ -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'); });