-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow --repo option & --migration-dir for phx.gen.schema (#4905)
* Allow --repo option for phx.gen.schema * Add tests for the repo and migration-dir options in schema generator The `repo` and `migration-dir` options change the location of the migrations directory, either to the specified directory or one that matches the repo name (underscored). The default is explicitly set to "repo" if neither option is set, to ensure backwards compatability even if the repo has a different name than the typical `MyApp.Repo`. --------- Co-authored-by: Gary Rennie <gazler@gmail.com>
- Loading branch information
Showing
2 changed files
with
76 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters