EctoSouth
TODO: South brings ecto migrations to phoenix applications
Installation
If available in Hex, the package can be installed
by adding ecto_south to your list of dependencies in mix.exs:
def deps do
[{:ecto_south, "~> 0.1.4"}]
endor
def deps do
[{:ecto_south, github: "360ekh/ecto_south"}]
endAdd :ecto_south to your mix application
applications: [:ecto_south]]Add model config to your project config.exs
config :ecto_south, :mods,
[Simple.Weather] #your project model moduleRun cmd
mix southecto_south will check your model chenges and atuo create migrations File on your project. (./priv/repo/migrations)