Zugangscode für Reihungstests

This commit is contained in:
Andreas Österreicher
2012-05-08 12:39:18 +00:00
parent 5fbb91a7b0
commit 7d464c22cb
5 changed files with 183 additions and 104 deletions
+57 -16
View File
@@ -26874,11 +26874,11 @@
<FontStyle>0</FontStyle>
<FormatLocked>0</FormatLocked>
<FontHeight>-28</FontHeight>
<Top>958</Top>
<Left>6487</Left>
<Top>929</Top>
<Left>6484</Left>
<z>0</z>
<Width>798</Width>
<Height>473</Height>
<Height>512</Height>
<dz>0</dz>
<RecalculateSizes>1</RecalculateSizes>
<UseWorkSpaceRecalculateSizes>1</UseWorkSpaceRecalculateSizes>
@@ -29082,8 +29082,8 @@
<WorkSpaceShape2>
<Id>{1A08083C-F187-4B45-BE87-E0B5CFE7CBAF}</Id>
</WorkSpaceShape2>
<NamePositionX>4155</NamePositionX>
<NamePositionY>1348</NamePositionY>
<NamePositionX>4154</NamePositionX>
<NamePositionY>1343</NamePositionY>
<Points>
<Point>
<x>2271</x>
@@ -29094,12 +29094,12 @@
<y>1744</y>
</Point>
<Point>
<x>6456</x>
<y>1194</y>
<x>6453</x>
<y>1185</y>
</Point>
<Point>
<x>6487</x>
<y>1194</y>
<x>6484</x>
<y>1185</y>
</Point>
</Points>
</WorkSpaceLinePERRelationPG83>
@@ -30513,8 +30513,8 @@
<WorkSpaceShape2>
<Id>{1A08083C-F187-4B45-BE87-E0B5CFE7CBAF}</Id>
</WorkSpaceShape2>
<NamePositionX>6747</NamePositionX>
<NamePositionY>842</NamePositionY>
<NamePositionX>6745</NamePositionX>
<NamePositionY>828</NamePositionY>
<Points>
<Point>
<x>6780</x>
@@ -30525,12 +30525,12 @@
<y>878</y>
</Point>
<Point>
<x>6886</x>
<y>927</y>
<x>6883</x>
<y>898</y>
</Point>
<Point>
<x>6886</x>
<y>958</y>
<x>6883</x>
<y>929</y>
</Point>
</Points>
</WorkSpaceLinePERRelationPG83>
@@ -49060,7 +49060,7 @@
<Company>Technikum Wien</Company>
<Version>2.0</Version>
<CreatedDate>2009-04-17T11:15:21.000+02:00</CreatedDate>
<ModifiedDate>2012-04-16T11:05:21.295+02:00</ModifiedDate>
<ModifiedDate>2012-05-07T14:09:29.873+02:00</ModifiedDate>
<Project>FH-Complete 2.0</Project>
<Description>&lt;?xml-stylesheet type="text/xsl" href="FHCompleteTDM3PG83.xsl"?&gt;
</Description>
@@ -108944,6 +108944,47 @@ ALTER TABLE tbl_mitarbeiter ALTER COLUMN personalnummer DROP NOT NULL;</Comments
<ArrDims></ArrDims>
<IsArray>0</IsArray>
</PERAttributePG83>
<PERAttributePG83 ObjectType="2003" CSAOName="PERAttributePG83">
<Id>{7EC34B37-9010-4C66-8563-DAA3AACE6162}</Id>
<Name>zugangscode</Name>
<Ordinal>0</Ordinal>
<HistoryID>{BCE7DB0D-E8EA-4378-96C1-6A4D8224B1E5}</HistoryID>
<GlobalOrder>0</GlobalOrder>
<RNOffset>0</RNOffset>
<RNLength>0</RNLength>
<IgnoreNC>0</IgnoreNC>
<GenerateCode>1</GenerateCode>
<BeforeScript></BeforeScript>
<AfterScript></AfterScript>
<Notes></Notes>
<Comments></Comments>
<DataTypeParam1>16</DataTypeParam1>
<DataTypeParam2></DataTypeParam2>
<KeepForeignKey>0</KeepForeignKey>
<DefaultValue></DefaultValue>
<NotNull>0</NotNull>
<Migrated>0</Migrated>
<Caption>zugangscode</Caption>
<Unique>0</Unique>
<OriginalName></OriginalName>
<CheckConstraint></CheckConstraint>
<CheckConstraintName></CheckConstraintName>
<KeyConstraintItems/>
<PKForeignKeys/>
<FKForeignKeys/>
<DictType/>
<Domain/>
<DataType>
<Id>{ECB8F02F-B683-4252-8508-ED9D064C9AF3}</Id>
</DataType>
<UserDataType/>
<IndexItems/>
<Default/>
<CheckConstraints/>
<KeyConstraint/>
<ArrDims></ArrDims>
<IsArray>0</IsArray>
</PERAttributePG83>
</Attributes>
<Keys>
<PERKeyConstraintPG83 ObjectType="2010" CSAOName="PERKeyConstraintPG83">
+14 -1
View File
@@ -3558,6 +3558,19 @@ if(!@$db->db_query("SELECT 1 from public.tbl_preoutgoing LIMIT 1"))
echo 'PreOutgoing Modul hinzugefuegt!<br>';
}
// Zugangscode fuer Reihungstest
if(!@$db->db_query("SELECT zugangscode FROM public.tbl_reihungstest LIMIT 1"))
{
$qry = "
ALTER TABLE public.tbl_reihungstest ADD COLUMN zugangscode varchar(16);
UPDATE public.tbl_reihungstest SET zugangscode=trunc(random()*100000);
";
if(!$db->db_query($qry))
echo '<strong>public.tbl_reihungstest: '.$db->db_last_error().'</strong><br>';
else
echo 'Tabelle public.tbl_reihungstest Spalte zugangscode hinzugefuegt!<br>';
}
echo '<br>';
$tabellen=array(
@@ -3710,7 +3723,7 @@ $tabellen=array(
"public.tbl_prestudent" => array("prestudent_id","aufmerksamdurch_kurzbz","person_id","studiengang_kz","berufstaetigkeit_code","ausbildungcode","zgv_code","zgvort","zgvdatum","zgvmas_code","zgvmaort","zgvmadatum","aufnahmeschluessel","facheinschlberuf","reihungstest_id","anmeldungreihungstest","reihungstestangetreten","rt_gesamtpunkte","rt_punkte1","rt_punkte2","bismelden","anmerkung","dual","insertamum","insertvon","updateamum","updatevon","ext_id","ausstellungsstaat"),
"public.tbl_prestudentstatus" => array("prestudent_id","status_kurzbz","studiensemester_kurzbz","ausbildungssemester","datum","orgform_kurzbz","insertamum","insertvon","updateamum","updatevon","ext_id"),
"public.tbl_raumtyp" => array("raumtyp_kurzbz","beschreibung"),
"public.tbl_reihungstest" => array("reihungstest_id","studiengang_kz","ort_kurzbz","anmerkung","datum","uhrzeit","updateamum","updatevon","insertamum","insertvon","ext_id"),
"public.tbl_reihungstest" => array("reihungstest_id","studiengang_kz","ort_kurzbz","anmerkung","datum","uhrzeit","updateamum","updatevon","insertamum","insertvon","ext_id","zugangscode"),
"public.tbl_status" => array("status_kurzbz","beschreibung","anmerkung","ext_id"),
"public.tbl_semesterwochen" => array("semester","studiengang_kz","wochen"),
"public.tbl_sprache" => array("sprache","locale","flagge","index","content","bezeichnung"),