Database migrations written in Go. Use as CLI or import as library.
mattes/migrate is now golang-migrate/migrate
Please open issues and pull requests in the new repository.
创建数据表 第一步:创建文件 php yii migrate/create create_table_(表名) 第二步:修改safeUp文件 public function safeUp() { $tableOptions = null; if ($this->db->driverName === 'mysql') { $tableOptions = 'CH