init
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"paths": {
|
||||
"migrations": "%%PHINX_CONFIG_DIR%%/db/migrations",
|
||||
"seeds": "%%PHINX_CONFIG_DIR%%/db/seeds"
|
||||
},
|
||||
"environments": {
|
||||
"default_migration_table": "phinxlog",
|
||||
"default_environment": "development",
|
||||
"production": {
|
||||
"adapter": "mysql",
|
||||
"host": "localhost",
|
||||
"name": "production_db",
|
||||
"user": "root",
|
||||
"pass": "",
|
||||
"port": 3306,
|
||||
"charset": "utf8"
|
||||
},
|
||||
"development": {
|
||||
"adapter": "mysql",
|
||||
"host": "localhost",
|
||||
"name": "development_db",
|
||||
"user": "root",
|
||||
"pass": "",
|
||||
"port": 3306,
|
||||
"charset": "utf8"
|
||||
},
|
||||
"testing": {
|
||||
"adapter": "mysql",
|
||||
"host": "localhost",
|
||||
"name": "testing_db",
|
||||
"user": "root",
|
||||
"pass": "",
|
||||
"port": 3306,
|
||||
"charset": "utf8"
|
||||
}
|
||||
},
|
||||
"version_order": "creation"
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
return
|
||||
[
|
||||
'paths' => [
|
||||
'migrations' => '%%PHINX_CONFIG_DIR%%/db/migrations',
|
||||
'seeds' => '%%PHINX_CONFIG_DIR%%/db/seeds'
|
||||
],
|
||||
'environments' => [
|
||||
'default_migration_table' => 'phinxlog',
|
||||
'default_environment' => 'development',
|
||||
'production' => [
|
||||
'adapter' => 'mysql',
|
||||
'host' => 'localhost',
|
||||
'name' => 'production_db',
|
||||
'user' => 'root',
|
||||
'pass' => '',
|
||||
'port' => '3306',
|
||||
'charset' => 'utf8',
|
||||
],
|
||||
'development' => [
|
||||
'adapter' => 'mysql',
|
||||
'host' => 'localhost',
|
||||
'name' => 'development_db',
|
||||
'user' => 'root',
|
||||
'pass' => '',
|
||||
'port' => '3306',
|
||||
'charset' => 'utf8',
|
||||
],
|
||||
'testing' => [
|
||||
'adapter' => 'mysql',
|
||||
'host' => 'localhost',
|
||||
'name' => 'testing_db',
|
||||
'user' => 'root',
|
||||
'pass' => '',
|
||||
'port' => '3306',
|
||||
'charset' => 'utf8',
|
||||
]
|
||||
],
|
||||
'version_order' => 'creation'
|
||||
];
|
||||
@@ -0,0 +1,35 @@
|
||||
paths:
|
||||
migrations: '%%PHINX_CONFIG_DIR%%/db/migrations'
|
||||
seeds: '%%PHINX_CONFIG_DIR%%/db/seeds'
|
||||
|
||||
environments:
|
||||
default_migration_table: phinxlog
|
||||
default_environment: development
|
||||
production:
|
||||
adapter: mysql
|
||||
host: localhost
|
||||
name: production_db
|
||||
user: root
|
||||
pass: ''
|
||||
port: 3306
|
||||
charset: utf8
|
||||
|
||||
development:
|
||||
adapter: mysql
|
||||
host: localhost
|
||||
name: development_db
|
||||
user: root
|
||||
pass: ''
|
||||
port: 3306
|
||||
charset: utf8
|
||||
|
||||
testing:
|
||||
adapter: mysql
|
||||
host: localhost
|
||||
name: testing_db
|
||||
user: root
|
||||
pass: ''
|
||||
port: 3306
|
||||
charset: utf8
|
||||
|
||||
version_order: creation
|
||||
Reference in New Issue
Block a user