2 Star 1 Fork 0

inhere / slim-skeleton

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
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
PHP
1
https://gitee.com/inhere/slim-skeleton.git
git@gitee.com:inhere/slim-skeleton.git
inhere
slim-skeleton
slim-skeleton
master

搜索帮助

14c37bed 8189591 565d56ea 8189591