TT#53672 Add index for devid_alias

We're querying for the alias during registration phase to check if the
dev-id passed by the device is a native alias or a devid alias.

Change-Id: I183cde2690e50bf233f388d79783ce1e5e868aa9
changes/34/27534/2
Andreas Granig 6 years ago
parent e463ab4be1
commit e520b458b1

@ -0,0 +1,5 @@
USE kamailio;
ALTER TABLE dbaliases
DROP KEY devid_alias_dom_idx;

@ -0,0 +1,4 @@
USE kamailio;
ALTER TABLE dbaliases
ADD KEY devid_alias_dom_idx(devid_alias, alias_domain);
Loading…
Cancel
Save