mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-02 20:59:28 +00:00
24 lines
696 B
PHP
24 lines
696 B
PHP
<?php
|
|
|
|
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
require_once(dirname(__FILE__).'/../../include/basis_db.class.php');
|
|
|
|
class Migration_fhc30 extends CI_Migration
|
|
{
|
|
public function up()
|
|
{
|
|
echo '<br/><h1>Update to FHC 3.0</h1><br/>';
|
|
$this->db=$this->load->database('system', true);
|
|
$db = new basis_db($this);
|
|
require_once('./system/dbupdate_3.0.php');
|
|
}
|
|
|
|
public function down()
|
|
{
|
|
/*$this->db->simple_query('DROP TABLE fue.tbl_scrumteam;');
|
|
$this->db->simple_query('DROP TABLE lehre.tbl_studienordnung;');
|
|
$this->db->simple_query('DROP TABLE lehre.tbl_studienordnung_semester;');
|
|
$this->db->simple_query('DROP TABLE lehre.tbl_studienplan;');*/
|
|
}
|
|
} |