Files
TLA/database/migrations/2026_08_08_224606_create_tla_table.php
T
Belupeti c1e8daacff
Build / Build-image (push) Failing after 8s
finish database, start controller
2026-08-09 01:54:47 +02:00

32 lines
713 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('tla', function (Blueprint $table) {
$table->id();
$table->string('abbreviation');
$table->string('hint')->nullable();
$table->enum('language', ['hu', 'en']);
$table->date('used')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('tla');
}
};