Drizzle Kit command that ensures schema validity #2994
Replies: 3 comments 3 replies
-
I guess somewho implement in PR |
Beta Was this translation helpful? Give feedback.
-
My only feedback is that this is a great idea. I've specifically been burned by this one several times in the past: But, when calling |
Beta Was this translation helpful? Give feedback.
-
A PR is now open where I implemented what I described in this discussion. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, I'm here to propose a new feature for Drizzle Kit that will ensure that your Typescript schema is valid, avoiding unexpected behavior in the generated migration files.
Here's an example of how that would look like:
Schema:
The new command (command name and args TBD):
Here's a list of validations this command would perform:
I wanted to bring this idea in a public discussion to see what other developers think of this feature. Please let me know of any additions or changes you want to suggest in relation to this idea that could enhance the Drizzle ORM and Kit experience for every developer.
Beta Was this translation helpful? Give feedback.
All reactions