removed invitelayout resources

This commit is contained in:
Codex Agent
2025-12-12 11:48:31 +01:00
parent 7cf7c4b8df
commit bbf8d4a0f4
17 changed files with 941 additions and 1260 deletions

View File

@@ -1,40 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('invite_layouts', function (Blueprint $table) {
$table->id();
$table->string('slug')->unique();
$table->string('name');
$table->string('subtitle')->nullable();
$table->text('description')->nullable();
$table->string('paper')->default('a4');
$table->string('orientation')->default('portrait');
$table->json('preview')->nullable();
$table->json('layout_options')->nullable();
$table->json('instructions')->nullable();
$table->boolean('is_active')->default(true);
$table->unsignedBigInteger('created_by')->nullable();
$table->timestamps();
$table->foreign('created_by')->references('id')->on('users')->nullOnDelete();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('invite_layouts');
}
};