Hi all,
We have a problem with the naming of the sql scripts.
If someone starts a long branch for example and uses Script0004 and the branch has a long life, then before this is committed to master someone else creates another branch and also takes Script0004 then this creates overlapping script numbers.
What is worse is that git wont alert us to conflicts because the file names do not colide:
- Script0004 - add feature Foo.sql
- Script0004 - fix indexing on Bar.sql
I'm surprised I can't find anything regarding this issue.
How do people solved this?
We could have a naming convention say, use only nymber.sql as the filename: "0004.sql" and that will have git provide conflicts.
But this does not prevent anyone making a mistake or not following the naming convention -- no conflict -- and errors can pass easily because there will be no build failures.
Cheers,
Carlos