install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0346'); -- Scott McKellar
+INSERT INTO config.upgrade_log (version) VALUES ('0347'); -- miker
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
error_output BIGINT REFERENCES action_trigger.event_output (id),
async_output BIGINT REFERENCES action_trigger.event_output (id)
);
+CREATE INDEX atev_target_def_idx ON action_trigger.event (target,event_def);
CREATE TABLE action_trigger.event_params (
id BIGSERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0347');
+
+CREATE INDEX atev_target_def_idx ON action_trigger.event (target,event_def);
+
+COMMIT;
+