fixed typo
这个提交包含在:
父节点
6fe357ef3b
当前提交
58913ff03e
共有 1 个文件被更改,包括 22 次插入 和 0 次删除
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?php defined('BASEPATH') OR exit('No direct script access allowed');
|
||||||
|
|
||||||
|
class Migration_add_dxcc_enddate extends CI_Migration {
|
||||||
|
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
|
||||||
|
$fields = array(
|
||||||
|
'end_date' => array('type' => 'datetime')
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->dbforge->add_column('dxcc', $fields);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
$this->dbforge->drop_column('dxcc', 'end_date');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
正在加载…
在新工单中引用