10月20日,北京【人工智能】源创会火热报名中,点击报名收获 AI 训练指南
Watch Star Fork

inhere / slim-skeletonPHPMIT

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
a custom slim framework application skeleton.
Copy Edit Web IDE Raw Blame History
phinx.example.yml 1.18 KB
xiajianjun authored 2016-05-06 11:15 . init project structure
# %%PHINX_CONFIG_DIR%% is a special token and is automatically replaced with the root directory where your phinx.yml file is stored.
paths:
# migrations: %%PHINX_CONFIG_DIR%%/your/relative/path
migrations: /your/full/path
seeds: %%PHINX_CONFIG_DIR%%/db/seeds
# By default all migrations will extend from Phinx’s 'AbstractMigration' class.
# migration_base_class: MyMagicalMigration
# environments:
# default_migration_table: phinxlog
# default_database: development
# production:
# adapter: mysql
# host: localhost
# name: production_db
# user: root
# pass: ''
# port: 3306
# charset: utf8
# collation: utf8_unicode_ci
# table_prefix: pdt_
# table_suffix: _v2
# testing:
# ....
# table_prefix: test_
# table_suffix: _v2
environments:
default_migration_table: phinxlog
default_database: development
production:
adapter: sqlite
name: ./resources/data/sqlites/mder.db3
table_prefix: pdt_
development:
adapter: sqlite
name: ./resources/data/sqlites/mder.db3
testing:
adapter: sqlite
memory: true

Comment ( 0 )

You need to Sign in for post a comment

Help Search