Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom migration template file #9496

Open
anhcao142 opened this issue Oct 27, 2022 · 1 comment
Open

Support custom migration template file #9496

anhcao142 opened this issue Oct 27, 2022 · 1 comment

Comments

@anhcao142
Copy link

Feature Description

Hi, I would like to propose an option to include a custom migration template path in CLI or configuration file to support custom migration template.

The Problem

The default template doesn't align with my current project linter so I have to update the file format every time I create a new migration. Updating it doesn't require much effort but an option to provide my own template would make my workflow smoothly

The Solution

An optional path or config to a custom template file

Considered Alternatives

No workaround at the moment

Additional Context

Relevant Database Driver(s)

DB Type Relevant
aurora-mysql no
aurora-postgres no
better-sqlite3 no
cockroachdb no
cordova no
expo no
mongodb no
mysql no
nativescript no
oracle no
postgres no
react-native no
sap no
spanner no
sqlite no
sqlite-abstract no
sqljs no
sqlserver no

Are you willing to resolve this issue by submitting a Pull Request?

  • ✖️ Yes, I have the time, and I know how to start.
  • ✖️ Yes, I have the time, but I don't know how to start. I would need guidance.
  • ✖️ No, I don’t have the time, but I can support (using donations) development.
  • ✅ No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.
@ruscon
Copy link
Contributor

ruscon commented Sep 6, 2023

I am also interested in this feature, I can help implement it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants