1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 20:54:03 +00:00
This commit is contained in:
lukinovec 2023-04-26 15:34:27 +02:00
parent 562d507482
commit 034c284303
2 changed files with 4 additions and 2 deletions

View file

@ -43,6 +43,8 @@ class CreateRLSPoliciesForTables
)
)");
dump(DB::select("select CURRENT_USER"));
DB::statement("ALTER TABLE {$table} FORCE ROW LEVEL SECURITY");
return Command::SUCCESS;