Migration scripts updated and fixed

This commit is contained in:
bison-paolo
2017-03-06 14:49:30 +01:00
parent 3183936715
commit f7e0898cf4
4 changed files with 35 additions and 3 deletions
+2 -1
View File
@@ -2,13 +2,14 @@
if (! defined('BASEPATH')) exit('No direct script access allowed');
require_once(dirname(__FILE__).'/../../include/basis_db.class.php');
class Migration_fhc31 extends CI_Migration
{
public function up()
{
echo '<br/><h1>Update to FHC 3.1</h1><br/>';
$this->db=$this->load->database('system', true);
$this->load->helper('fhcdb');
$db = new basis_db($this);
require_once('./system/dbupdate_3.1.php');
}