ImportSchema

ImportSchema provides a mix task that generates models from existing database schema.

$ mix import_schema

This task has only been tested with Postgres and does not come with any guarantee of completeness or accuracy. ImportSchema is intended to help bootstrap the process of replatforming webapps into Elixir applications. It uses opinionated defaults that have worked for projects I've worked on. Pull requests to expand the functionality are welcome.

Options

Features

Installation

The package can be installed by adding import_schema to your list of dependencies in mix.exs:

def deps do
  [
    {:import_schema, "~> 0.1.0"}
  ]
end