mix aurora_meter. gen. migration
(Aurora Meter v0.3.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 2which generates a migration running only versions 2..latest.