mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Applied required changes in BookStack.
This commit is contained in:
@ -18,6 +18,7 @@ class CreateUsersTable extends Migration
|
||||
$table->string('email')->unique();
|
||||
$table->string('password', 60);
|
||||
$table->rememberToken();
|
||||
$table->string('books_display')->default('grid');
|
||||
$table->nullableTimestamps();
|
||||
});
|
||||
|
||||
@ -26,6 +27,7 @@ class CreateUsersTable extends Migration
|
||||
'name' => 'Admin',
|
||||
'email' => 'admin@admin.com',
|
||||
'password' => bcrypt('password'),
|
||||
'books_display' => 'grid',
|
||||
'created_at' => \Carbon\Carbon::now()->toDateTimeString(),
|
||||
'updated_at' => \Carbon\Carbon::now()->toDateTimeString()
|
||||
]);
|
||||
|
@ -24,6 +24,7 @@ class CreateBooksTable extends Migration
|
||||
$table->string('slug')->indexed();
|
||||
$table->text('description');
|
||||
$table->nullableTimestamps();
|
||||
$table->string('image');
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user