Skip to content

Commit

Permalink
Merge pull request #176 from bezhanSalleh/fix/postgres-install-fresh
Browse files Browse the repository at this point in the history
Fixes #172
  • Loading branch information
bezhanSalleh committed Feb 10, 2023
2 parents c676212 + 2e33694 commit 807524e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/MakeShieldInstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function CheckIfAlreadyInstalled(): bool

protected function getTables(): Collection
{
return collect(['permissions', 'roles', 'role_has_permissions', 'model_has_roles', 'model_has_permissions']);
return collect(['role_has_permissions', 'model_has_roles', 'model_has_permissions', 'roles', 'permissions']);
}

protected function install(bool $fresh = false)
Expand Down

0 comments on commit 807524e

Please sign in to comment.