Hallo, meine install.sql erstellt einfach nicht die Tabellen, die darin stehen.
WSC wirft keine Fehlermeldung und wenn ich den Befehl aus der Datei einfach als SQL in phpmyadmin ausführe, funktioniert es einwandfrei. Was kann hier der Fehler sein?
Meine install.sql:
SQL: install.sql
DROP TABLE IF EXISTS wcf1_squeezey_verify, wcf1_squeezey_channels;
CREATE TABLE IF NOT EXISTS wcf1_squeezey_channels(
id INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
channel_name varchar(64) NOT NULL,
channel_password varchar(64) NOT NULL,
channel_creation_date TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP,
channel_expiration_date TIMESTAMP NOT NULL,
channel_discord_active BOOLEAN DEFAULT 0,
channel_ts3_active BOOLEAN DEFAULT 0
);
CREATE TABLE IF NOT EXISTS wcf1_squeezey_verify(
id INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
id_forum INT(10) NOT NULL,
id_channel INT(10) NOT NULL,
token_ts3 varchar(128) NOT NULL,
token_discord varchar(128) NOT NULL,
FOREIGN KEY (id_forum) REFERENCES wcf1_user(userID),
FOREIGN KEY (id_channel) REFERENCES wcf1_squeezey_channels(id)
);
Alles anzeigen