You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/utils/kamctl/postgres/matrix-create.sql

12 lines
276 B

CREATE TABLE matrix (
id SERIAL PRIMARY KEY NOT NULL,
first INTEGER NOT NULL,
second SMALLINT NOT NULL,
res INTEGER NOT NULL
);
CREATE INDEX matrix_matrix_idx ON matrix (first, second);
INSERT INTO version (table_name, table_version) values ('matrix','1');