mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
added new mobilitaetsprogramm codes
This commit is contained in:
@@ -51,6 +51,7 @@ require_once('dbupdate_3.4/29835_uhstat1_erfassung_der_uhstat1_daten_ueber_das_b
|
||||
require_once('dbupdate_3.4/33714_erhoehter_studienbeitrag_fuer_drittsaatenangehoerig.php');
|
||||
require_once('dbupdate_3.4/36275_zeitaufzeichnung_karenz.php');
|
||||
require_once('dbupdate_3.4/21620_neues_feld_zum_erfassen_des_ESI.php');
|
||||
require_once('dbupdate_3.4/36530_bis_internationsalisierung_codextabelle_neuerungen.php');
|
||||
|
||||
// *** Pruefung und hinzufuegen der neuen Attribute und Tabellen
|
||||
echo '<H2>Pruefe Tabellen und Attribute!</H2>';
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
if (! defined('DB_NAME')) exit('No direct script access allowed');
|
||||
|
||||
|
||||
if($result = @$db->db_query("SELECT 1 FROM bis.tbl_mobilitaetsprogramm WHERE mobilitaetsprogramm_code IN (43, 44, 45, 46, 47, 48, 49, 50, 51, 52)"))
|
||||
{
|
||||
if($db->db_num_rows($result) < 10)
|
||||
{
|
||||
$qry = "
|
||||
INSERT INTO bis.tbl_mobilitaetsprogramm(mobilitaetsprogramm_code, kurzbz, beschreibung, sichtbar, sichtbar_outgoing) VALUES
|
||||
(43, 'AMinKunst', 'Auslandsstipendium des Bundesministeriums für Kunst', TRUE, TRUE),
|
||||
(44, 'BundeslandProg', 'Bundesland-Programm', TRUE, TRUE),
|
||||
(45, 'ErasmusSms', 'ERASMUS+ (SMS) - Studienaufenthalte', TRUE, TRUE),
|
||||
(46, 'ErasmusSmt', 'ERASMUS+ (SMT) - Studierendenpraktika', TRUE, TRUE),
|
||||
(47, 'ErasmusMundus', 'Erasmus Mundus Joint Master Degrees / Erasmus Mundus Joint Master', TRUE, TRUE),
|
||||
(48, 'EUGrad', 'Mobilitätsprogramm für Graduierte im EU-Bereich', TRUE, TRUE),
|
||||
(49, 'ÖStiftung', 'Stipendienstiftung der Republik Österreich', TRUE, TRUE),
|
||||
(50, 'ÖAkadWiss', 'Stipendienabkommen der Österreichischen Akademie der Wissenschaften', TRUE, TRUE),
|
||||
(51, 'FondWissForsch', 'Stipendium des Fonds zur Förderung der wissenschaftlichen Forschung', TRUE, TRUE),
|
||||
(52, 'SEMP', 'Swiss-European Mobility Programme (SEMP)', TRUE, TRUE)
|
||||
ON CONFLICT (mobilitaetsprogramm_code) DO NOTHING;
|
||||
";
|
||||
|
||||
if(!$db->db_query($qry))
|
||||
echo '<strong>bis.tbl_mobilitaetsprogramm: '.$db->db_last_error().'</strong><br>';
|
||||
else
|
||||
echo ' bis.tbl_mobilitaetsprogramm: Mobilitätsprogramme hinzugefuegt<br>';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user