meowbarkmeow69
meowbarkmeow69
DTDrizzle Team
Created by meowbarkmeow69 on 12/20/2023 in #help
Validate schemas against DB
Hello, did a quick search in here and in the docs but didn't see a related answer, but please feel free to point me in the direction of somewhere else if this has been asked. In my application I am working on I have the limitation that I cannot use drizzle kit to manage the database via migrations, that is done externally to my app. So I am making schemas based off the existing tables in order to CRUD. I'd like to programatically validate that the schemas I have created (aka used drizzle kit to introspect the database) are actually valid for the database I query in my application. This would help avoid coding based off of invalid schemas. Any thoughts on features of drizzle or approaches I could take to achieve? Thanks!
2 replies