-
Seems no one asked before and I didn't find information about this in doc. In migration all Maybe there are bugfixes or better performance in the generated file carried by future drift versions, though unlikely. And in my repo my db in schema version 4 binded with a 400 loc I plan to exclude |
Beta Was this translation helpful? Give feedback.
Answered by
simolus3
Oct 13, 2024
Replies: 1 comment 7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's nothing wrong with excluding or including that file. As you've said, drift re-writes the file every time you invoke the migration command, so there's not a big difference. I include that file (and most generated sources) in my projects so that I can track changes in case anything goes wrong, but it's mostly a personal preference and I don't see any potential issues when excluding the file.