codeigniter dbforge add index
snippet in sql

codeigniter dbforge add index

user4209

$sql = "CREATE INDEX your_index_name ON table_name(field_name)";
$this->db->query($sql);