completed story 1.1 with QA tests and fixes
This commit is contained in:
@@ -13,10 +13,19 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('users', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('user_type')->default('individual');
|
||||
$table->string('full_name');
|
||||
$table->string('national_id')->nullable();
|
||||
$table->string('company_name')->nullable();
|
||||
$table->string('company_cert_number')->nullable();
|
||||
$table->string('contact_person_name')->nullable();
|
||||
$table->string('contact_person_id')->nullable();
|
||||
$table->string('email')->unique();
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
$table->string('phone');
|
||||
$table->string('password');
|
||||
$table->string('status')->default('active');
|
||||
$table->string('preferred_language', 2)->default('ar');
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
$table->rememberToken();
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user