kamctl: regenerated db schema files

- regenerated db schema files for table watchers
  after addition of index time_status_idx
pull/3198/head
Alessio Garzi 7 months ago committed by Henning Westerholt
parent 3e916b2ddf
commit 45c38614cb
  1. 2
      utils/kamctl/db_sqlite/presence-create.sql
  2. 2
      utils/kamctl/mysql/presence-create.sql
  3. 2
      utils/kamctl/oracle/presence-create.sql
  4. 2
      utils/kamctl/postgres/presence-create.sql

@ -69,6 +69,8 @@ CREATE TABLE watchers (
CONSTRAINT watchers_watcher_idx UNIQUE (presentity_uri, watcher_username, watcher_domain, event)
);
CREATE INDEX watchers_time_status_idx ON watchers (inserted_time, status);
INSERT INTO version (table_name, table_version) values ('watchers','3');
CREATE TABLE xcap (

@ -69,6 +69,8 @@ CREATE TABLE `watchers` (
CONSTRAINT watcher_idx UNIQUE (`presentity_uri`, `watcher_username`, `watcher_domain`, `event`)
);
CREATE INDEX time_status_idx ON watchers (`inserted_time`, `status`);
INSERT INTO version (table_name, table_version) values ('watchers','3');
CREATE TABLE `xcap` (

@ -93,6 +93,8 @@ END watchers_tr;
/
BEGIN map2users('watchers'); END;
/
CREATE INDEX watchers_time_status_idx ON watchers (inserted_time, status);
INSERT INTO version (table_name, table_version) values ('watchers','3');
CREATE TABLE xcap (

@ -69,6 +69,8 @@ CREATE TABLE watchers (
CONSTRAINT watchers_watcher_idx UNIQUE (presentity_uri, watcher_username, watcher_domain, event)
);
CREATE INDEX watchers_time_status_idx ON watchers (inserted_time, status);
INSERT INTO version (table_name, table_version) values ('watchers','3');
CREATE TABLE xcap (

Loading…
Cancel
Save