drizzle-team / drizzle-team/drizzle-orm
[BUG]: RLS is disabled on every run of push
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### Report hasn't been filed before.
- [x] I have verified that the bug I'm about to report hasn't been filed before.
### What version of `drizzle-orm` are you using?
0.44.4
### What version of `drizzle-kit` are you using?
0.31.4
### Other packages
_No response_
### Describe the Bug
When using Supabase migrations always inject an SQL statement to disable RLS for each table.
This is not present in any of the migration files and after long chats with Supabase support, they were able to recreate the issue on their end..
After running migrations, I can see in the Supabase logs that the RLS statements are being run.
example:
`alter table "chat_messages" DISABLE row LEVEL SECURITY`
This is a major bug. Not sure why Drizzle-kit is adding RLS disable statements to the migrations silently.
Contributor guide
Assessment
This issue has not been assessed yet.