View Source mix bonfire.install.copy_migrations (Bonfire v0.9.11-social-beta.6)

Summary

Functions

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

Functions

copy_all(igniter, opts)

copy_for_extensions(igniter, extensions, opts)

igniter(igniter, args)

Usage: just mix bonfire.install.copy_migrations my_extension or just mix bonfire.install.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 - only applies when not using Igniter) --from priv/repo/migrations (to change the source repo paths, relative to each extension path) --to repo/ (to change the target repo path (defaults to current flavour's migrations) relative to working directory)

simple_copy(extension_paths, dest_path, opts)