Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Current syntax for altering the column comment is highly error prone, since you need to re-declare the data type.
It would be nice to have below:
ALTER TABLE 'myTable' ALTER COLUMN `myField` ADD COMMENT 'a comment' |
Instead of:
ALTER TABLE `myTable` CHANGE `myField` `myField` varchar(20) NOT NULL COMMENT 'my comment' |
Attachments
Issue Links
- relates to
-
MDEV-9168 altering a column comment does a full copy
- Closed