mix aurora_meter. gen. migration
(Aurora Meter v0.4.0)
View Source
Generates a migration that installs the Aurora Meter tables into the host app.
mix aurora_meter.gen.migration -r MyApp.RepoThe generated migration delegates to AuroraMeter.Migration, so future schema
changes ship as new versions of that module rather than as edits to your
migration file. To upgrade an existing install to a newer schema version:
mix aurora_meter.gen.migration -r MyApp.Repo --from 3which generates a migration running only versions 3..latest (version 3 adds
the prepaid credit ledger tables; --from 2 on an 0.1 install also adds the
usage history table). See AuroraMeter.Migration for the version list.