Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
bf28d829
Commit
bf28d829
authored
Apr 30, 2014
by
Mark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
note in migration docs about additional custom options
parent
5b6e79dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
db-migrations.md
docs/guide/db-migrations.md
+4
-0
No files found.
docs/guide/db-migrations.md
View file @
bf28d829
...
@@ -109,6 +109,10 @@ See documentation of [[yii\db\QueryBuilder::getColumnType()]] for more details a
...
@@ -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
------------------------
------------------------
...
...
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