View Source mix rolex.install (Rolex v0.4.1)
Generates a migration to create a permissions table.
Examples
$ mix rolex.install
$ mix rolex.install --binary-ids --table "custom_table_name"
Command line options
--binary-ids
- define id fields with:binary_id
instead of:id
--table
- permissions table name, defaults topermissions
Other options, if any, are passed directly through to the underlying
ecto.gen.migration
task used to actually generate the migration.