登录校验

This commit is contained in:
2022-11-01 13:28:08 +08:00
parent c23de98690
commit 719a9ff89d
8 changed files with 583 additions and 7 deletions

View File

@@ -17,8 +17,8 @@ class CreateUsersTable extends Migration
$table->id();
$table->string('username', 64)->unique();
$table->string('password')->nullable();
$table->string('phone')->nullable();
$table->string('email')->nullable();
$table->string('mobile')->index()->nullable();
$table->string('email')->index()->nullable();
$table->string('mnemonic')->nullable();
$table->boolean('privacy')->default(1)->index();
$table->rememberToken();