-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or requestmigrateMigrate module relatedMigrate module relatedseedSeed module relatedSeed module related
Description
I have seen in other migration cli's the use of stubs which are really nice.
I am thinking a command like
npx kysely migrate:stub {stub_name} {migration_name}
Would need to add a stubsFolder option under migrations option in the config file
Then I could have a folder called whatever I want with file names like: my_stub_file.stub
. This file would be just like your template file in your src->templates folder.
When the migration is created it will use the stub file as the template, name the file as it does now and use the correct extension.
igalklebanov
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestmigrateMigrate module relatedMigrate module relatedseedSeed module relatedSeed module related