Open Kuzzy opened 3 years ago
Extend config to make possible to tune DB records for passed migrations more flexible:
nameField
dateField
namePrefix
nameWithoutExtension
up
It is necessary to make possible migration from other similar packages, in my case from db-migrate.
npm test
I've included this PR in https://github.com/theogravity/migrate-mongo-alt
Extend config to make possible to tune DB records for passed migrations more flexible:
nameField
property to customize name of record key where migration name storeddateField
property to customize name of record key where migration date storednamePrefix
andnameWithoutExtension
properties to make possible to customize migration nameup
methodIt is necessary to make possible migration from other similar packages, in my case from db-migrate.
Checklist
npm test
passes and has 100% coverage