Cloudlog/application/migrations/053_gridsquare_index.php

17 wiersze
352 B
PHP
Czysty Zwykły widok Historia

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