Skip to content

Commit

Permalink
json type
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaeno committed Jun 21, 2022
1 parent fb6ea4b commit cce109e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions initdb/sqls/pg_PANDA_TABLE.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2151,7 +2151,7 @@ CREATE TABLE job_nevents (
pandaid bigint,
nevents_before bigint,
nevents_after bigint,
mt text
mt json
) ;
ALTER TABLE job_nevents OWNER TO panda;
--ALTER TABLE job_nevents ADD CONSTRAINT ensure_json CHECK ((CASE WHEN mt::coalesce(json::text, '') = '' THEN true ELSE true END));
Expand Down Expand Up @@ -2214,7 +2214,7 @@ CREATE TABLE metrics (
computingsite varchar(128),
gshare varchar(32),
metric varchar(128),
value_json text,
value_json json,
timestamp timestamp
) ;
ALTER TABLE metrics OWNER TO panda;
Expand Down Expand Up @@ -2440,7 +2440,7 @@ ALTER TABLE retryerrors ADD PRIMARY KEY (retryerror_id);

CREATE TABLE schedconfig_json (
panda_queue varchar(50) NOT NULL,
data text,
data json,
last_update timestamp
) ;
COMMENT ON TABLE schedconfig_json IS E'Table to store the AGIS''s JSON configuration for each panda queue';
Expand Down

0 comments on commit cce109e

Please sign in to comment.