Adding foreign key to existing table gives error 1050 table already exists

后端 未结 9 1087
栀梦
栀梦 2021-01-07 18:11

I\'ve a table CustomizationSet with the columns:

customization_set_guid (which is a non-nullable guid and also the primary key)
creator_account_guid
and a fe         


        
9条回答
  •  一生所求
    2021-01-07 18:50

    • Check the Storage Engine type for CustomizationSet table.

    I had a same issue but i could solve it by changing engine type to InnoDB , because few types don't support foreign key constraints.

提交回复
热议问题