diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-11-13 22:20:16 -0800 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-11-13 22:20:16 -0800 |
| commit | 7026e3861a5712ced6f2006f282c8386b4db106e (patch) | |
| tree | 18db906e76c1736a831f345b4832db91964c960a /internal/repositories | |
| parent | Remove timestamp version style in favor of always using sequential (diff) | |
| download | cli-7026e3861a5712ced6f2006f282c8386b4db106e.zip | |
Pad new migrations to 4 digits
Diffstat (limited to 'internal/repositories')
| -rw-r--r-- | internal/repositories/migration_fs_repo_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/repositories/migration_fs_repo_test.go b/internal/repositories/migration_fs_repo_test.go index c3c71c4..4e0936d 100644 --- a/internal/repositories/migration_fs_repo_test.go +++ b/internal/repositories/migration_fs_repo_test.go @@ -221,6 +221,6 @@ func TestList_DuplicateMigrationVersion(t *testing.T) { assert.ErrorContains( t, err, - "001_migration_1 and 001_migration_2 both have version 001; renumber one of them", + "0001_migration_1 and 0001_migration_2 both have version 0001; renumber one of them", ) } |