TypeError: Cannot read properties of undefined (reading 'isRLSEnabled')
TypeError: Cannot read properties of undefined (reading 'isRLSEnabled')
I am getting this error when using Drizzle kit push
I am using Supabase. I recently updated the Drizzle Orm and Drizzle Kit and I was not getting this error before the update.
14 Replies
Maybe is this. I will test
Adjusted to be an array, but it keeps the error
Were you able to fix it
I'm having the same error
having the same error,
@Andrew Sherman
I would need your drizzle schema to reproduce
previous schema is this
after update the schema and has a lot of changes on orders table, then it became a problem
what version of drizzle-kit and drizzle-orm do you have?
"drizzle-orm": "^0.36.0",
"drizzle-kit": "^0.27.1"
im using rds postgres
Thanks
Checking it
Do you see it in generate or push?
i saw it during generate
reproduced
fixing and including in the patch release
drizzle-kit@rls-fix
here is a tag I'm testing on - working wellnice tq so much @Andrew Sherman !
thanks for the fix @Andrew Sherman, was having the same problem!