Browse code

kamctl: regenerated db schema files

Daniel-Constantin Mierla authored on 14/09/2021 07:14:16
Showing 4 changed files
... ...
@@ -27,6 +27,7 @@ CREATE TABLE location (
27 27
 
28 28
 CREATE INDEX location_account_contact_idx ON location (username, domain, contact);
29 29
 CREATE INDEX location_expires_idx ON location (expires);
30
+CREATE INDEX location_tcpcon_idx ON location (connection_id);
30 31
 CREATE INDEX location_connection_idx ON location (server_id, connection_id);
31 32
 
32 33
 INSERT INTO version (table_name, table_version) values ('location','9');
... ...
@@ -27,6 +27,7 @@ CREATE TABLE `location` (
27 27
 
28 28
 CREATE INDEX account_contact_idx ON location (`username`, `domain`, `contact`);
29 29
 CREATE INDEX expires_idx ON location (`expires`);
30
+CREATE INDEX tcpcon_idx ON location (`connection_id`);
30 31
 CREATE INDEX connection_idx ON location (`server_id`, `connection_id`);
31 32
 
32 33
 INSERT INTO version (table_name, table_version) values ('location','9');
... ...
@@ -35,6 +35,7 @@ BEGIN map2users('location'); END;
35 35
 /
36 36
 CREATE INDEX location_account_contact_idx  ON location (username, domain, contact);
37 37
 CREATE INDEX location_expires_idx  ON location (expires);
38
+CREATE INDEX location_tcpcon_idx  ON location (connection_id);
38 39
 CREATE INDEX location_connection_idx  ON location (server_id, connection_id);
39 40
 
40 41
 INSERT INTO version (table_name, table_version) values ('location','9');
... ...
@@ -27,6 +27,7 @@ CREATE TABLE location (
27 27
 
28 28
 CREATE INDEX location_account_contact_idx ON location (username, domain, contact);
29 29
 CREATE INDEX location_expires_idx ON location (expires);
30
+CREATE INDEX location_tcpcon_idx ON location (connection_id);
30 31
 CREATE INDEX location_connection_idx ON location (server_id, connection_id);
31 32
 
32 33
 INSERT INTO version (table_name, table_version) values ('location','9');