Skip to main content

hydra migrate gen

hydra migrate gen

Generate migration files from migration templates

hydra migrate gen </source/path> </target/path> [flags]

Options

      --dialects strings   Expect migrations for these dialects and no others to be either explicitly defined, or to have a generic fallback. "" disables dialect validation. (default [sqlite,cockroach,mysql,postgres])
-h, --help help for gen

Options inherited from parent commands

  -c, --config strings   Path to one or more .json, .yaml, .yml, .toml config files. Values are loaded in the order provided, meaning that the last config file overwrites values from the previous config file.

SEE ALSO