]> BookStack Code Mirror - bookstack/blobdiff - database/migrations/2014_10_12_000000_create_users_table.php
Applied required changes
[bookstack] / database / migrations / 2014_10_12_000000_create_users_table.php
index 17e71de5f99d933aaafb7d6996cb337203a468da..ce605b7cd495100c4ffa862fc5ad03a6fc6c3789 100644 (file)
@@ -17,6 +17,7 @@ class CreateUsersTable extends Migration
             $table->string('name');
             $table->string('email')->unique();
             $table->string('password', 60);
+            $table->string('books_display')->default('grid');
             $table->rememberToken();
             $table->nullableTimestamps();
         });
@@ -26,6 +27,7 @@ class CreateUsersTable extends Migration
             'name' => 'Admin',
             'email' => '[email protected]',
             'password' => bcrypt('password'),
+            'books_display' => 'grid',
             'created_at' => \Carbon\Carbon::now()->toDateTimeString(),
             'updated_at' => \Carbon\Carbon::now()->toDateTimeString()
         ]);