Update switch.sql

Add json_store table.
This commit is contained in:
FusionPBX 2016-10-13 15:48:09 -06:00 committed by GitHub
parent c54a1332c1
commit af5a0dd947
1 changed files with 11 additions and 1 deletions

View File

@ -481,6 +481,17 @@ CREATE TABLE tiers (
); );
ALTER TABLE tiers OWNER TO fusionpbx; ALTER TABLE tiers OWNER TO fusionpbx;
--
-- Name: json_store; Type: TABLE; Schema: public; Owner: fusionpbx; Tablespace:
--
CREATE TABLE json_store (
name varchar(255) not null,
data text,
json_store_uuid uuid PRIMARY KEY default gen_random_uuid()
);
ALTER TABLE json_store OWNER TO fusionpbx;
--Create Views --Create Views
-- Name: basic_calls; Type: VIEW; Schema: public; Owner: fusionpbx -- Name: basic_calls; Type: VIEW; Schema: public; Owner: fusionpbx
@ -611,7 +622,6 @@ b.read_bit_rate AS b_read_bit_rate,
ALTER TABLE detailed_calls OWNER TO fusionpbx; ALTER TABLE detailed_calls OWNER TO fusionpbx;
--Indexes and Constraints --Indexes and Constraints
CREATE INDEX alias1 ON aliases USING btree (alias); CREATE INDEX alias1 ON aliases USING btree (alias);