ALTER TABLE  `voting_numberofvotes` ADD  `id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST ,
ADD  `agora_id` SMALLINT( 6 ) NOT NULL AFTER  `id`;

ALTER TABLE  `voting_delegates` ADD  `agora_id` SMALLINT( 6 ) NOT NULL FIRST;

ALTER TABLE `attendance_log` ADD `agora_id` SMALLINT( 6 ) NOT NULL;