mirror of https://github.com/sipwise/db-schema.git
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.
62 lines
2.3 KiB
62 lines
2.3 KiB
USE `kamailio`;
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
/*!40101 SET NAMES utf8 */;
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `fax_destinations`;
|
|
SET @saved_cs_client = @@character_set_client;
|
|
SET character_set_client = utf8;
|
|
CREATE TABLE `fax_destinations` (
|
|
`id` int(10) unsigned NOT NULL auto_increment,
|
|
`subscriber_id` int(10) unsigned NOT NULL,
|
|
`destination` varchar(64) NOT NULL,
|
|
`filetype` enum('ps','tiff','pdf','pdf14') NOT NULL default 'tiff',
|
|
`cc` enum('true','false') NOT NULL default 'false',
|
|
`incoming` enum('true','false') NOT NULL default 'true',
|
|
`outgoing` enum('true','false') NOT NULL default 'false',
|
|
`status` enum('true','false') NOT NULL default 'false',
|
|
PRIMARY KEY (`id`),
|
|
KEY `subscriber_id` (`subscriber_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
SET character_set_client = @saved_cs_client;
|
|
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `fax_preferences`;
|
|
SET @saved_cs_client = @@character_set_client;
|
|
SET character_set_client = utf8;
|
|
CREATE TABLE `fax_preferences` (
|
|
`subscriber_id` int(10) unsigned NOT NULL,
|
|
`password` varchar(64),
|
|
`name` varchar(64),
|
|
`active` enum('true','false') NOT NULL default 'true',
|
|
`send_status` enum('true','false') NOT NULL default 'false',
|
|
`send_copy` enum('true','false') NOT NULL default 'false',
|
|
`send_copy_cc` enum('true','false') NOT NULL default 'false',
|
|
PRIMARY KEY (`subscriber_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
SET character_set_client = @saved_cs_client;
|
|
|
|
|
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|