mix framework.gen.migrations (Framework v0.5.0)
View SourceGenerates Framework migrations with version stamps and drift guards.
Replaces manual copying from deps/framework/priv/repo/migrations/ with automated generation that:
- Stamps framework versions
- Guards against drift with checksums
- Provides upgrade paths between versions
Examples
mix framework.gen.migrations
mix framework.gen.migrations --version 0.1.3
mix framework.gen.migrations --forceOptions
--version- Target framework version (defaults to current)--force- Overwrite existing migrations--dry-run- Show what would be generated without writing files
Summary
Functions
Callback implementation for Mix.Task.run/1.
Functions
Callback implementation for Mix.Task.run/1.