Generates the migration for Coelho.Attachment.
mix coelho.gen.migrationRich text fields themselves need no generator: rich_text :body stores its
document inline, so the column is an ordinary add :body, :map in whatever
migration already creates the table. Only attachments need a table of their
own.
Options
--path— where to write,priv/repo/migrationsby default