/usr/share/kamailio/postgres/uid_avp_db-create.sql is in kamailio-postgres-modules 4.2.0-2+deb8u3.
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 | INSERT INTO version (table_name, table_version) values ('uid_user_attrs','3');
CREATE TABLE uid_user_attrs (
id SERIAL PRIMARY KEY NOT NULL,
uid VARCHAR(64) NOT NULL,
name VARCHAR(32) NOT NULL,
value VARCHAR(128),
type INTEGER DEFAULT 0 NOT NULL,
flags INTEGER DEFAULT 0 NOT NULL,
CONSTRAINT uid_user_attrs_userattrs_idx UNIQUE (uid, name, value)
);
|