mix masu.gen.views (Masu v0.1.0)

Copy Markdown View Source

Writes the migration of the table where Masu.Views.Ecto keeps people's views of grids.

$ mix masu.gen.views
$ mix masu.gen.views --table grid_views --migrations-path priv/other_repo/migrations

Then run mix ecto.migrate.

Options

  • --table - the table's name, masu_views unless given (pass the same table to use Masu.Views.Ecto).
  • --migrations-path - where to write it, priv/repo/migrations unless given.