classify admin

This commit is contained in:
Husanjonazamov
2026-02-24 12:52:01 +05:00
commit e0f1989655
769 changed files with 1263008 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up() {
Schema::create('users', static function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('email');
$table->string('mobile')->nullable();
$table->timestamp('email_verified_at')->nullable();
$table->string('profile')->nullable();
$table->string('type')->comment('email/google/mobile');
$table->string('password');
$table->string('fcm_id');
$table->boolean('notification')->default(0);
$table->string('firebase_id')->nullable();
$table->text('address')->nullable();
$table->rememberToken();
$table->timestamps();
$table->softDeletes();
$table->unique(['firebase_id', 'type']);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down() {
Schema::dropIfExists('users');
}
};