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

Adds support for templates when creating a new migration #530

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jprokay
Copy link

@jprokay jprokay commented Mar 14, 2024

Inspired by Sqitch Templates

Concerns:
I set the default directory to ~/.config/dbmate/templates similar to sqitch. Should we consider different default paths based on the OS?
There are potential issues with needing to escape characters passed in via the CLI as mentioned in the #439

@amacneil
Copy link
Owner

Have you found storing templates in your home folder useful? I would expect something like that to live in your repo.

@jprokay
Copy link
Author

jprokay commented Mar 19, 2024

@amacneil that's a great question. I do think most of my templates end up in the repo eventually. It depends on if I am working with others. The home folder can be convenient as a generic place to hold templates that I would use across different projects.

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

Successfully merging this pull request may close these issues.

None yet

3 participants