Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retypos-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
retypos-server
Commits
5bbd8043
Commit
5bbd8043
authored
Sep 06, 2018
by
Георгий Попов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Задача 12799] Добавил конфигурацию phinx
parent
dd3e2dfb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
phinx.php
phinx.php
+22
-0
No files found.
phinx.php
0 → 100644
View file @
5bbd8043
<?php
require
dirname
(
__FILE__
)
.
'/configuration.php'
;
return
[
'environments'
=>
[
'default_database'
=>
'typos'
,
'typos'
=>
[
'adapter'
=>
DB_DRIVER
,
'charset'
=>
'utf8'
,
'collation'
=>
'utf8_unicode_ci'
,
'host'
=>
DB_HOSTNAME
,
'name'
=>
DB_DATABASE
,
'pass'
=>
DB_PASSWORD
,
'user'
=>
DB_USERNAME
]
],
'paths'
=>
[
'migrations'
=>
'%%PHINX_CONFIG_DIR%%/db/migrations'
,
'seeds'
=>
'%%PHINX_CONFIG_DIR%%/db/seeds'
]
];
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment