Revert "add doc for column comment"
This commit is contained in:
parent
d6019c1e36
commit
09cd6e59ac
|
@ -91,15 +91,12 @@ ALTER TABLE [db_name.]tb_name alter_table_clause
|
||||||
|
|
||||||
alter_table_clause: {
|
alter_table_clause: {
|
||||||
alter_table_options
|
alter_table_options
|
||||||
| ADD COLUMN col_name column_definition
|
| ADD COLUMN col_name column_type
|
||||||
| DROP COLUMN col_name
|
| DROP COLUMN col_name
|
||||||
| MODIFY COLUMN col_name column_definition
|
| MODIFY COLUMN col_name column_type
|
||||||
| RENAME COLUMN old_col_name new_col_name
|
| RENAME COLUMN old_col_name new_col_name
|
||||||
}
|
}
|
||||||
|
|
||||||
column_definition:
|
|
||||||
type_name [comment 'string_value']
|
|
||||||
|
|
||||||
alter_table_options:
|
alter_table_options:
|
||||||
alter_table_option ...
|
alter_table_option ...
|
||||||
|
|
||||||
|
|
|
@ -23,10 +23,7 @@ create_subtable_clause: {
|
||||||
}
|
}
|
||||||
|
|
||||||
create_definition:
|
create_definition:
|
||||||
col_name column_definition
|
col_name column_type
|
||||||
|
|
||||||
column_definition:
|
|
||||||
type_name [comment 'string_value']
|
|
||||||
|
|
||||||
table_options:
|
table_options:
|
||||||
table_option ...
|
table_option ...
|
||||||
|
@ -92,15 +89,12 @@ ALTER TABLE [db_name.]tb_name alter_table_clause
|
||||||
|
|
||||||
alter_table_clause: {
|
alter_table_clause: {
|
||||||
alter_table_options
|
alter_table_options
|
||||||
| ADD COLUMN col_name column_definition
|
| ADD COLUMN col_name column_type
|
||||||
| DROP COLUMN col_name
|
| DROP COLUMN col_name
|
||||||
| MODIFY COLUMN col_name column_definition
|
| MODIFY COLUMN col_name column_type
|
||||||
| RENAME COLUMN old_col_name new_col_name
|
| RENAME COLUMN old_col_name new_col_name
|
||||||
}
|
}
|
||||||
|
|
||||||
column_definition:
|
|
||||||
type_name [comment 'string_value']
|
|
||||||
|
|
||||||
alter_table_options:
|
alter_table_options:
|
||||||
alter_table_option ...
|
alter_table_option ...
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue