Skip to content

Commit

Permalink
Fix reference to MysqlAdapter::FIRST constant in migrations doc (#2143)
Browse files Browse the repository at this point in the history
  • Loading branch information
niekatywny committed Dec 1, 2022
1 parent 22f0c40 commit da741d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/migrations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1195,8 +1195,8 @@ where its value is the name of the column to position it after.
}
}
This would create the new column ``city`` and position it after the ``email`` column. You
can use the `\Phinx\Db\Adapter\MysqlAdapter\FIRST` constant to specify that the new column should
This would create the new column ``city`` and position it after the ``email`` column. The
``\Phinx\Db\Adapter\MysqlAdapter::FIRST`` constant can be used to specify that the new column should be
created as the first column in that table.

Dropping a Column
Expand Down

0 comments on commit da741d1

Please sign in to comment.