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

Json settings file #9

Open
schwarcze opened this issue Jul 2, 2018 · 4 comments
Open

Json settings file #9

schwarcze opened this issue Jul 2, 2018 · 4 comments

Comments

@schwarcze
Copy link

schwarcze commented Jul 2, 2018

Would be great to have posibilty to add parameters for new migration file. Or maybe better would be to have json settings file in project. I need different naming conventions in different projects.

@schwarcze schwarcze changed the title Add Project parameters Json settings file Jul 3, 2018
@khalidabuhakmeh
Copy link
Contributor

Can you provide examples of naming conventions?

@schwarcze
Copy link
Author

schwarcze commented Jul 13, 2018

First project: Migration files are in Migrations/DefaultDB/ directory with names like DefaultDB_yyyyMMdd_HHmmss_description.cs
Second project: Migration files are in Migrations/Migrations/ directory with names like DB_yyyyMMdd_HHmm_description.cs

I know that I can change projects and move files to Migrations directory like fluent-migrator generator uses.

Now I see that here in gitlab is newer version than in nuget.org. This version has more useful parameters in command line. Can you please publish new version to nuget.org? Anyway some .json settings file per project would be useful instead of typing constants to command line for each new migration.

@khalidabuhakmeh
Copy link
Contributor

I can try to get to this next week. /cc @kendaleiv can probably hook this up to our CI/CD pipeline.

@kendaleiv
Copy link
Contributor

kendaleiv commented Jul 16, 2018

CI/CD added in #10.

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

No branches or pull requests

3 participants