mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
This commit is contained in:
+11
-1
@@ -28,7 +28,7 @@
|
||||
require ('../vilesci/config.inc.php');
|
||||
|
||||
// Datenbank Verbindung
|
||||
//if (!$conn = pg_pconnect("host=.technikum-wien.at dbname=devvilesci user=pam password="))
|
||||
//if (!$conn = pg_pconnect("host=.technikum-wien.at dbname= user= password="))
|
||||
if (!$conn = pg_pconnect(CONN_STRING))
|
||||
die('Es konnte keine Verbindung zum Server aufgebaut werden!'.pg_last_error($conn));
|
||||
|
||||
@@ -82,6 +82,16 @@ if (!@pg_query($conn,'SELECT kompetenzen FROM public.tbl_person LIMIT 1;'))
|
||||
echo 'kompetenzen wurde bei public.tbl_person hinzugefuegt!<BR>';
|
||||
}
|
||||
|
||||
// ************** public.tbl_buchungstyp.standardbetrag ************************
|
||||
if (!@pg_query($conn,'SELECT standardbetrag FROM public.tbl_buchungstyp LIMIT 1;'))
|
||||
{
|
||||
$sql=' ALTER TABLE public.tbl_buchungstyp ADD COLUMN standardbetrag numeric(8,2);';
|
||||
if (!@pg_query($conn,$sql))
|
||||
echo '<strong>public.tbl_buchungstyp: '.pg_last_error($conn).' </strong><BR>';
|
||||
else
|
||||
echo 'standardbetrag wurde bei public.tbl_buchungstyp hinzugefuegt!<BR>';
|
||||
}
|
||||
|
||||
// ************** lehre.tbl_lehrveranstaltung.projektarbeit ************************
|
||||
if (!@pg_query($conn,'SELECT projektarbeit FROM lehre.tbl_lehrveranstaltung LIMIT 1;'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user