Set default value in case DXCC id is missing
这个提交包含在:
父节点
607a3a72d9
当前提交
dde42136ee
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -6,7 +6,7 @@ class Migration_make_lotw_use_dxcc_id extends CI_Migration
|
|||
public function up()
|
||||
{
|
||||
$fields = array(
|
||||
'cert_dxcc_id SMALLINT(6) NOT NULL AFTER `cert_dxcc`',
|
||||
'cert_dxcc_id SMALLINT(6) DEFAULT 0 NOT NULL AFTER `cert_dxcc`',
|
||||
);
|
||||
|
||||
if (!$this->db->field_exists('cert_dxcc_id', 'lotw_certs')) {
|
||||
|
|
|
|||
正在加载…
在新工单中引用