Adding a primary key just for SQL sanity sake :)
这个提交包含在:
父节点
f630dde7ce
当前提交
364bb9541e
共有 1 个文件被更改,包括 3 次插入 和 1 次删除
|
|
@ -4,7 +4,8 @@ class Migration_add_config_table extends CI_Migration {
|
||||||
|
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
|
$this->dbforge->add_field('id');
|
||||||
|
|
||||||
$this->dbforge->add_field(array(
|
$this->dbforge->add_field(array(
|
||||||
'lotw_download_url' => array(
|
'lotw_download_url' => array(
|
||||||
'type' => 'VARCHAR',
|
'type' => 'VARCHAR',
|
||||||
|
|
@ -20,6 +21,7 @@ class Migration_add_config_table extends CI_Migration {
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
||||||
$this->dbforge->create_table('config');
|
$this->dbforge->create_table('config');
|
||||||
|
|
||||||
$data = array(
|
$data = array(
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用