/usr/share/opensips/mysql/cachedb_sql-create.sql is in opensips-mysql-module 2.2.2-3build4.
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 CHAR(255) PRIMARY KEY NOT NULL,
value TEXT(512) NOT NULL,
counter INT(10) DEFAULT 0 NOT NULL,
expires INT(10) UNSIGNED DEFAULT 0 NOT NULL
) ENGINE=InnoDB;
|