Search code examples
mysqlmysql-workbench

MySQL Workbench doesn't show columns when I alter the table


I have the table "giorno",I want to alter it but no columns are showed and I can't even add a new column because the existing columns are not shown either, se the screenshot below:

enter image description here

I also tried to create a new table but it appears the same bug. So I can't add new columns.

How is it possible? Maybe I made a mistake with my settings?


Solution

  • I found the solution. I have 3 tables and any of them has a primary key. I just changed one key from Primary to Index and now everything is working.