Cloudlog/application/migrations/053_gridsquare_index.php
2020-10-29 14:52:34 +00:00

17 lines
352 B
PHP

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Migration_gridsquare_index extends CI_Migration {
public function up()
{
$sql = "ALTER TABLE ".$this->config->item('table_name')." ADD INDEX `gridsquares` (`COL_GRIDSQUARE`);";
$this->db->query($sql);
}
public function down()
{
}
}