@@ -82,15 +82,15 @@ You can also use the ``%%PHINX_CONFIG_DIR%%`` token in your path.
82
82
.. code-block :: yaml
83
83
84
84
paths :
85
- migrations : %%PHINX_CONFIG_DIR%%/your/relative/path
85
+ migrations : ' %%PHINX_CONFIG_DIR%%/your/relative/path'
86
86
87
87
Migrations are captured with ``glob ``, so you can define a pattern for multiple
88
88
directories.
89
89
90
90
.. code-block :: yaml
91
91
92
92
paths :
93
- migrations : %%PHINX_CONFIG_DIR%%/module/*/{data,scripts}/migrations
93
+ migrations : ' %%PHINX_CONFIG_DIR%%/module/*/{data,scripts}/migrations'
94
94
95
95
Custom Migration Base
96
96
---------------------
@@ -137,7 +137,7 @@ You can also use the ``%%PHINX_CONFIG_DIR%%`` token in your path.
137
137
.. code-block :: yaml
138
138
139
139
paths :
140
- seeds : %%PHINX_CONFIG_DIR%%/your/relative/path
140
+ seeds : ' %%PHINX_CONFIG_DIR%%/your/relative/path'
141
141
142
142
Environments
143
143
------------
@@ -219,7 +219,7 @@ External Variables
219
219
Phinx will automatically grab any environment variable prefixed with ``PHINX_ ``
220
220
and make it available as a token in the config file. The token will have
221
221
exactly the same name as the variable but you must access it by wrapping two
222
- ``%% `` symbols on either side. e.g: ``%%PHINX_DBUSER%% ``. This is especially
222
+ ``%% `` symbols on either side. e.g: ``' %%PHINX_DBUSER%%' ``. This is especially
223
223
useful if you wish to store your secret database credentials directly on the
224
224
server and not in a version control system. This feature can be easily
225
225
demonstrated by the following example:
@@ -231,10 +231,10 @@ demonstrated by the following example:
231
231
default_database : development
232
232
production :
233
233
adapter : mysql
234
- host : %%PHINX_DBHOST%%
235
- name : %%PHINX_DBNAME%%
236
- user : %%PHINX_DBUSER%%
237
- pass : %%PHINX_DBPASS%%
234
+ host : ' %%PHINX_DBHOST%%'
235
+ name : ' %%PHINX_DBNAME%%'
236
+ user : ' %%PHINX_DBUSER%%'
237
+ pass : ' %%PHINX_DBPASS%%'
238
238
port : 3306
239
239
charset : utf8
240
240
0 commit comments