Files
thankcard-system/database/migrations/2026_06_27_132957_create_administrations_table.php
T
antv f594a45e84 m
2026-07-02 17:02:02 +07:00

33 lines
812 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('administration', function (Blueprint $table) {
$table->increments('id');
$table->integer('msnv');
$table->integer('received')->nullable();
$table->integer('sender')->nullable();
$table->integer('sent')->nullable();
$table->integer('receiver')->nullable();
$table->date('date')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('administration');
}
};