KSA-ORACLE-ALLACCESSKEYS/database/migrations/2025_09_03_135223_create_cards_table.php
Nyavokevin 9e5cc5ab1a
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
add dark theme
2025-09-18 20:34:07 +03:00

33 lines
776 B
PHP

<?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('cards', function (Blueprint $table) {
$table->id();
$table->string('name', 150);
$table->text('description_upright');
$table->text('description_reversed');
$table->json('symbolism')->nullable();
$table->string('image_url', 255)->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('cards');
}
};