Here's the command to delete EVERY subscription you (or anyone else) has:
DROP TABLE subscriptions;
Now the next part is VERY IMPORTANT TO GET RIGHT!!!!
Click on Administration and find out what type of databse you have. It should be at the very bottom, something like this:
Database PDO_SQLite 3.2.8
if you use mysql, or msqli, to restore the table do this:
CREATE TABLE subscriptions (
user_id INT(10) UNSIGNED NOT NULL DEFAULT 0,
topic_id INT(10) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (user_id, topic_id)
) TYPE=MyISAM;
if you use pgsql, to restore the table do this:
CREATE TABLE subscriptions (
user_id INT NOT NULL DEFAULT 0,
topic_id INT NOT NULL DEFAULT 0,
PRIMARY KEY (user_id, topic_id)
);
if you use sqlite, to restore the table do this:
CREATE TABLE subscriptions (
user_id INTEGER NOT NULL DEFAULT 0,
topic_id INTEGER NOT NULL DEFAULT 0,
PRIMARY KEY (user_id, topic_id)
);
I suggest you backup your database before doing this.
To confirm that the table has been removed and recreated, dump the table.
In sqlite the command is
I'm not sure about mysql or pgsql though.
Then make a new subscription and dump the table again, you should see something like this:
CREATE TABLE subscriptions (
user_id INTEGER NOT NULL DEFAULT 0,
topic_id INTEGER NOT NULL DEFAULT 0,
PRIMARY KEY (user_id, topic_id)
);
INSERT INTO "subscriptions" VALUES(3, 1);
PS: I take no responsibility if your forum blows up and causes you mother's, friend's, pet's, imaginary bird to poop out walnuts.
echo "deadram"; echo; fortune;