Create 2026_02_02_120000_create_website_writeable_boxes_table.php

This commit is contained in:
Remco
2026-02-02 19:56:07 +01:00
parent 362403ef1b
commit 883cbbbfeb
@@ -0,0 +1,24 @@
<?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('website_writeable_boxes', function (Blueprint $table) {
$table->id();
$table->string('title');
$table->text('content');
$table->integer('order')->default(0);
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('website_writeable_boxes');
}
};