sqlc
sqlc copied to clipboard
Interpret schema migrations numerically
What do you want to change?
The documentation states that
Warning: golang-migrate interprets migration filenames numerically. However, sqlc parses migration files in lexicographic order.
I was thinking if it possible to add some configuration key allowing sqlc to interpret migrations numerically instead? I don't know, something like
schema_ordering: numeric | lexicographic
And let it be lexicographic by default. Is there any conceptual blocker for that?
I checked the issues and could not find anything related, sorry if it's a duplicate.
What database engines need to be changed?
No database engines should be changed
What programming language backends need to be changed?
No specific backends should be changed.