Files
test-FHR/main-repo/database/migrations/2026_06_09_130217_club_table.php
T
2026-06-09 16:21:25 +02:00

33 lines
684 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('clubs', function (Blueprint $table) {
$table->id();
$table->string('name_ru');
$table->string('name_en');
$table->string('city_ru');
$table->string('city_en');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('clubs');
}
};