Seite 1 von 1

SQL Installation

Verfasst: 12.04.2004 20:57
von Mutated!
Ich möchte einen Kalender in mein Forum einbauen. In der install.txt Datei steht:

Code: Alles auswählen

-----[ SQL ]-------------------------------------------------
#
ALTER TABLE phpbb_topics ADD topic_calendar_time INT(11);
ALTER TABLE phpbb_topics ADD topic_calendar_duration INT(11);
ALTER TABLE phpbb_topics ADD INDEX (topic_calendar_time);

ALTER TABLE phpbb_auth_access ADD auth_cal TINYINT(1) DEFAULT '0' NOT NULL;
ALTER TABLE phpbb_forums ADD auth_cal TINYINT(2) DEFAULT '0' NOT NULL;
UPDATE phpbb_auth_access SET auth_cal = auth_sticky;
UPDATE phpbb_forums SET auth_cal = auth_sticky;
muss ich dann unter der phpbb_topics Tabelle die Tabelle phpbb_topic_calendar_time einfügen? Was heißt INT(11)? Ich habe keine Ahnung. Das gleiche gilt für TINYINT(1) DEFAULT'0'? was heißt das alles und das andere Zeug? Danke.

Verfasst: 12.04.2004 22:01
von MiXa
bei phpmyadmin gibts unten ein größeres kästchen

sql befehle aus führen oder so was in der art

dort kopierst du die zeilen rein und läßt sie ausführen


(achte darauf, daß das prefix deinem prefix entstpricht - phpbb_ also gegebenenfalls anpassen)