You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
db-schema/db_scripts/diff/15148_not_replicated.up

17 lines
422 B

use sipstats;
set sql_log_bin=0;
set autocommit=0;
CREATE TABLE `call_info` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`sip_code` varchar(3) NOT NULL,
`period` datetime NOT NULL,
`amount` int(11) unsigned NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `call_info_sip_code_period_idx` (`sip_code`,`period`)
) ENGINE=InnoDB;
GRANT SELECT,INSERT,UPDATE ON sipstats.call_info TO 'mediator'@'localhost';
commit;