View Source mix bonfire.extension.copy_migrations (Bonfire v0.9.10-classic-beta.156)

Summary

Functions

Usage: just mix bonfire.extension.copy_migrations my_extension or just mix bonfire.extension.copy_migrations

Functions

Link to this function

copy(extension_paths, dest_path, opts)

View Source
Link to this function

maybe_copy(extensions \\ nil, opts)

View Source

Usage: just mix bonfire.extension.copy_migrations my_extension or just mix bonfire.extension.copy_migrations

NOTE: if you don't specify what extension(s) to include, it will automatically include all extensions which:

  • start with bonfire_
  • and are included in the top-level app (not dependencies of dependencies)

Optional args:

--force (to not ask for confirmation before copying, or to overwrite existing migration files) --from priv/repo/migrations (to change the source repo paths, relative to each extension path) --to priv/repo/migrations (to change the target repo path (defaults to current flavour's migrations) relative to working directory) --repo MyRepo (to specify what repo to migrate after)