迁移本身在开发的MariaDB和使用Sqlite3存储引擎的MariaDB服务器上都可以很好地工作。为了支持外键约束,我们在实时MariaDB 10服务器中使用InnoDB (这里: XtraDB)存储引擎。
Mysql2::Error: Table storage engine'InnoDB' does not su
当我运行迁移时,我得到这个错误: Syntax error or access violation: 1118 Row size too large.The maximum row size for the used table type, not counting BLOBs, is 65535.) { $table->string('nume')