Change DXCC tables to UTF8mb4 this fixes #924
这个提交包含在:
父节点
41f6b54336
当前提交
613d6a6d13
共有 2 个文件被更改,包括 24 次插入 和 1 次删除
|
|
@ -21,7 +21,7 @@ $config['migration_enabled'] = TRUE;
|
|||
| be upgraded / downgraded to.
|
||||
|
|
||||
*/
|
||||
$config['migration_version'] = 64;
|
||||
$config['migration_version'] = 65;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
* This migration creates a table called options which will hold global options needed within cloudlog
|
||||
* removing the need for lots of configuration files.
|
||||
*/
|
||||
|
||||
class Migration_changed_dxcc_tables_utf8mb4 extends CI_Migration {
|
||||
|
||||
public function up()
|
||||
{
|
||||
$this->db->query("ALTER TABLE dxcc_entities CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;");
|
||||
$this->db->query("ALTER TABLE dxcc_exceptions CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;");
|
||||
$this->db->query("ALTER TABLE dxcc_prefixes CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;");
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
正在加载…
在新工单中引用