Open GoogleCodeExporter opened 8 years ago
$migrate->renameColumn($tableName,$column,$newColumn) 在MYSQL里面不能运行 $migrate->alterColumn($tableName,$column,$type) 不能修改数据库列名 建议完善renameColum,或者修改alterColumn为: $migrate->alterColumn($tableName,$column,$newName,$type)
Original issue reported on code.google.com by MaxSpeed...@gmail.com on 10 Aug 2011 at 2:42
MaxSpeed...@gmail.com
dropForeignKey也有问题: ' DROP CONSTRAINT ' . $this->quoteColumnName($name) 应该修改为:DROP FOREIGN KEY
Original comment by MaxSpeed...@gmail.com on 10 Aug 2011 at 3:07
Original issue reported on code.google.com by
MaxSpeed...@gmail.com
on 10 Aug 2011 at 2:42