View Source ExDbmigrate
Generate phoenix schemas, html, json and live from existing database
installation
Installation
- install elixir "https://elixir-lang.org/install.html"
- install phoenix "https://hexdocs.pm/phoenix/installation.html"
mix archive.install hex phx_new
mix phx.new app_name
cd app_name
If available in Hex, the package can be installed
by adding ex_dbmigrate
to your list of dependencies in mix.exs
:
def deps do
[
{:ex_dbmigrate, ">= 0.0.0"}
]
end
usage
Usage:
mix ExDbmigrate.Gen.Migration
mix ExDbmigrate.Gen.Relation
mix ExDbmigrate.Gen.Schema
mix ExDbmigrate.Gen.Html
mix ExDbmigrate.Gen.Json
mix ExDbmigrate.Gen.Live
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ex_dbmigrate.