mycodeself / mongo-migrate-ts

Run mongodb migrations easy from TypeScript
MIT License
87 stars 28 forks source link

Custom timestamp format for files generated by command "new" #97

Closed Mifrill closed 5 months ago

Mifrill commented 1 year ago

Just thinking out loud: since this package is based on migrate-mongo (https://github.com/seppevs/migrate-mongo/) I think it's nice to have transition plan to how to switch from migrate-mongo JS to mongo-migrate-ts.

Anyway, for this particular case, during that switch (from migrate-mongo JS to mongo-migrate-ts) I faced the issue of different format of files:

image

So this is enhancement suggestion: unify format for file naming OR add the config option (migrations.json) to use specific time format.

📓 The difference of timestamps:

mycodeself commented 5 months ago

:tada: This issue has been resolved in version 1.6.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: