开源中国 2018 年度最后一场技术盛会邀你来约~错过就要等明年啦!点此立即预约

inhere / slim-skeletonPHPMIT

Watch 2 Star 1 Fork 0
加入码云
与超过 300 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
a custom slim framework application skeleton. 展开 收起

phinx.example.yml 1.18 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
xiajianjun 提交于 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

评论 ( 0 )

你可以在登录后,发表评论

搜索帮助