mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 17:52:16 +00:00
Merge pull request #2841 from int2001/mig_fix_compatbility
Fix SQL so it is compatible with old mysql-versions
This commit is contained in:
commit
29236fabb2
@ -15,7 +15,7 @@ class Migration_award_submitted_typo extends CI_Migration {
|
||||
$this->db->query(
|
||||
'ALTER TABLE ' .
|
||||
$this->db->escape_identifiers($this->config->item('table_name')) .
|
||||
' RENAME COLUMN COL_AWARD_SUMMITED TO COL_AWARD_SUBMITTED'
|
||||
' CHANGE COL_AWARD_SUMMITED COL_AWARD_SUBMITTED VARCHAR(255)'
|
||||
);
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ class Migration_award_submitted_typo extends CI_Migration {
|
||||
$this->db->query(
|
||||
'ALTER TABLE ' .
|
||||
$this->db->escape_identifiers($this->config->item('table_name')) .
|
||||
' RENAME COLUMN COL_AWARD_SUBMITTED TO COL_AWARD_SUMMITED'
|
||||
' CHANGE COL_AWARD_SUBMITTED COL_AWARD_SUMMITED VARCHAR(255)'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user