<?php
run_query('ALTER TABLE ' . $config['table_prefix'] . 'calc ADD `period` VARCHAR(50) NOT NULL, ADD `cron_id` INT NOT NULL');
run_query('ALTER TABLE ' . $config['table_prefix'] . 'cron ADD `calc_id` INT NOT NULL');