Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.48 KB

README.md

File metadata and controls

46 lines (36 loc) · 1.48 KB

ExDbmigrate

Hex Docs Hex.pm License Last Updated Build Status

Generate phoenix schemas, html, json and live from existing database

Installation

 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:

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.