mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-01 04:29:53 +09:00
Get settings working and autologin
This commit is contained in:
@@ -19,7 +19,7 @@ class CreateSettingUserPivotTable extends Migration
|
||||
$table->integer('user_id')->unsigned()->index();
|
||||
$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
|
||||
$table->primary(['setting_id', 'user_id']);
|
||||
$table->string('value')->nullable();
|
||||
$table->string('uservalue')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ class UsersSeeder extends Seeder
|
||||
if(!$user = User::find(1)) {
|
||||
$user = new User;
|
||||
$user->id = 1;
|
||||
$user->name = 'User';
|
||||
$user->email = 'test@test.com';
|
||||
$user->name = 'Admin';
|
||||
$user->email = 'admin@test.com';
|
||||
$user->save();
|
||||
} else {
|
||||
//$user->save();
|
||||
|
||||
Reference in New Issue
Block a user