whisper-money/database/migrations/2025_11_07_150038_create_ba...

32 lines
687 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('banks', function (Blueprint $table) {
$table->id();
$table->text('name');
$table->string('name_iv', 16);
$table->string('logo')->nullable();
$table->timestamps();
$table->softDeletes();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('banks');
}
};