Update switch.sql

Update sip_registrations table.
This commit is contained in:
FusionPBX 2016-07-10 14:38:53 -06:00 committed by GitHub
parent 811b8388ad
commit 78b7841a74
1 changed files with 4 additions and 4 deletions

View File

@ -307,9 +307,11 @@ CREATE TABLE sip_registrations (
status character varying(255),
ping_status character varying(255),
ping_count integer,
ping_time bigint,
force_ping integer,
rpid character varying(255),
expires bigint,
ping_expires integer DEFAULT 0 NOT NULL,
ping_expires integer,
user_agent character varying(255),
server_user character varying(255),
server_host character varying(255),
@ -324,8 +326,6 @@ CREATE TABLE sip_registrations (
orig_server_host character varying(255),
orig_hostname character varying(255),
sub_host character varying(255),
ping_time bigint DEFAULT 0 NOT NULL,
force_ping integer DEFAULT 0 NOT NULL,
sip_registration_uuid uuid PRIMARY KEY default gen_random_uuid()
);
ALTER TABLE sip_registrations OWNER TO fusionpbx;
@ -717,4 +717,4 @@ CREATE INDEX ssd_hostname ON sip_shared_appearance_dialogs USING btree (hostname
CREATE INDEX ssd_profile_name ON sip_shared_appearance_dialogs USING btree (profile_name);
CREATE INDEX tasks1 ON tasks USING btree (hostname, task_id);
CREATE INDEX uuindex ON channels USING btree (uuid, hostname);
CREATE INDEX uuindex2 ON channels USING btree (call_uuid);
CREATE INDEX uuindex2 ON channels USING btree (call_uuid);