fixed migration cock up
这个提交包含在:
父节点
37bdf259ae
当前提交
50544cfb05
共有 6 个文件被更改,包括 6 次插入 和 6 次删除
|
|
@ -21,7 +21,7 @@ $config['migration_enabled'] = TRUE;
|
|||
| be upgraded / downgraded to.
|
||||
|
|
||||
*/
|
||||
$config['migration_version'] = 20;
|
||||
$config['migration_version'] = 28;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -15,6 +15,6 @@ class Migration_add_column_logbookid extends CI_Migration {
|
|||
|
||||
public function down()
|
||||
{
|
||||
$this->dbforge->drop_column('logbook_id', $this->config->item('table_name'));
|
||||
echo "not possible";
|
||||
}
|
||||
}
|
||||
|
|
@ -28,6 +28,6 @@ class Migration_create_logbook_table extends CI_Migration {
|
|||
|
||||
public function down()
|
||||
{
|
||||
$this->dbforge->drop_table('logbooks');
|
||||
echo "not possible";
|
||||
}
|
||||
}
|
||||
|
|
@ -15,6 +15,6 @@ class Migration_addfield_to_logbooks_default extends CI_Migration {
|
|||
|
||||
public function down()
|
||||
{
|
||||
$this->dbforge->drop_column('default_logbook', 'logbooks');
|
||||
echo "not possible";
|
||||
}
|
||||
}
|
||||
|
|
@ -15,6 +15,6 @@ class Migration_addfield_to_logbooks_active extends CI_Migration {
|
|||
|
||||
public function down()
|
||||
{
|
||||
$this->dbforge->drop_column('active_logbook', 'logbooks');
|
||||
echo "not possible";
|
||||
}
|
||||
}
|
||||
正在加载…
在新工单中引用