SQL Installation
Verfasst: 12.04.2004 20:57
Ich möchte einen Kalender in mein Forum einbauen. In der install.txt Datei steht:
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.
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;