We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please answer these questions before submitting your issue. Thanks!
create table `t` (`id` int(11), `name` varchar(255), key `idx_name` (`name`)); alter table `t` drop column `name`
name column should be deleted with out any error. In MySQL:
name
mysql> alter table t drop column name; Query OK, 0 rows affected (0.06 sec) Records: 0 Duplicates: 0 Warnings: 0
mysql> alter table t drop column name; ERROR 1105 (HY000): can't drop column name with index covered now
this "feature" will break some ORM's migration scripts.
tidb-server -V
The text was updated successfully, but these errors were encountered:
Currently we does not support dropping column with index. Please refer to docs about MySQL compatibility.
Sorry, something went wrong.
Sure I know that. But the important thing is this will break some ORM's migration script. Such as django-orm.
Got that. I modified your issue title to better fit your idea.
It's duplicated with #3364
No branches or pull requests
Please answer these questions before submitting your issue. Thanks!
name
column should be deleted with out any error. In MySQL:this "feature" will break some ORM's migration scripts.
tidb-server -V
)?The text was updated successfully, but these errors were encountered: