diff --git a/system/dashboard/dbupdate_dashboard.php b/system/dashboard/dbupdate_dashboard.php new file mode 100644 index 000000000..3e73de3b9 --- /dev/null +++ b/system/dashboard/dbupdate_dashboard.php @@ -0,0 +1,429 @@ +, + * + * Beschreibung: + * Dashboard DB Aenderungen + */ + +if (($result = $db->db_query("SELECT schema_name FROM information_schema.schemata WHERE schema_name='dashboard'"))) +{ + if ($db->db_num_rows($result) == 0) + { + $qry = <<db_query($qry)) + { + echo 'Schema Dashboard: '.$db->db_last_error().'
'; + } + else + { + echo '
Neues Schema dashboard hinzugefuegt'; + } + } +} diff --git a/system/dbupdate_3.3.php b/system/dbupdate_3.3.php index b29171f86..fc5e95b35 100644 --- a/system/dbupdate_3.3.php +++ b/system/dbupdate_3.3.php @@ -6521,6 +6521,9 @@ if($result = @$db->db_query("SELECT * FROM information_schema.role_table_grants } } +// add Dashboard Schema and Tables +include __DIR__ . '/dashboard/dbupdate_dashboard.php'; + // *** Pruefung und hinzufuegen der neuen Attribute und Tabellen echo '

Pruefe Tabellen und Attribute!

';