CI/CD check if schema matches database

Hi, is there a way use drizzle-kit or drizzle itself to check if the database structure matches the schema. Right now I'm posting a comment if schema.ts is changed reminding my team to submit a planetscale deploy request, but if they update the PR the comment gets posted again. I'd like to only post it if the deploy database isn't updated yet. Is this possible?
2 Replies
MAST
MAST4mo ago
Does drizzle-kit check do what you're looking for?
MAST
MAST4mo ago
Drizzle ORM - List of commands
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.