mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Set default value in case DXCC id is missing
This commit is contained in:
parent
607a3a72d9
commit
dde42136ee
1 changed files with 1 additions and 1 deletions
|
|
@ -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')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue