mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-10 11:00:38 +00:00
Laravel 5.3 upgrade (#189)
* Started move to laravel 5.3 * Started updating login & registration flows for laravel 5.3 update * Updated app emails to notification system * Fixed registations bugs and removed email confirmation model * Fixed large portion of laravel post-upgrade issues * Fixed and tested LDAP process
This commit is contained in:
parent
393f6047f2
commit
9dc9724e15
44 changed files with 1799 additions and 1110 deletions
database/migrations
|
@ -129,7 +129,7 @@ class AddRolesAndPermissions extends Migration
|
|||
|
||||
// Set all current users as admins
|
||||
// (At this point only the initially create user should be an admin)
|
||||
$users = DB::table('users')->get();
|
||||
$users = DB::table('users')->get()->all();
|
||||
foreach ($users as $user) {
|
||||
DB::table('role_user')->insert([
|
||||
'role_id' => $adminId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue