mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Same on downgrade (just to make sure)
This commit is contained in:
@@ -174,6 +174,7 @@ class Migration_rename_satellites extends CI_Migration {
|
||||
$this->add_ix('TMP_HRD_IDX_COL_SAT_NAME','`COL_SAT_NAME`');
|
||||
if ($this->db->table_exists('satellite')) {
|
||||
|
||||
if ($this->db->field_exists('displayname', 'satellite')) {
|
||||
$fields = array(
|
||||
'displayname' => array(
|
||||
'name' => 'exportname',
|
||||
@@ -181,6 +182,7 @@ class Migration_rename_satellites extends CI_Migration {
|
||||
'constraint' => 255,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
$this->dbforge->modify_column('satellite', $fields);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user