/usr/share/kamailio/postgres/uid_gflags-create.sql is in kamailio-postgres-modules 5.1.2-1ubuntu2.
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 | CREATE TABLE uid_global_attrs (
id SERIAL PRIMARY KEY NOT NULL,
name VARCHAR(32) NOT NULL,
type INTEGER DEFAULT 0 NOT NULL,
value VARCHAR(128),
flags INTEGER DEFAULT 0 NOT NULL,
CONSTRAINT uid_global_attrs_global_attrs_idx UNIQUE (name, value)
);
INSERT INTO version (table_name, table_version) values ('uid_global_attrs','1');
|