Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5054

Is there any way to set the format for the timestamp in the file name of the generated migration using sequelize cli?

$
0
0

We have a problem with naming the migration files. Our team used to create and name the migration files manually, but now we want to do it with the sequelize cli. But we have encountered a problem related to the timestamp format generated by sequelize.

Our format: YYMMDD_file_name.js

Sequelize cli: YYYYMMDDHHmmss_file_name.js

This creates a problem with the order of migrations.

Is there any way to change the format of the timestamp in the generated migrations?


Viewing all articles
Browse latest Browse all 5054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>