Skip to content

schematic migrations:generate

andrefigueira edited this page Nov 21, 2014 · 2 revisions

To generate a new schema file you will use:

      schematic migrations:generate

The generate command will take a sample file and create a new one from it.

The parameters are:

  • dir

The directory which is the root for the project you're using it for.

  • name

The name of the file you want to create

  • type

The file type you want to use, either YAML or JSON