mix ex_dav.gen.migration (ExDav v0.4.8)

Copy Markdown View Source

Generates Ecto migration files for ExDav schema changes.

Usage

mix ex_dav.gen.migration upgrade_to_0_4_0

Available migrations

  • upgrade_to_0_4_0 — rename tables from caldav_* to dav_*, add kind and properties to collections, rename icalbody on resources, add content_type to resources.

The migration is written to priv/repo/migrations/ in the current Mix project (i.e. the consumer's app, not ex_dav itself).