 
 		UPDATE users SET score = score + REWARD WHERE user_id = NEW.user_id LIMIT 1;
 	END;
+
 
 -- ARTICLES
 -- TODO: Pull the user id and a comment made to the new version.

		-- Add other tables to be removed.
	END;

DROP TRIGGER IF EXISTS insert_medal;
CREATE TRIGGER insert_medal AFTER INSERT ON users_medals FOR EACH ROW
	BEGIN

	FOREIGN KEY (`user_id`) REFERENCES users (`user_id`)
) ENGINE=InnoDB;

/*
 * Notification types:
 * 1 - Friend request received
 * 2 - Friend request accepted
 * 3 - 
 */
CREATE TABLE users_notifications (
	`notification_id` int(6) NOT NULL AUTO_INCREMENT,
	`user_id` int(7) NOT NULL,
	`type` tinyint(1) NOT NULL,
	`from_id` int(7),
	`item_id` int(7),
	`time` timestamp DEFAULT CURRENT_TIMESTAMP,
	`seen` tinyint(1) DEFAULT 0,
	PRIMARY KEY (`notification_id`),
