mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-02-21 12:10:34 +09:00
Change name to username
This commit is contained in:
@@ -15,8 +15,8 @@ class CreateUsersTable extends Migration
|
||||
{
|
||||
Schema::create('users', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('name');
|
||||
$table->string('email')->unique();
|
||||
$table->string('username')->unique();
|
||||
$table->string('email');
|
||||
$table->string('avatar')->nullable();
|
||||
$table->string('password')->nullable();
|
||||
$table->string('autologin')->nullable()->index();
|
||||
|
||||
@@ -17,6 +17,7 @@ class UsersSeeder extends Seeder
|
||||
$user = new User;
|
||||
$user->id = 1;
|
||||
$user->name = 'Admin';
|
||||
$user->username = 'admin';
|
||||
$user->email = 'admin@test.com';
|
||||
$user->save();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user