Files
wavelog/application/migrations/067_add_index_cqz_prop.php
2024-01-18 01:00:24 +01:00

24 lines
547 B
PHP

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
* This migration adds index to COL_CQZ and COL_PROP_MODE in the QSO table.
*/
class Migration_add_index_cqz_prop extends CI_Migration {
public function up()
{
$sql = "ALTER TABLE ".$this->config->item('table_name')." ADD INDEX `HRD_IDX_COL_CQZ` (`COL_CQZ`);";
$this->db->query($sql);
$sql = "ALTER TABLE ".$this->config->item('table_name')." ADD INDEX `HRD_IDX_COL_PROP_MODE` (`COL_PROP_MODE`);";
$this->db->query($sql);
}
public function down()
{
}
}