Skip to content

Commit

Permalink
updates users table and users model config for 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jolamar committed Feb 25, 2016
1 parent ffd8eb1 commit 52c4f1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/MigrationCommand.php
Expand Up @@ -81,8 +81,8 @@ protected function createMigration($rolesTable, $roleUserTable, $permissionsTabl
{
$migrationFile = base_path("/database/migrations")."/".date('Y_m_d_His')."_entrust_setup_tables.php";

$usersTable = Config::get('auth.table');
$userModel = Config::get('auth.model');
$usersTable = Config::get('auth.providers.users.table');
$userModel = Config::get('auth.providers.users.model');
$userKeyName = (new $userModel())->getKeyName();

$data = compact('rolesTable', 'roleUserTable', 'permissionsTable', 'permissionRoleTable', 'usersTable', 'userKeyName');
Expand Down

0 comments on commit 52c4f1d

Please sign in to comment.