phase 4
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
public function up(): void { Schema::create('banners', function (Blueprint $table): void { $table->id();
|
||||
$table->string('title');
|
||||
$table->text('content')->nullable();
|
||||
$table->string('link_url')->nullable();
|
||||
$table->string('position')->default('default');
|
||||
$table->boolean('enabled')->default(true);
|
||||
$table->timestamps(); $table->softDeletes(); }); }
|
||||
public function down(): void { Schema::dropIfExists('banners'); }
|
||||
};
|
||||
Reference in New Issue
Block a user