removed down for small db adjustments

This commit is contained in:
github-actions
2024-08-06 03:02:57 +02:00
parent 016470b543
commit 9b5e7421c0
2 changed files with 0 additions and 7 deletions

View File

@@ -35,8 +35,5 @@ class Migration_tag_1_7 extends CI_Migration {
{
$this->db->where('option_name', 'version');
$this->db->update('options', array('option_value' => '1.6.1'));
// Revert the DB adjustment
$this->db->query("ALTER TABLE ".$this->config->item('table_name')." MODIFY COLUMN `COL_QTH` VARCHAR(64) DEFAULT NULL;");
}
}

View File

@@ -36,9 +36,5 @@ class Migration_tag_1_8_1 extends CI_Migration {
{
$this->db->where('option_name', 'version');
$this->db->update('options', array('option_value' => '1.8'));
// Revert the DB adjustment
$this->db->query("ALTER TABLE ".$this->config->item('table_name')." MODIFY COLUMN `COL_POTA_REF` VARCHAR(30) DEFAULT NULL;");
$this->db->query("ALTER TABLE ".$this->config->item('table_name')." MODIFY COLUMN `COL_MY_POTA_REF` VARCHAR(50) DEFAULT NULL;");
}
}