mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:14:03 +00:00
Create and drop schema in tests
This commit is contained in:
parent
4eea9f1031
commit
e169cf49fa
2 changed files with 28 additions and 3 deletions
|
|
@ -43,8 +43,6 @@ class CreateRLSPoliciesForTables
|
|||
)
|
||||
)");
|
||||
|
||||
dump(DB::select('select CURRENT_USER'));
|
||||
|
||||
DB::statement("ALTER TABLE {$table} FORCE ROW LEVEL SECURITY");
|
||||
|
||||
return Command::SUCCESS;
|
||||
|
|
@ -60,6 +58,7 @@ class CreateRLSPoliciesForTables
|
|||
|
||||
DB::statement("ALTER TABLE {$table} FORCE ROW LEVEL SECURITY");
|
||||
|
||||
|
||||
// $this->components->info("Created RLS policy for table '$table'");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue