admin-panel

This commit is contained in:
2026-01-12 11:37:40 +00:00
parent e400b203b8
commit 2a83373b28
18 changed files with 507 additions and 2329 deletions

View File

@@ -0,0 +1,22 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddDefaultPhoneToUsersTable extends Migration
{
public function up()
{
Schema::table('users', function (Blueprint $table) {
$table->string('phone')->default('')->change();
});
}
public function down()
{
Schema::table('users', function (Blueprint $table) {
$table->string('phone')->nullable()->change();
});
}
}