mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 17:52:16 +00:00
31 lines
871 B
PHP
31 lines
871 B
PHP
<?php
|
|
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
/**
|
|
* Class Migration_award_submitted_typo
|
|
*
|
|
* Fix typo in COL_AWARD_SUMMITED column
|
|
*/
|
|
|
|
class Migration_award_submitted_typo extends CI_Migration {
|
|
|
|
public function up()
|
|
{
|
|
$this->db->query(
|
|
'ALTER TABLE ' .
|
|
$this->db->escape_identifiers($this->config->item('table_name')) .
|
|
' CHANGE COL_AWARD_SUMMITED COL_AWARD_SUBMITTED VARCHAR(255)'
|
|
);
|
|
}
|
|
|
|
public function down()
|
|
{
|
|
$this->db->query(
|
|
'ALTER TABLE ' .
|
|
$this->db->escape_identifiers($this->config->item('table_name')) .
|
|
' CHANGE COL_AWARD_SUBMITTED COL_AWARD_SUMMITED VARCHAR(255)'
|
|
);
|
|
}
|
|
}
|