Version 0.7.0 #1

Merged
kor-elf merged 90 commits from develop into main 2023-12-08 21:18:23 +06:00
2 changed files with 5 additions and 0 deletions
Showing only changes of commit 34319e5724 - Show all commits

View File

@ -22,6 +22,8 @@ class User extends Authenticatable
'name',
'email',
'password',
'timezone',
'is_active',
];
/**
@ -41,5 +43,6 @@ class User extends Authenticatable
*/
protected $casts = [
'email_verified_at' => 'datetime',
'is_active' => 'boolean'
];
}

View File

@ -13,11 +13,13 @@ return new class extends Migration
{
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->boolean('is_active')->default(0)->index();
$table->string('name');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->rememberToken();
$table->string('timezone')->nullable();
$table->timestamps();
$table->softDeletes();
});