Closed pffigueiredo closed 1 week ago
@pffigueiredo can you convert your PR comments into code comments and then resolve them please?
@pffigueiredo can you convert your PR comments into code comments and then resolve them please?
Of course, done in this commit: 6b964838dea05fc79a68d82db03fd85f0d7111a8
Description
This PR aims to fix the existing
schema.ts
file, so it's fully functional with a real application.FIXES
drizzle
anddrizzle-kit
to latest pinned versiondrizzle
imports from the latest version and delete theindex.ts
fileTest Plan
I tested all the functionalities of this schema by creating a small APP, without any
where user_id = auth. user_id()
, so we only rely on RLS rules to filter the information.https://github.com/user-attachments/assets/54938405-3cac-4fc5-b38e-9f291c46525e