Rework frontend
This commit is contained in:
@@ -13,16 +13,20 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('slides', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('title');
|
||||
$table->text('content');
|
||||
$table->string('image');
|
||||
$table->string('title')->nullable();
|
||||
$table->text('content')->nullable();
|
||||
$table->text('image')->nullable();
|
||||
$table->string('link');
|
||||
$table->string('link_text');
|
||||
$table->text('settings')->nullable();
|
||||
$table->string('color_theme');
|
||||
$table->boolean('is_active')->default(true);
|
||||
$table->timestamp('start_time')->nullable(); // Дата и время начала действия слайда
|
||||
$table->timestamp('end_time')->nullable(); // Дата и время окончания действия слайда
|
||||
$table->integer('sort')->nullable();
|
||||
$table->foreignId('slider_id')->references('id')->on('sliders')->onDelete('cascade');
|
||||
$table->timestamps();
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user