1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-18 17:41:53 +00:00

switch_core_sqldb: Index column name wrong on table registrations. (This wont create the index for people who already have the table)

This commit is contained in:
Marc Olivier Chouinard 2011-02-15 02:24:43 -05:00
parent 500e9acd25
commit 1096e6732c

@ -1639,7 +1639,7 @@ static char create_registrations_sql[] =
" network_proto VARCHAR(256),\n"
" hostname VARCHAR(256)\n"
");\n"
"create index regindex1 on registrations (user,realm,hostname);\n";
"create index regindex1 on registrations (reg_user,realm,hostname);\n";
SWITCH_DECLARE(switch_status_t) switch_core_add_registration(const char *user, const char *realm, const char *token, const char *url, uint32_t expires,