EF6+MySql数据库迁移报错:Incorrect usage of spatial/fulltext/hash index and explicit index order
遇到问题在EF框架做数据库迁移MySQL时出现了创建索引报错,可以生成迁移脚本并连接到数据库,但它不喜欢在创建索引时生成的SQL特别是“hash”。实例:CREATE index `IX_Facility_ID` on `Contact.Address` (`Facility_ID` DESC) using HASH错误:MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect usage of spatial/fu
转载
2020-09-21 17:24:36 ·
682 阅读 ·
0 评论