diff --git a/application/migrations/001_init.php b/application/migrations/001_init.php index fe8c1ae05..561e46a13 100644 --- a/application/migrations/001_init.php +++ b/application/migrations/001_init.php @@ -8,13 +8,25 @@ class Migration_Init extends CI_Migration { { $this->load->database('system'); // Schemas - $this->db->query('CREATE SCHEMA IF NOT EXISTS addon;'); - + $this->db->query('CREATE SCHEMA IF NOT EXISTS public;'); + $this->db->query('CREATE SCHEMA IF NOT EXISTS addon;'); } public function down() { - //$this->db->query('DROP SCHEMA IF EXISTS gis;'); + /* $this->db->query(' + DROP SCHEMA IF EXISTS addon; + DROP SCHEMA IF EXISTS bis; + DROP SCHEMA IF EXISTS campus; + DROP SCHEMA IF EXISTS fue; + DROP SCHEMA IF EXISTS kommune; + DROP SCHEMA IF EXISTS lehre; + DROP SCHEMA IF EXISTS public; + DROP SCHEMA IF EXISTS sync; + DROP SCHEMA IF EXISTS system; + DROP SCHEMA IF EXISTS testtool; + DROP SCHEMA IF EXISTS wawi; + ');*/ } } diff --git a/system/dbupdate_3.0.php b/system/dbupdate_3.0.php index 60673eb4a..27ab18457 100644 --- a/system/dbupdate_3.0.php +++ b/system/dbupdate_3.0.php @@ -26,7 +26,7 @@ echo '