pg - added sm table

This commit is contained in:
Matthias Rieber 2015-05-17 17:45:49 +02:00
parent 084d0c4efe
commit 0800a9733c
1 changed files with 15 additions and 0 deletions

View File

@ -288,3 +288,18 @@ 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);