Set default value in case DXCC id is missing

这个提交包含在:
phl0 2023-04-19 22:10:44 +02:00
父节点 607a3a72d9
当前提交 dde42136ee
找不到此签名对应的密钥
GPG 密钥 ID: 48EA1E640798CA9A

查看文件

@ -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')) {