/usr/share/kamailio/mysql/domainpolicy-create.sql is in kamailio-mysql-modules 4.4.4-2+deb9u3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | CREATE TABLE `domainpolicy` (
`id` INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
`rule` VARCHAR(255) NOT NULL,
`type` VARCHAR(255) NOT NULL,
`att` VARCHAR(255),
`val` VARCHAR(128),
`description` VARCHAR(255) NOT NULL,
CONSTRAINT rav_idx UNIQUE (`rule`, `att`, `val`)
);
CREATE INDEX rule_idx ON domainpolicy (`rule`);
INSERT INTO version (table_name, table_version) values ('domainpolicy','2');
|