Dump command

php vendor/bin/phoenix dump [-d|--data] [--ignore-tables IGNORE-TABLES] [--ignore-data-tables IGNORE-DATA-TABLES] [-i|--indent INDENT] [-e|--environment ENVIRONMENT] [-c|--config CONFIG] [-t|--config_type CONFIG_TYPE] [-f|--output-format OUTPUT-FORMAT]

Creates new migration file from actual database structure. If you don't use Phoenix yet and you have some tables in your database, this command helps you to start using Phoenix easier. If you want to start using Phoenix when database already exists, it is recommended to add additional check for each table:

if ($this->tableExists('table_name')) {
    $this->table('table_name')
        -> ...
        ->create();
}

Options:

All other options are common and they are described here.