Json format (schema.json)
{
"config": {
"driver": "pdo_mysql",
"host": "127.0.0.1",
"port": "3306",
"dbname": "demo",
"user": "demo",
"password": "demo",
"charset": "utf8"
},
"schemas": []
}
Yaml format (schema.yml)
config:
driver: pdo_mysql
host: 127.0.0.1
port: '3306'
dbname: demo
user: demo
password: demo
charset: utf8
schemas: ~
Create database schema.
php schema.phar create
Update database schema.
php schema.phar update --force
Dump database schema.
php schema.phar dump --format=sql