7

Rails2Elixir - rails g migration something_to_change

 3 years ago
source link: https://fuzzyblog.io/blog/rails2elixir/2016/09/06/rails2elixir-rails-g-migration-something-to-change.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Rails2Elixir - rails g migration something_to_change

Sep 6, 2016

In the Rails world, rails g migration something_to_change means db:migrate stands for "migrate the database and execute the latest migrations". In the Elixir world the mix command fills the role that the rake and rails executables used to. The equivalent in the Elixir world is:

mix ecto.gen.migration something_to_change

Posted In: #rails2elixir #elixir


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK