1
0
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:
Nilesh Deepak
2017-07-05 12:09:01 +05:30
parent fdf139edb2
commit 947c58f227
8 changed files with 56 additions and 22 deletions

View File

@ -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()
]);

View File

@ -24,6 +24,7 @@ class CreateBooksTable extends Migration
$table->string('slug')->indexed();
$table->text('description');
$table->nullableTimestamps();
$table->string('image');
});
}