security_invoker = on
I have a VIEW in my local DB rining in Docker with POstgres v15. Works all good. I tried to migrate my DB in Neon and got and error
I figured out the probably the way how this works in Neon is different because after removing the
I had to drop the table and recreate it without the secoruty innvoker. So my new down migration file looks like this:
My question is, how to still allow the security to be on for RLS, as I understand that what this does? I have RLS enabeld in all tables in the DB, and this is the only view which is problematic.
"Error: Invalid options boolean value for securityInvoker: on" I figured out the probably the way how this works in Neon is different because after removing the
security_invoker = on clause from my SQL statement solved the issue, and I could migrate in Neon wihtout any problem.I had to drop the table and recreate it without the secoruty innvoker. So my new down migration file looks like this:
My question is, how to still allow the security to be on for RLS, as I understand that what this does? I have RLS enabeld in all tables in the DB, and this is the only view which is problematic.
