Skip to content

Commit

Permalink
phx does not prepend context name to table names anymore (phoenixfram…
Browse files Browse the repository at this point in the history
  • Loading branch information
aesmail authored and josevalim committed Jul 21, 2017
1 parent 1213d05 commit 964635a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mix/tasks/phx.gen.html.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule Mix.Tasks.Phx.Gen.Html do
Overall, this generator will add the following files to `lib/`:
* a context module in lib/app/accounts/accounts.ex for the accounts API
* a schema in lib/app/accounts/user.ex, with an `accounts_users` table
* a schema in lib/app/accounts/user.ex, with an `users` table
* a view in lib/app_web/views/user_view.ex
* a controller in lib/app_web/controllers/user_controller.ex
* default CRUD templates in lib/app_web/templates/user
Expand Down
2 changes: 1 addition & 1 deletion lib/mix/tasks/phx.gen.json.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule Mix.Tasks.Phx.Gen.Json do
Overall, this generator will add the following files to `lib/`:
* a context module in lib/app/accounts/accounts.ex for the accounts API
* a schema in lib/app/accounts/user.ex, with an `accounts_users` table
* a schema in lib/app/accounts/user.ex, with an `users` table
* a view in lib/app_web/views/user_view.ex
* a controller in lib/app_web/controllers/user_controller.ex
Expand Down

0 comments on commit 964635a

Please sign in to comment.