phinx.yml 761 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
paths:
    migrations: %%PHINX_CONFIG_DIR%%/db/migrations
    seeds: %%PHINX_CONFIG_DIR%%/db/seeds

environments:
    default_migration_table: phinxlog
    default_database: development
    production:
        adapter: mysql
        host: %%PHINX_HOST%%
        name: %%PHINX_DATABASE%%
        user: %%PHINX_USER%%
        pass: %%PHINX_PASS%%
        port: %%PHINX_PORT%%
        charset: utf8

    development:
        adapter: mysql
        host: localhost
20
        name: don
21 22 23 24 25 26 27 28 29 30 31 32 33
        user: soutien
        pass: 'soutien'
        port: 3306
        charset: utf8

    testing:
        adapter: mysql
        host: localhost
        name: testing_db
        user: %%PHINX_TEST_USER%%
        pass: %%PHINX_TEST_PASS%%
        port: 3306
        charset: utf8