These database changes is for that case you havn't done modifications yet. You don't want to loose data, but you need your db work fine. alter table prefix_educourses add column start_agregate char(255); alter table prefix_educourses add column stop_agregate char(255); alter table prefix_posts add column hidden int(1) DEFAULT 0; alter table prefix_comments add column hidden int(1) DEFAULT 0; LATEST CHANGES IN DB following tells to db that no duplication in relations tables anymore: ALTER IGNORE TABLE prefix_course_rels_comments ADD PRIMARY KEY (course_guid, link); ALTER IGNORE TABLE prefix_course_rels_posts ADD PRIMARY KEY (course_guid, link); LATEST LATEST CHANGES ALTER IGNORE TABLE prefix_comments ADD COLUMN post_author char(255); more latest latest: alter table prefix_educourses modify column start_agregate bigint(20); alter table prefix_educourses modify column stop_agregate bigint(20); alter table prefix_educourses modify column signup_deadline bigint(20); alter table prefix_educourses modify column course_starting_date bigint(20); alter table prefix_educourses modify column course_ending_date bigint(20); alter table prefix_assignments modify column deadline bigint(20); more latest latest latest: CREATE TABLE IF NOT EXISTS prefix_log ( id int(5) NOT NULL PRIMARY KEY AUTO_INCREMENT, created TIMESTAMP DEFAULT NOW(), log TEXT ) ENGINE=InnoDB DEFAULT CHARSET=UTF8; alter table prod_statistics add column log int(5);