1
0
Fork 0
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:
lukinovec 2023-04-26 18:09:50 +02:00
parent 4eea9f1031
commit e169cf49fa
2 changed files with 28 additions and 3 deletions

View file

@ -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'");
}