Spalte personentage zur Projektphase hinzugefügt

This commit is contained in:
Andreas Österreicher
2011-08-11 08:01:27 +00:00
parent 7db5420473
commit f33c576b2c
2 changed files with 101 additions and 48 deletions
+12
View File
@@ -2603,6 +2603,18 @@ if(!$result = @$db->db_query("SELECT beschreibung FROM campus.tbl_content LIMIT
echo 'campus.tbl_content: Spalte beschreibung hinzugefuegt!<br>';
}
//fue.tbl_projektphase neue Spalte personentage
if(!$result = @$db->db_query("SELECT personentage FROM fue.tbl_projektphase LIMIT 1;"))
{
$qry = "ALTER TABLE fue.tbl_projektphase ADD COLUMN personentage integer;
GRANT SELECT, UPDATE ON SEQUENCE fue.seq_projektphase_projektphase_id TO vilesci;";
if(!$db->db_query($qry))
echo '<strong>fue.tbl_projektphase: '.$db->db_last_error().'</strong><br>';
else
echo 'fue.tbl_projektphase: Spalte personentage hinzugefuegt!<br>';
}
echo '<br>';
$tabellen=array(