From fcdb5197703c24a033209c0573c3e377ba3c0eb7 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Wed, 20 May 2015 13:50:59 +0200 Subject: Add missing sm table (thanks to Rasim Kalimullin)(EJAB-1740) --- sql/pg.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'sql') diff --git a/sql/pg.sql b/sql/pg.sql index 8412c3c6b..736c4f932 100644 --- a/sql/pg.sql +++ b/sql/pg.sql @@ -288,3 +288,17 @@ CREATE TABLE caps_features ( ); CREATE INDEX i_caps_features_node_subnode ON caps_features USING btree (node, subnode); + +CREATE TABLE sm ( + usec bigint NOT NULL, + pid text NOT NULL, + node text NOT NULL, + username text NOT NULL, + resource text NOT NULL, + priority text NOT NULL, + info text NOT NULL +); + +CREATE UNIQUE INDEX i_sid ON sm USING btree (usec, pid); +CREATE INDEX i_node ON sm USING btree (node); +CREATE INDEX i_username ON sm USING btree (username); -- cgit v1.2.3