adds roles
This commit is contained in:
@@ -13,10 +13,16 @@ public function up(): void
|
||||
{
|
||||
Schema::create('users', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('role_id')->default(1)->constrained();
|
||||
$table->string('name');
|
||||
$table->string('email')->unique();
|
||||
$table->string('azure_id')->nullable()->unique();
|
||||
$table->string('photo')->nullable();
|
||||
$table->string('job_title')->nullable();
|
||||
$table->string('department')->nullable();
|
||||
$table->string('phone')->nullable();
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
$table->string('password');
|
||||
$table->string('password')->nullable();
|
||||
$table->rememberToken();
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user