/usr/share/opensips/postgres/cachedb_sql-create.sql is in opensips-postgres-module 2.2.2-3.
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 | INSERT INTO version (table_name, table_version) values ('cachedb','2');
CREATE TABLE cachedb (
keyname VARCHAR(255) PRIMARY KEY NOT NULL,
value TEXT NOT NULL,
counter INTEGER DEFAULT 0 NOT NULL,
expires INTEGER DEFAULT 0 NOT NULL
);
|