在我的迁移的down()函数中,我有下面一行代码:在这里,我尝试将列类型'number'从字符串(750个字符)更改为整数SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax
当我试图将列更改为其他值我当前使用的
每次显示这个错误
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update
UPDATE tbl_delete SET delete='60' WHERE tablename='somereports'更新tbl_delete集delete='60‘其中tablename='somereports’
您的SQL语法有错误;检查与您的MySQL服务器版本对应的手册,以获得在第1行tablename=‘somereports’附近使用的</em