We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
addCommentOnTable()
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLite does not support addCommentOnTable() and addCommentOnColumn() but supports comments in CREATE TABLE query
addCommentOnColumn()
CREATE TABLE
CREATE TABLE `table_name` -- table comment ( id INTEGER, -- field comment );
The follow command throws an Exception in SQLite
Exception
./yii migrate:create post --command=table --fields='name:string(50):comment("Student Name")'
Due to column comment is initialized separately
db-migration/src/MigrationBuilder.php
Lines 199 to 209 in 44f9ac4
The same for the follow command
./yii migrate:create post --command=table --table-comment='Posts of blog'
db-migration/resources/views/createTableMigration.php
Lines 42 to 53 in 940d988
The text was updated successfully, but these errors were encountered:
ColumnInterface
No branches or pull requests
SQLite does not support
addCommentOnTable()
andaddCommentOnColumn()
but supports comments inCREATE TABLE
queryThe follow command throws an
Exception
in SQLite./yii migrate:create post --command=table --fields='name:string(50):comment("Student Name")'
Due to column comment is initialized separately
db-migration/src/MigrationBuilder.php
Lines 199 to 209 in 44f9ac4
The same for the follow command
./yii migrate:create post --command=table --table-comment='Posts of blog'
db-migration/resources/views/createTableMigration.php
Lines 42 to 53 in 940d988
The text was updated successfully, but these errors were encountered: