/usr/share/opensips/sqlite/load_balancer-create.sql is in opensips-sqlite-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 8 9 10 11 | INSERT INTO version (table_name, table_version) values ('load_balancer','2');
CREATE TABLE load_balancer (
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
group_id INTEGER DEFAULT 0 NOT NULL,
dst_uri CHAR(128) NOT NULL,
resources CHAR(255) NOT NULL,
probe_mode INTEGER DEFAULT 0 NOT NULL,
description CHAR(128) DEFAULT '' NOT NULL
);
CREATE INDEX load_balancer_dsturi_idx ON load_balancer (dst_uri);
|