Skip to content

Commit b2eef81

Browse files
authored
Merge pull request #2206 from SteenSchutt/patch-1
Clarify where feature flags are in configuration file with a YAML example
2 parents 97980e0 + 523bf1b commit b2eef81

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/en/configuration.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,11 @@ For some breaking changes, Phinx offers a way to opt-out of new behavior. The fo
521521
* ``unsigned_primary_keys``: Should Phinx create primary keys as unsigned integers? (default: ``true``)
522522
* ``column_null_default``: Should Phinx create columns as null by default? (default: ``true``)
523523

524+
.. code-block:: yaml
525+
526+
feature_flags:
527+
unsigned_primary_keys: false
528+
524529
These values can also be set by modifying class fields on the ```Phinx\Config\FeatureFlags``` class, converting
525530
the flag name to ``camelCase``, for example:
526531

0 commit comments

Comments
 (0)