mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 13:58:24 +08:00
Merge pull request #3304 from Ragazzo/migration_command_docs_added
migration docs adjusted
This commit is contained in:
@@ -109,6 +109,10 @@ See documentation of [[yii\db\QueryBuilder::getColumnType()]] for more details a
|
|||||||
of available types. You may also use the constants defined in [[yii\db\Schema]] to
|
of available types. You may also use the constants defined in [[yii\db\Schema]] to
|
||||||
define column types.
|
define column types.
|
||||||
|
|
||||||
|
> Note: You can add constraints and other custom table options at the end of the table description by
|
||||||
|
> specifying them as simple string. For example in the above migration, after `content` attribute definition
|
||||||
|
> you can write `'CONSTRAINT ...'` or other custom options.
|
||||||
|
|
||||||
|
|
||||||
Transactional Migrations
|
Transactional Migrations
|
||||||
------------------------
|
------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user