mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Extend SIG-Cols in Database
This commit is contained in:
@@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
||||
|
|
||||
*/
|
||||
|
||||
$config['migration_version'] = 226;
|
||||
$config['migration_version'] = 227;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
16
application/migrations/227_extend_sig_info.php
Normal file
16
application/migrations/227_extend_sig_info.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
class Migration_extend_sig_info extends CI_Migration
|
||||
{
|
||||
|
||||
public function up() {
|
||||
$this->db->query("ALTER TABLE ".$this->config->item('table_name')." CHANGE COLUMN COL_SIG_INFO COL_SIG_INFO VARCHAR(128) NULL DEFAULT NULL");
|
||||
$this->db->query("ALTER TABLE ".$this->config->item('table_name')." CHANGE COLUMN COL_MY_SIG_INFO COL_MY_SIG_INFO VARCHAR(128) NULL DEFAULT NULL");
|
||||
$this->db->query("ALTER TABLE ".$this->config->item('table_name')." CHANGE COLUMN COL_MY_SIG COL_MY_SIG VARCHAR(64) NULL DEFAULT NULL");
|
||||
$this->db->query("ALTER TABLE station_profile CHANGE COLUMN station_sig_info station_sig_info vARCHAR(128) NULL DEFAULT NULL");
|
||||
$this->db->query("ALTER TABLE station_profile CHANGE COLUMN station_sig station_sig vARCHAR(64) NULL DEFAULT NULL");
|
||||
}
|
||||
|
||||
public function down() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user