Update 100_update_cat_table.php

这个提交包含在:
Peter Goodhall 2022-09-30 15:58:11 +01:00
父节点 d946d23fa2
当前提交 2c76f7ea8f

查看文件

@ -18,7 +18,6 @@ class Migration_update_cat_table extends CI_Migration {
$this->dbforge->drop_column('cat', 'uplink_mode'); $this->dbforge->drop_column('cat', 'uplink_mode');
} }
if ($this->db->field_exists('downlink_freq', 'cat')) { if ($this->db->field_exists('downlink_freq', 'cat')) {
$this->db->query("ALTER TABLE cat CHANGE COLUMN downlink_freq TO frequency_rx");
$fields = array( $fields = array(
'downlink_freq' => array( 'downlink_freq' => array(
'name' => 'frequency_rx', 'name' => 'frequency_rx',