set size from varchar(10) to varchar(12)

see http://www.adif.org/304/ADIF_304.htm#Mode_Enumeration and https://github.com/magicbug/Cloudlog/issues/359
这个提交包含在:
Kim - DG9VH 2019-10-05 21:40:01 +02:00 提交者 GitHub
父节点 a22c0cb149
当前提交 5ac709db27
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -0,0 +1,19 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Migration_col_mode_tooshort extends CI_Migration {
public function up()
{
$fields = array(
'COL_EMAIL' => array(
'name' => 'COL_MODE',
'type' => 'VARCHAR',
'constraint' => '12',
)
);
$this->dbforge->modify_column($this->config->item('table_name'), $fields);
}
public function down()
{
echo "Not possible, sorry.";
}
}