Merge remote-tracking branch 'upstream/dev' into bs_5_fixes
这个提交包含在:
当前提交
e05cce81f4
共有 3 个文件被更改,包括 15 次插入 和 4 次删除
|
|
@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$config['migration_version'] = 158;
|
$config['migration_version'] = 159;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,10 @@ class Migration_add_qrz_down extends CI_Migration
|
||||||
public function up() {
|
public function up() {
|
||||||
if (!$this->db->field_exists('COL_QRZCOM_QSO_DOWNLOAD_STATUS', $this->config->item('table_name'))) {
|
if (!$this->db->field_exists('COL_QRZCOM_QSO_DOWNLOAD_STATUS', $this->config->item('table_name'))) {
|
||||||
$fields = array(
|
$fields = array(
|
||||||
'COL_QRZCOM_QSO_DOWNLOAD_DATE DATETIME NULL DEFAULT NULL',
|
'COLUMN COL_QRZCOM_QSO_DOWNLOAD_DATE DATETIME NULL DEFAULT NULL',
|
||||||
'COL_QRZCOM_QSO_DOWNLOAD_STATUS VARCHAR(10) DEFAULT NULL',
|
'COLUMN COL_QRZCOM_QSO_DOWNLOAD_STATUS VARCHAR(10) DEFAULT NULL',
|
||||||
);
|
);
|
||||||
$this->dbforge->add_column($this->config->item('table_name'), $fields, 'COL_VUCC_GRIDS');
|
$this->dbforge->add_column($this->config->item('table_name'), $fields);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
// Create migration that makes the submode column in the logbook table an index
|
||||||
|
class Migration_extend_default_qsl extends CI_Migration {
|
||||||
|
|
||||||
|
public function up() {
|
||||||
|
$this->db->query("ALTER TABLE `users` CHANGE COLUMN `user_default_confirmation` `user_default_confirmation` VARCHAR(4) NULL DEFAULT NULL");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
正在加载…
在新工单中引用