mix attr_engine.gen.migration (attr_engine v0.2.2)

Copy Markdown View Source

Generates Ecto migrations for AttrEngine tables.

Usage

mix attr_engine.gen.migration

Options

--prefix PREFIX   Table name prefix (e.g. "cms_" or "ac_")
--repo REPO       Target Ecto repo module

Creates migrations for:

  • attributes
  • attribute_sets
  • attribute_set_attributes (join table)
  • attribute_set_data
  • block_types
  • blocks
  • block_trees
  • attribute_set_trees (DAG)
  • attribute_set_type_associations