oljimenez
oljimenez
Explore posts from servers
DTDrizzle Team
Created by oljimenez on 8/31/2024 in #help
Drizzle ORM migrations on rename fields?
Hi, guys, in my company we want to use Drizzle ORM with Payload CMS, but we're searching for how Drizzle handle migrations. I know that Drizzle will generate automatic migrations using pnpm drizzle-kit generate, but i've never tested with rename fields? How Drizzle will behave on those situations? We're looking for automatic detecting of rename fields, similar how Django does. Will Drizzle be capable to detect rename fields? Currently we're using MongoDB and any dev could rename fields and break the UI (not the DB), we're searching for a way to avoid that by using SQL or any alternative. Any recomendations on the subject?
2 replies