add some more functions
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
<?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('card_orders', function (Blueprint $table) {
|
||||
$table->id();
|
||||
// $table->foreignId('user_id')->constrained('users')->restrictOnDelete();
|
||||
// $table->string('cart_inception');
|
||||
// $table->string('cart_type');
|
||||
// $table->string('region');
|
||||
// $table->foreignId('branch_id')->constrained('branches')->restrictOnDelete();
|
||||
// $table->string('name');
|
||||
// $table->string('surname');
|
||||
// $table->string('patronic_name')->nullable();
|
||||
// $table->date('born_at')->nullable();
|
||||
// $table->string('old_surname')->nullable();
|
||||
// $table->string('citizenship');
|
||||
// $table->string('passport_serie');
|
||||
// $table->integer('passport_number');
|
||||
// $table->date('passport_given_at');
|
||||
// $table->string('passport_given_by')->nullable();
|
||||
// $table->string('born_location');
|
||||
// $table->string('job_location')->nullable();
|
||||
// $table->string('passport_address')->nullable();
|
||||
// $table->string('home_address')->nullable();
|
||||
// $table->string('phone')->nullable();
|
||||
// $table->string('status')->nullable();
|
||||
// $table->text('notes')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('card_orders');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user