From a4b4543c92617a05a8068ea87d943b29f9f7fd7c Mon Sep 17 00:00:00 2001 From: Ricardo Olsen Date: Sun, 15 Sep 2024 17:50:44 -0300 Subject: [PATCH] Added grafana and metabase to docker demo postgres seed. --- demo-docker/postgres_seed/grafanaappdb.sql | 6314 ++++++++++++++ demo-docker/postgres_seed/metabaseappdb.sql | 8675 +++++++++++++++++++ 2 files changed, 14989 insertions(+) create mode 100644 demo-docker/postgres_seed/grafanaappdb.sql create mode 100644 demo-docker/postgres_seed/metabaseappdb.sql diff --git a/demo-docker/postgres_seed/grafanaappdb.sql b/demo-docker/postgres_seed/grafanaappdb.sql new file mode 100644 index 00000000..9a39aee3 --- /dev/null +++ b/demo-docker/postgres_seed/grafanaappdb.sql @@ -0,0 +1,6314 @@ +-- +-- PostgreSQL database dump +-- + +-- Dumped from database version 14.1 +-- Dumped by pg_dump version 14.1 + +-- Started on 2024-05-15 16:02:51 + +SET statement_timeout = 0; +SET lock_timeout = 0; +SET idle_in_transaction_session_timeout = 0; +SET client_encoding = 'UTF8'; +SET standard_conforming_strings = on; +SELECT pg_catalog.set_config('search_path', '', false); +SET check_function_bodies = false; +SET xmloption = content; +SET client_min_messages = warning; +SET row_security = off; + +-- +-- TOC entry 3 (class 2615 OID 2200) +-- Name: public; Type: SCHEMA; Schema: -; Owner: postgres +-- + +CREATE SCHEMA public; + + +ALTER SCHEMA public OWNER TO postgres; + +-- +-- TOC entry 4083 (class 0 OID 0) +-- Dependencies: 3 +-- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: postgres +-- + +COMMENT ON SCHEMA public IS 'standard public schema'; + + +SET default_tablespace = ''; + +SET default_table_access_method = heap; + +-- +-- TOC entry 245 (class 1259 OID 20526) +-- Name: alert; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.alert ( + id integer NOT NULL, + version bigint NOT NULL, + dashboard_id bigint NOT NULL, + panel_id bigint NOT NULL, + org_id bigint NOT NULL, + name character varying(255) NOT NULL, + message text NOT NULL, + state character varying(190) NOT NULL, + settings text NOT NULL, + frequency bigint NOT NULL, + handler bigint NOT NULL, + severity text NOT NULL, + silenced boolean NOT NULL, + execution_error text NOT NULL, + eval_data text, + eval_date timestamp without time zone, + new_state_date timestamp without time zone NOT NULL, + state_changes integer NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + "for" bigint +); + + +ALTER TABLE public.alert OWNER TO postgres; + +-- +-- TOC entry 285 (class 1259 OID 20847) +-- Name: alert_configuration; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.alert_configuration ( + id integer NOT NULL, + alertmanager_configuration text NOT NULL, + configuration_version character varying(3) NOT NULL, + created_at integer NOT NULL, + "default" boolean DEFAULT false NOT NULL, + org_id bigint DEFAULT 0 NOT NULL, + configuration_hash character varying(32) DEFAULT 'not-yet-calculated'::character varying NOT NULL +); + + +ALTER TABLE public.alert_configuration OWNER TO postgres; + +-- +-- TOC entry 293 (class 1259 OID 20891) +-- Name: alert_configuration_history; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.alert_configuration_history ( + id integer NOT NULL, + org_id bigint DEFAULT 0 NOT NULL, + alertmanager_configuration text NOT NULL, + configuration_hash character varying(32) DEFAULT 'not-yet-calculated'::character varying NOT NULL, + configuration_version character varying(3) NOT NULL, + created_at integer NOT NULL, + "default" boolean DEFAULT false NOT NULL, + last_applied integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.alert_configuration_history OWNER TO postgres; + +-- +-- TOC entry 292 (class 1259 OID 20890) +-- Name: alert_configuration_history_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.alert_configuration_history_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.alert_configuration_history_id_seq OWNER TO postgres; + +-- +-- TOC entry 4084 (class 0 OID 0) +-- Dependencies: 292 +-- Name: alert_configuration_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.alert_configuration_history_id_seq OWNED BY public.alert_configuration_history.id; + + +-- +-- TOC entry 284 (class 1259 OID 20846) +-- Name: alert_configuration_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.alert_configuration_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.alert_configuration_id_seq OWNER TO postgres; + +-- +-- TOC entry 4085 (class 0 OID 0) +-- Dependencies: 284 +-- Name: alert_configuration_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.alert_configuration_id_seq OWNED BY public.alert_configuration.id; + + +-- +-- TOC entry 244 (class 1259 OID 20525) +-- Name: alert_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.alert_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.alert_id_seq OWNER TO postgres; + +-- +-- TOC entry 4086 (class 0 OID 0) +-- Dependencies: 244 +-- Name: alert_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.alert_id_seq OWNED BY public.alert.id; + + +-- +-- TOC entry 291 (class 1259 OID 20881) +-- Name: alert_image; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.alert_image ( + id integer NOT NULL, + token character varying(190) NOT NULL, + path character varying(190) NOT NULL, + url character varying(2048) NOT NULL, + created_at timestamp without time zone NOT NULL, + expires_at timestamp without time zone NOT NULL +); + + +ALTER TABLE public.alert_image OWNER TO postgres; + +-- +-- TOC entry 290 (class 1259 OID 20880) +-- Name: alert_image_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.alert_image_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.alert_image_id_seq OWNER TO postgres; + +-- +-- TOC entry 4087 (class 0 OID 0) +-- Dependencies: 290 +-- Name: alert_image_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.alert_image_id_seq OWNED BY public.alert_image.id; + + +-- +-- TOC entry 279 (class 1259 OID 20792) +-- Name: alert_instance; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.alert_instance ( + rule_org_id bigint NOT NULL, + rule_uid character varying(40) DEFAULT 0 NOT NULL, + labels text NOT NULL, + labels_hash character varying(190) NOT NULL, + current_state character varying(190) NOT NULL, + current_state_since bigint NOT NULL, + last_eval_time bigint NOT NULL, + current_state_end bigint DEFAULT 0 NOT NULL, + current_reason character varying(190) +); + + +ALTER TABLE public.alert_instance OWNER TO postgres; + +-- +-- TOC entry 249 (class 1259 OID 20550) +-- Name: alert_notification; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.alert_notification ( + id integer NOT NULL, + org_id bigint NOT NULL, + name character varying(190) NOT NULL, + type character varying(255) NOT NULL, + settings text NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + is_default boolean DEFAULT false NOT NULL, + frequency bigint, + send_reminder boolean DEFAULT false, + disable_resolve_message boolean DEFAULT false NOT NULL, + uid character varying(40), + secure_settings text +); + + +ALTER TABLE public.alert_notification OWNER TO postgres; + +-- +-- TOC entry 248 (class 1259 OID 20549) +-- Name: alert_notification_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.alert_notification_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.alert_notification_id_seq OWNER TO postgres; + +-- +-- TOC entry 4088 (class 0 OID 0) +-- Dependencies: 248 +-- Name: alert_notification_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.alert_notification_id_seq OWNED BY public.alert_notification.id; + + +-- +-- TOC entry 251 (class 1259 OID 20573) +-- Name: alert_notification_state; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.alert_notification_state ( + id integer NOT NULL, + org_id bigint NOT NULL, + alert_id bigint NOT NULL, + notifier_id bigint NOT NULL, + state character varying(50) NOT NULL, + version bigint NOT NULL, + updated_at bigint NOT NULL, + alert_rule_state_updated_version bigint NOT NULL +); + + +ALTER TABLE public.alert_notification_state OWNER TO postgres; + +-- +-- TOC entry 250 (class 1259 OID 20572) +-- Name: alert_notification_state_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.alert_notification_state_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.alert_notification_state_id_seq OWNER TO postgres; + +-- +-- TOC entry 4089 (class 0 OID 0) +-- Dependencies: 250 +-- Name: alert_notification_state_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.alert_notification_state_id_seq OWNED BY public.alert_notification_state.id; + + +-- +-- TOC entry 281 (class 1259 OID 20806) +-- Name: alert_rule; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.alert_rule ( + id integer NOT NULL, + org_id bigint NOT NULL, + title character varying(190) NOT NULL, + condition character varying(190) NOT NULL, + data text NOT NULL, + updated timestamp without time zone NOT NULL, + interval_seconds bigint DEFAULT 60 NOT NULL, + version integer DEFAULT 0 NOT NULL, + uid character varying(40) DEFAULT 0 NOT NULL, + namespace_uid character varying(40) NOT NULL, + rule_group character varying(190) NOT NULL, + no_data_state character varying(15) DEFAULT 'NoData'::character varying NOT NULL, + exec_err_state character varying(15) DEFAULT 'Alerting'::character varying NOT NULL, + "for" bigint DEFAULT 0 NOT NULL, + annotations text, + labels text, + dashboard_uid character varying(40), + panel_id bigint, + rule_group_idx integer DEFAULT 1 NOT NULL, + is_paused boolean DEFAULT false NOT NULL +); + + +ALTER TABLE public.alert_rule OWNER TO postgres; + +-- +-- TOC entry 280 (class 1259 OID 20805) +-- Name: alert_rule_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.alert_rule_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.alert_rule_id_seq OWNER TO postgres; + +-- +-- TOC entry 4090 (class 0 OID 0) +-- Dependencies: 280 +-- Name: alert_rule_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.alert_rule_id_seq OWNED BY public.alert_rule.id; + + +-- +-- TOC entry 247 (class 1259 OID 20542) +-- Name: alert_rule_tag; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.alert_rule_tag ( + id integer NOT NULL, + alert_id bigint NOT NULL, + tag_id bigint NOT NULL +); + + +ALTER TABLE public.alert_rule_tag OWNER TO postgres; + +-- +-- TOC entry 246 (class 1259 OID 20541) +-- Name: alert_rule_tag_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.alert_rule_tag_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.alert_rule_tag_id_seq OWNER TO postgres; + +-- +-- TOC entry 4091 (class 0 OID 0) +-- Dependencies: 246 +-- Name: alert_rule_tag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.alert_rule_tag_id_seq OWNED BY public.alert_rule_tag.id; + + +-- +-- TOC entry 283 (class 1259 OID 20829) +-- Name: alert_rule_version; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.alert_rule_version ( + id integer NOT NULL, + rule_org_id bigint NOT NULL, + rule_uid character varying(40) DEFAULT 0 NOT NULL, + rule_namespace_uid character varying(40) NOT NULL, + rule_group character varying(190) NOT NULL, + parent_version integer NOT NULL, + restored_from integer NOT NULL, + version integer NOT NULL, + created timestamp without time zone NOT NULL, + title character varying(190) NOT NULL, + condition character varying(190) NOT NULL, + data text NOT NULL, + interval_seconds bigint NOT NULL, + no_data_state character varying(15) DEFAULT 'NoData'::character varying NOT NULL, + exec_err_state character varying(15) DEFAULT 'Alerting'::character varying NOT NULL, + "for" bigint DEFAULT 0 NOT NULL, + annotations text, + labels text, + rule_group_idx integer DEFAULT 1 NOT NULL, + is_paused boolean DEFAULT false NOT NULL +); + + +ALTER TABLE public.alert_rule_version OWNER TO postgres; + +-- +-- TOC entry 282 (class 1259 OID 20828) +-- Name: alert_rule_version_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.alert_rule_version_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.alert_rule_version_id_seq OWNER TO postgres; + +-- +-- TOC entry 4092 (class 0 OID 0) +-- Dependencies: 282 +-- Name: alert_rule_version_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.alert_rule_version_id_seq OWNED BY public.alert_rule_version.id; + + +-- +-- TOC entry 253 (class 1259 OID 20584) +-- Name: annotation; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.annotation ( + id integer NOT NULL, + org_id bigint NOT NULL, + alert_id bigint, + user_id bigint, + dashboard_id bigint, + panel_id bigint, + category_id bigint, + type character varying(25) NOT NULL, + title text NOT NULL, + text text NOT NULL, + metric character varying(255), + prev_state character varying(25) NOT NULL, + new_state character varying(25) NOT NULL, + data text NOT NULL, + epoch bigint NOT NULL, + region_id bigint DEFAULT 0, + tags character varying(4096), + created bigint DEFAULT 0, + updated bigint DEFAULT 0, + epoch_end bigint DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.annotation OWNER TO postgres; + +-- +-- TOC entry 252 (class 1259 OID 20583) +-- Name: annotation_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.annotation_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.annotation_id_seq OWNER TO postgres; + +-- +-- TOC entry 4093 (class 0 OID 0) +-- Dependencies: 252 +-- Name: annotation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.annotation_id_seq OWNED BY public.annotation.id; + + +-- +-- TOC entry 255 (class 1259 OID 20604) +-- Name: annotation_tag; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.annotation_tag ( + id integer NOT NULL, + annotation_id bigint NOT NULL, + tag_id bigint NOT NULL +); + + +ALTER TABLE public.annotation_tag OWNER TO postgres; + +-- +-- TOC entry 254 (class 1259 OID 20603) +-- Name: annotation_tag_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.annotation_tag_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.annotation_tag_id_seq OWNER TO postgres; + +-- +-- TOC entry 4094 (class 0 OID 0) +-- Dependencies: 254 +-- Name: annotation_tag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.annotation_tag_id_seq OWNED BY public.annotation_tag.id; + + +-- +-- TOC entry 230 (class 1259 OID 20426) +-- Name: api_key; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.api_key ( + id integer NOT NULL, + org_id bigint NOT NULL, + name character varying(190) NOT NULL, + key character varying(190) NOT NULL, + role character varying(255) NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + expires bigint, + service_account_id bigint, + last_used_at timestamp without time zone, + is_revoked boolean DEFAULT false +); + + +ALTER TABLE public.api_key OWNER TO postgres; + +-- +-- TOC entry 229 (class 1259 OID 20425) +-- Name: api_key_id_seq1; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.api_key_id_seq1 + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.api_key_id_seq1 OWNER TO postgres; + +-- +-- TOC entry 4095 (class 0 OID 0) +-- Dependencies: 229 +-- Name: api_key_id_seq1; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.api_key_id_seq1 OWNED BY public.api_key.id; + + +-- +-- TOC entry 312 (class 1259 OID 20992) +-- Name: builtin_role; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.builtin_role ( + id integer NOT NULL, + role character varying(190) NOT NULL, + role_id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + org_id bigint DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.builtin_role OWNER TO postgres; + +-- +-- TOC entry 311 (class 1259 OID 20991) +-- Name: builtin_role_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.builtin_role_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.builtin_role_id_seq OWNER TO postgres; + +-- +-- TOC entry 4096 (class 0 OID 0) +-- Dependencies: 311 +-- Name: builtin_role_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.builtin_role_id_seq OWNED BY public.builtin_role.id; + + +-- +-- TOC entry 276 (class 1259 OID 20729) +-- Name: cache_data; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.cache_data ( + cache_key character varying(168) NOT NULL, + data bytea NOT NULL, + expires integer NOT NULL, + created_at integer NOT NULL +); + + +ALTER TABLE public.cache_data OWNER TO postgres; + +-- +-- TOC entry 318 (class 1259 OID 21053) +-- Name: correlation; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.correlation ( + uid character varying(40) NOT NULL, + source_uid character varying(40) NOT NULL, + target_uid character varying(40), + label text NOT NULL, + description text NOT NULL, + config text +); + + +ALTER TABLE public.correlation OWNER TO postgres; + +-- +-- TOC entry 224 (class 1259 OID 20332) +-- Name: dashboard; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.dashboard ( + id integer NOT NULL, + version integer NOT NULL, + slug character varying(189) NOT NULL, + title character varying(189) NOT NULL, + data text NOT NULL, + org_id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + updated_by integer, + created_by integer, + gnet_id bigint, + plugin_id character varying(189), + folder_id bigint DEFAULT 0 NOT NULL, + is_folder boolean DEFAULT false NOT NULL, + has_acl boolean DEFAULT false NOT NULL, + uid character varying(40), + is_public boolean DEFAULT false NOT NULL +); + + +ALTER TABLE public.dashboard OWNER TO postgres; + +-- +-- TOC entry 265 (class 1259 OID 20658) +-- Name: dashboard_acl; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.dashboard_acl ( + id integer NOT NULL, + org_id bigint NOT NULL, + dashboard_id bigint NOT NULL, + user_id bigint, + team_id bigint, + permission smallint DEFAULT 4 NOT NULL, + role character varying(20), + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL +); + + +ALTER TABLE public.dashboard_acl OWNER TO postgres; + +-- +-- TOC entry 264 (class 1259 OID 20657) +-- Name: dashboard_acl_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.dashboard_acl_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.dashboard_acl_id_seq OWNER TO postgres; + +-- +-- TOC entry 4097 (class 0 OID 0) +-- Dependencies: 264 +-- Name: dashboard_acl_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.dashboard_acl_id_seq OWNED BY public.dashboard_acl.id; + + +-- +-- TOC entry 223 (class 1259 OID 20331) +-- Name: dashboard_id_seq1; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.dashboard_id_seq1 + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.dashboard_id_seq1 OWNER TO postgres; + +-- +-- TOC entry 4098 (class 0 OID 0) +-- Dependencies: 223 +-- Name: dashboard_id_seq1; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.dashboard_id_seq1 OWNED BY public.dashboard.id; + + +-- +-- TOC entry 226 (class 1259 OID 20372) +-- Name: dashboard_provisioning; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.dashboard_provisioning ( + id integer NOT NULL, + dashboard_id bigint, + name character varying(150) NOT NULL, + external_id text NOT NULL, + updated integer DEFAULT 0 NOT NULL, + check_sum character varying(32) +); + + +ALTER TABLE public.dashboard_provisioning OWNER TO postgres; + +-- +-- TOC entry 225 (class 1259 OID 20371) +-- Name: dashboard_provisioning_id_seq1; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.dashboard_provisioning_id_seq1 + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.dashboard_provisioning_id_seq1 OWNER TO postgres; + +-- +-- TOC entry 4099 (class 0 OID 0) +-- Dependencies: 225 +-- Name: dashboard_provisioning_id_seq1; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.dashboard_provisioning_id_seq1 OWNED BY public.dashboard_provisioning.id; + + +-- +-- TOC entry 321 (class 1259 OID 21089) +-- Name: dashboard_public; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.dashboard_public ( + uid character varying(40) NOT NULL, + dashboard_uid character varying(40) NOT NULL, + org_id bigint NOT NULL, + time_settings text, + template_variables text, + access_token character varying(32) NOT NULL, + created_by integer NOT NULL, + updated_by integer, + created_at timestamp without time zone NOT NULL, + updated_at timestamp without time zone, + is_enabled boolean DEFAULT false NOT NULL, + annotations_enabled boolean DEFAULT false NOT NULL, + time_selection_enabled boolean DEFAULT false NOT NULL, + share character varying(64) DEFAULT 'public'::character varying NOT NULL +); + + +ALTER TABLE public.dashboard_public OWNER TO postgres; + +-- +-- TOC entry 232 (class 1259 OID 20450) +-- Name: dashboard_snapshot; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.dashboard_snapshot ( + id integer NOT NULL, + name character varying(255) NOT NULL, + key character varying(190) NOT NULL, + delete_key character varying(190) NOT NULL, + org_id bigint NOT NULL, + user_id bigint NOT NULL, + external boolean NOT NULL, + external_url character varying(255) NOT NULL, + dashboard text NOT NULL, + expires timestamp without time zone NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + external_delete_url character varying(255), + dashboard_encrypted bytea +); + + +ALTER TABLE public.dashboard_snapshot OWNER TO postgres; + +-- +-- TOC entry 231 (class 1259 OID 20449) +-- Name: dashboard_snapshot_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.dashboard_snapshot_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.dashboard_snapshot_id_seq OWNER TO postgres; + +-- +-- TOC entry 4100 (class 0 OID 0) +-- Dependencies: 231 +-- Name: dashboard_snapshot_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.dashboard_snapshot_id_seq OWNED BY public.dashboard_snapshot.id; + + +-- +-- TOC entry 222 (class 1259 OID 20324) +-- Name: dashboard_tag; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.dashboard_tag ( + id integer NOT NULL, + dashboard_id bigint NOT NULL, + term character varying(50) NOT NULL +); + + +ALTER TABLE public.dashboard_tag OWNER TO postgres; + +-- +-- TOC entry 221 (class 1259 OID 20323) +-- Name: dashboard_tag_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.dashboard_tag_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.dashboard_tag_id_seq OWNER TO postgres; + +-- +-- TOC entry 4101 (class 0 OID 0) +-- Dependencies: 221 +-- Name: dashboard_tag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.dashboard_tag_id_seq OWNED BY public.dashboard_tag.id; + + +-- +-- TOC entry 259 (class 1259 OID 20628) +-- Name: dashboard_version; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.dashboard_version ( + id integer NOT NULL, + dashboard_id bigint NOT NULL, + parent_version integer NOT NULL, + restored_from integer NOT NULL, + version integer NOT NULL, + created timestamp without time zone NOT NULL, + created_by bigint NOT NULL, + message text NOT NULL, + data text NOT NULL +); + + +ALTER TABLE public.dashboard_version OWNER TO postgres; + +-- +-- TOC entry 258 (class 1259 OID 20627) +-- Name: dashboard_version_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.dashboard_version_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.dashboard_version_id_seq OWNER TO postgres; + +-- +-- TOC entry 4102 (class 0 OID 0) +-- Dependencies: 258 +-- Name: dashboard_version_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.dashboard_version_id_seq OWNED BY public.dashboard_version.id; + + +-- +-- TOC entry 298 (class 1259 OID 20923) +-- Name: data_keys; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.data_keys ( + name character varying(100) NOT NULL, + active boolean NOT NULL, + scope character varying(30) NOT NULL, + provider character varying(50) NOT NULL, + encrypted_data bytea NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + label character varying(100) DEFAULT ''::character varying NOT NULL +); + + +ALTER TABLE public.data_keys OWNER TO postgres; + +-- +-- TOC entry 228 (class 1259 OID 20398) +-- Name: data_source; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.data_source ( + id integer NOT NULL, + org_id bigint NOT NULL, + version integer NOT NULL, + type character varying(255) NOT NULL, + name character varying(190) NOT NULL, + access character varying(255) NOT NULL, + url character varying(255) NOT NULL, + password character varying(255), + "user" character varying(255), + database character varying(255), + basic_auth boolean NOT NULL, + basic_auth_user character varying(255), + basic_auth_password character varying(255), + is_default boolean NOT NULL, + json_data text, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + with_credentials boolean DEFAULT false NOT NULL, + secure_json_data text, + read_only boolean, + uid character varying(40) DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.data_source OWNER TO postgres; + +-- +-- TOC entry 227 (class 1259 OID 20397) +-- Name: data_source_id_seq1; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.data_source_id_seq1 + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.data_source_id_seq1 OWNER TO postgres; + +-- +-- TOC entry 4103 (class 0 OID 0) +-- Dependencies: 227 +-- Name: data_source_id_seq1; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.data_source_id_seq1 OWNED BY public.data_source.id; + + +-- +-- TOC entry 320 (class 1259 OID 21063) +-- Name: entity_event; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.entity_event ( + id integer NOT NULL, + entity_id character varying(1024) NOT NULL, + event_type character varying(8) NOT NULL, + created bigint NOT NULL +); + + +ALTER TABLE public.entity_event OWNER TO postgres; + +-- +-- TOC entry 319 (class 1259 OID 21062) +-- Name: entity_event_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.entity_event_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.entity_event_id_seq OWNER TO postgres; + +-- +-- TOC entry 4104 (class 0 OID 0) +-- Dependencies: 319 +-- Name: entity_event_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.entity_event_id_seq OWNED BY public.entity_event.id; + + +-- +-- TOC entry 322 (class 1259 OID 21103) +-- Name: file; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.file ( + path character varying(1024) NOT NULL COLLATE pg_catalog."C", + path_hash character varying(64) NOT NULL, + parent_folder_path_hash character varying(64) NOT NULL, + contents bytea NOT NULL, + etag character varying(32) NOT NULL, + cache_control character varying(128) NOT NULL, + content_disposition character varying(128) NOT NULL, + updated timestamp without time zone NOT NULL, + created timestamp without time zone NOT NULL, + size bigint NOT NULL, + mime_type character varying(255) NOT NULL +); + + +ALTER TABLE public.file OWNER TO postgres; + +-- +-- TOC entry 323 (class 1259 OID 21110) +-- Name: file_meta; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.file_meta ( + path_hash character varying(64) NOT NULL, + key character varying(191) NOT NULL, + value character varying(1024) NOT NULL +); + + +ALTER TABLE public.file_meta OWNER TO postgres; + +-- +-- TOC entry 326 (class 1259 OID 21135) +-- Name: folder; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.folder ( + id integer NOT NULL, + uid character varying(40) NOT NULL, + org_id bigint NOT NULL, + title character varying(189) NOT NULL, + description character varying(255), + parent_uid character varying(40), + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL +); + + +ALTER TABLE public.folder OWNER TO postgres; + +-- +-- TOC entry 325 (class 1259 OID 21134) +-- Name: folder_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.folder_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.folder_id_seq OWNER TO postgres; + +-- +-- TOC entry 4105 (class 0 OID 0) +-- Dependencies: 325 +-- Name: folder_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.folder_id_seq OWNED BY public.folder.id; + + +-- +-- TOC entry 302 (class 1259 OID 20941) +-- Name: kv_store; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.kv_store ( + id integer NOT NULL, + org_id bigint NOT NULL, + namespace character varying(190) NOT NULL, + key character varying(190) NOT NULL, + value text NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL +); + + +ALTER TABLE public.kv_store OWNER TO postgres; + +-- +-- TOC entry 301 (class 1259 OID 20940) +-- Name: kv_store_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.kv_store_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.kv_store_id_seq OWNER TO postgres; + +-- +-- TOC entry 4106 (class 0 OID 0) +-- Dependencies: 301 +-- Name: kv_store_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.kv_store_id_seq OWNED BY public.kv_store.id; + + +-- +-- TOC entry 295 (class 1259 OID 20905) +-- Name: library_element; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.library_element ( + id integer NOT NULL, + org_id bigint NOT NULL, + folder_id bigint NOT NULL, + uid character varying(40) NOT NULL, + name character varying(150) NOT NULL, + kind bigint NOT NULL, + type character varying(40) NOT NULL, + description character varying(2048) NOT NULL, + model text NOT NULL, + created timestamp without time zone NOT NULL, + created_by bigint NOT NULL, + updated timestamp without time zone NOT NULL, + updated_by bigint NOT NULL, + version bigint NOT NULL +); + + +ALTER TABLE public.library_element OWNER TO postgres; + +-- +-- TOC entry 297 (class 1259 OID 20915) +-- Name: library_element_connection; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.library_element_connection ( + id integer NOT NULL, + element_id bigint NOT NULL, + kind bigint NOT NULL, + connection_id bigint NOT NULL, + created timestamp without time zone NOT NULL, + created_by bigint NOT NULL +); + + +ALTER TABLE public.library_element_connection OWNER TO postgres; + +-- +-- TOC entry 296 (class 1259 OID 20914) +-- Name: library_element_connection_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.library_element_connection_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.library_element_connection_id_seq OWNER TO postgres; + +-- +-- TOC entry 4107 (class 0 OID 0) +-- Dependencies: 296 +-- Name: library_element_connection_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.library_element_connection_id_seq OWNED BY public.library_element_connection.id; + + +-- +-- TOC entry 294 (class 1259 OID 20904) +-- Name: library_element_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.library_element_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.library_element_id_seq OWNER TO postgres; + +-- +-- TOC entry 4108 (class 0 OID 0) +-- Dependencies: 294 +-- Name: library_element_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.library_element_id_seq OWNED BY public.library_element.id; + + +-- +-- TOC entry 269 (class 1259 OID 20689) +-- Name: login_attempt; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.login_attempt ( + id integer NOT NULL, + username character varying(190) NOT NULL, + ip_address character varying(30) NOT NULL, + created integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.login_attempt OWNER TO postgres; + +-- +-- TOC entry 268 (class 1259 OID 20688) +-- Name: login_attempt_id_seq1; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.login_attempt_id_seq1 + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.login_attempt_id_seq1 OWNER TO postgres; + +-- +-- TOC entry 4109 (class 0 OID 0) +-- Dependencies: 268 +-- Name: login_attempt_id_seq1; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.login_attempt_id_seq1 OWNED BY public.login_attempt.id; + + +-- +-- TOC entry 210 (class 1259 OID 20216) +-- Name: migration_log; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.migration_log ( + id integer NOT NULL, + migration_id character varying(255) NOT NULL, + sql text NOT NULL, + success boolean NOT NULL, + error text NOT NULL, + "timestamp" timestamp without time zone NOT NULL +); + + +ALTER TABLE public.migration_log OWNER TO postgres; + +-- +-- TOC entry 209 (class 1259 OID 20215) +-- Name: migration_log_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.migration_log_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.migration_log_id_seq OWNER TO postgres; + +-- +-- TOC entry 4110 (class 0 OID 0) +-- Dependencies: 209 +-- Name: migration_log_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.migration_log_id_seq OWNED BY public.migration_log.id; + + +-- +-- TOC entry 287 (class 1259 OID 20860) +-- Name: ngalert_configuration; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.ngalert_configuration ( + id integer NOT NULL, + org_id bigint NOT NULL, + alertmanagers text, + created_at integer NOT NULL, + updated_at integer NOT NULL, + send_alerts_to smallint DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.ngalert_configuration OWNER TO postgres; + +-- +-- TOC entry 286 (class 1259 OID 20859) +-- Name: ngalert_configuration_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.ngalert_configuration_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.ngalert_configuration_id_seq OWNER TO postgres; + +-- +-- TOC entry 4111 (class 0 OID 0) +-- Dependencies: 286 +-- Name: ngalert_configuration_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.ngalert_configuration_id_seq OWNED BY public.ngalert_configuration.id; + + +-- +-- TOC entry 218 (class 1259 OID 20292) +-- Name: org; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.org ( + id integer NOT NULL, + version integer NOT NULL, + name character varying(190) NOT NULL, + address1 character varying(255), + address2 character varying(255), + city character varying(255), + state character varying(255), + zip_code character varying(50), + country character varying(255), + billing_email character varying(255), + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL +); + + +ALTER TABLE public.org OWNER TO postgres; + +-- +-- TOC entry 217 (class 1259 OID 20291) +-- Name: org_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.org_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.org_id_seq OWNER TO postgres; + +-- +-- TOC entry 4112 (class 0 OID 0) +-- Dependencies: 217 +-- Name: org_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.org_id_seq OWNED BY public.org.id; + + +-- +-- TOC entry 220 (class 1259 OID 20302) +-- Name: org_user; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.org_user ( + id integer NOT NULL, + org_id bigint NOT NULL, + user_id bigint NOT NULL, + role character varying(20) NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL +); + + +ALTER TABLE public.org_user OWNER TO postgres; + +-- +-- TOC entry 219 (class 1259 OID 20301) +-- Name: org_user_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.org_user_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.org_user_id_seq OWNER TO postgres; + +-- +-- TOC entry 4113 (class 0 OID 0) +-- Dependencies: 219 +-- Name: org_user_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.org_user_id_seq OWNED BY public.org_user.id; + + +-- +-- TOC entry 304 (class 1259 OID 20951) +-- Name: permission; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.permission ( + id integer NOT NULL, + role_id bigint NOT NULL, + action character varying(190) NOT NULL, + scope character varying(190) NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL +); + + +ALTER TABLE public.permission OWNER TO postgres; + +-- +-- TOC entry 303 (class 1259 OID 20950) +-- Name: permission_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.permission_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.permission_id_seq OWNER TO postgres; + +-- +-- TOC entry 4114 (class 0 OID 0) +-- Dependencies: 303 +-- Name: permission_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.permission_id_seq OWNED BY public.permission.id; + + +-- +-- TOC entry 239 (class 1259 OID 20492) +-- Name: playlist; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.playlist ( + id integer NOT NULL, + name character varying(255) NOT NULL, + "interval" character varying(255) NOT NULL, + org_id bigint NOT NULL, + uid character varying(80) DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.playlist OWNER TO postgres; + +-- +-- TOC entry 238 (class 1259 OID 20491) +-- Name: playlist_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.playlist_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.playlist_id_seq OWNER TO postgres; + +-- +-- TOC entry 4115 (class 0 OID 0) +-- Dependencies: 238 +-- Name: playlist_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.playlist_id_seq OWNED BY public.playlist.id; + + +-- +-- TOC entry 241 (class 1259 OID 20504) +-- Name: playlist_item; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.playlist_item ( + id integer NOT NULL, + playlist_id bigint NOT NULL, + type character varying(255) NOT NULL, + value text NOT NULL, + title text NOT NULL, + "order" integer NOT NULL +); + + +ALTER TABLE public.playlist_item OWNER TO postgres; + +-- +-- TOC entry 240 (class 1259 OID 20501) +-- Name: playlist_item_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.playlist_item_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.playlist_item_id_seq OWNER TO postgres; + +-- +-- TOC entry 4116 (class 0 OID 0) +-- Dependencies: 240 +-- Name: playlist_item_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.playlist_item_id_seq OWNED BY public.playlist_item.id; + + +-- +-- TOC entry 236 (class 1259 OID 20474) +-- Name: plugin_setting; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.plugin_setting ( + id integer NOT NULL, + org_id bigint, + plugin_id character varying(190) NOT NULL, + enabled boolean NOT NULL, + pinned boolean NOT NULL, + json_data text, + secure_json_data text, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + plugin_version character varying(50) +); + + +ALTER TABLE public.plugin_setting OWNER TO postgres; + +-- +-- TOC entry 235 (class 1259 OID 20473) +-- Name: plugin_setting_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.plugin_setting_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.plugin_setting_id_seq OWNER TO postgres; + +-- +-- TOC entry 4117 (class 0 OID 0) +-- Dependencies: 235 +-- Name: plugin_setting_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.plugin_setting_id_seq OWNED BY public.plugin_setting.id; + + +-- +-- TOC entry 243 (class 1259 OID 20515) +-- Name: preferences; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.preferences ( + id integer NOT NULL, + org_id bigint NOT NULL, + user_id bigint NOT NULL, + version integer NOT NULL, + home_dashboard_id bigint NOT NULL, + timezone character varying(50) NOT NULL, + theme character varying(20) NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + team_id bigint, + week_start character varying(10), + json_data text +); + + +ALTER TABLE public.preferences OWNER TO postgres; + +-- +-- TOC entry 242 (class 1259 OID 20514) +-- Name: preferences_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.preferences_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.preferences_id_seq OWNER TO postgres; + +-- +-- TOC entry 4118 (class 0 OID 0) +-- Dependencies: 242 +-- Name: preferences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.preferences_id_seq OWNED BY public.preferences.id; + + +-- +-- TOC entry 289 (class 1259 OID 20871) +-- Name: provenance_type; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.provenance_type ( + id integer NOT NULL, + org_id bigint NOT NULL, + record_key character varying(190) NOT NULL, + record_type character varying(190) NOT NULL, + provenance character varying(190) NOT NULL +); + + +ALTER TABLE public.provenance_type OWNER TO postgres; + +-- +-- TOC entry 288 (class 1259 OID 20870) +-- Name: provenance_type_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.provenance_type_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.provenance_type_id_seq OWNER TO postgres; + +-- +-- TOC entry 4119 (class 0 OID 0) +-- Dependencies: 288 +-- Name: provenance_type_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.provenance_type_id_seq OWNED BY public.provenance_type.id; + + +-- +-- TOC entry 315 (class 1259 OID 21012) +-- Name: query_history; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.query_history ( + id integer NOT NULL, + uid character varying(40) NOT NULL, + org_id bigint NOT NULL, + datasource_uid character varying(40) NOT NULL, + created_by bigint NOT NULL, + created_at integer NOT NULL, + comment text NOT NULL, + queries text NOT NULL +); + + +ALTER TABLE public.query_history OWNER TO postgres; + +-- +-- TOC entry 314 (class 1259 OID 21011) +-- Name: query_history_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.query_history_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.query_history_id_seq OWNER TO postgres; + +-- +-- TOC entry 4120 (class 0 OID 0) +-- Dependencies: 314 +-- Name: query_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.query_history_id_seq OWNED BY public.query_history.id; + + +-- +-- TOC entry 317 (class 1259 OID 21039) +-- Name: query_history_star; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.query_history_star ( + id integer NOT NULL, + query_uid character varying(40) NOT NULL, + user_id bigint NOT NULL, + org_id bigint DEFAULT 1 NOT NULL +); + + +ALTER TABLE public.query_history_star OWNER TO postgres; + +-- +-- TOC entry 316 (class 1259 OID 21038) +-- Name: query_history_star_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.query_history_star_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.query_history_star_id_seq OWNER TO postgres; + +-- +-- TOC entry 4121 (class 0 OID 0) +-- Dependencies: 316 +-- Name: query_history_star_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.query_history_star_id_seq OWNED BY public.query_history_star.id; + + +-- +-- TOC entry 234 (class 1259 OID 20465) +-- Name: quota; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.quota ( + id integer NOT NULL, + org_id bigint, + user_id bigint, + target character varying(190) NOT NULL, + "limit" bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL +); + + +ALTER TABLE public.quota OWNER TO postgres; + +-- +-- TOC entry 233 (class 1259 OID 20464) +-- Name: quota_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.quota_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.quota_id_seq OWNER TO postgres; + +-- +-- TOC entry 4122 (class 0 OID 0) +-- Dependencies: 233 +-- Name: quota_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.quota_id_seq OWNED BY public.quota.id; + + +-- +-- TOC entry 306 (class 1259 OID 20960) +-- Name: role; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.role ( + id integer NOT NULL, + name character varying(190) NOT NULL, + description text, + version bigint NOT NULL, + org_id bigint NOT NULL, + uid character varying(40) NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + display_name character varying(190), + group_name character varying(190), + hidden boolean DEFAULT false NOT NULL +); + + +ALTER TABLE public.role OWNER TO postgres; + +-- +-- TOC entry 305 (class 1259 OID 20959) +-- Name: role_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.role_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.role_id_seq OWNER TO postgres; + +-- +-- TOC entry 4123 (class 0 OID 0) +-- Dependencies: 305 +-- Name: role_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.role_id_seq OWNED BY public.role.id; + + +-- +-- TOC entry 300 (class 1259 OID 20931) +-- Name: secrets; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.secrets ( + id integer NOT NULL, + org_id bigint NOT NULL, + namespace character varying(255) NOT NULL, + type character varying(255) NOT NULL, + value text, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL +); + + +ALTER TABLE public.secrets OWNER TO postgres; + +-- +-- TOC entry 299 (class 1259 OID 20930) +-- Name: secrets_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.secrets_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.secrets_id_seq OWNER TO postgres; + +-- +-- TOC entry 4124 (class 0 OID 0) +-- Dependencies: 299 +-- Name: secrets_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.secrets_id_seq OWNED BY public.secrets.id; + + +-- +-- TOC entry 313 (class 1259 OID 21004) +-- Name: seed_assignment; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.seed_assignment ( + builtin_role character varying(190) NOT NULL, + role_name character varying(190), + action character varying(190), + scope character varying(190), + id integer NOT NULL +); + + +ALTER TABLE public.seed_assignment OWNER TO postgres; + +-- +-- TOC entry 324 (class 1259 OID 21122) +-- Name: seed_assignment_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.seed_assignment_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.seed_assignment_id_seq OWNER TO postgres; + +-- +-- TOC entry 4125 (class 0 OID 0) +-- Dependencies: 324 +-- Name: seed_assignment_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.seed_assignment_id_seq OWNED BY public.seed_assignment.id; + + +-- +-- TOC entry 273 (class 1259 OID 20710) +-- Name: server_lock; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.server_lock ( + id integer NOT NULL, + operation_uid character varying(100) NOT NULL, + version bigint NOT NULL, + last_execution bigint NOT NULL +); + + +ALTER TABLE public.server_lock OWNER TO postgres; + +-- +-- TOC entry 272 (class 1259 OID 20709) +-- Name: server_lock_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.server_lock_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.server_lock_id_seq OWNER TO postgres; + +-- +-- TOC entry 4126 (class 0 OID 0) +-- Dependencies: 272 +-- Name: server_lock_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.server_lock_id_seq OWNED BY public.server_lock.id; + + +-- +-- TOC entry 237 (class 1259 OID 20484) +-- Name: session; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.session ( + key character(16) NOT NULL, + data bytea NOT NULL, + expiry integer NOT NULL +); + + +ALTER TABLE public.session OWNER TO postgres; + +-- +-- TOC entry 278 (class 1259 OID 20738) +-- Name: short_url; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.short_url ( + id integer NOT NULL, + org_id bigint NOT NULL, + uid character varying(40) NOT NULL, + path text NOT NULL, + created_by bigint NOT NULL, + created_at integer NOT NULL, + last_seen_at integer +); + + +ALTER TABLE public.short_url OWNER TO postgres; + +-- +-- TOC entry 277 (class 1259 OID 20737) +-- Name: short_url_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.short_url_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.short_url_id_seq OWNER TO postgres; + +-- +-- TOC entry 4127 (class 0 OID 0) +-- Dependencies: 277 +-- Name: short_url_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.short_url_id_seq OWNED BY public.short_url.id; + + +-- +-- TOC entry 216 (class 1259 OID 20284) +-- Name: star; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.star ( + id integer NOT NULL, + user_id bigint NOT NULL, + dashboard_id bigint NOT NULL +); + + +ALTER TABLE public.star OWNER TO postgres; + +-- +-- TOC entry 215 (class 1259 OID 20283) +-- Name: star_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.star_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.star_id_seq OWNER TO postgres; + +-- +-- TOC entry 4128 (class 0 OID 0) +-- Dependencies: 215 +-- Name: star_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.star_id_seq OWNED BY public.star.id; + + +-- +-- TOC entry 267 (class 1259 OID 20673) +-- Name: tag; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.tag ( + id integer NOT NULL, + key character varying(100) NOT NULL, + value character varying(100) NOT NULL +); + + +ALTER TABLE public.tag OWNER TO postgres; + +-- +-- TOC entry 266 (class 1259 OID 20672) +-- Name: tag_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.tag_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.tag_id_seq OWNER TO postgres; + +-- +-- TOC entry 4129 (class 0 OID 0) +-- Dependencies: 266 +-- Name: tag_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.tag_id_seq OWNED BY public.tag.id; + + +-- +-- TOC entry 261 (class 1259 OID 20639) +-- Name: team; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.team ( + id integer NOT NULL, + name character varying(190) NOT NULL, + org_id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + email character varying(190) +); + + +ALTER TABLE public.team OWNER TO postgres; + +-- +-- TOC entry 260 (class 1259 OID 20638) +-- Name: team_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.team_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.team_id_seq OWNER TO postgres; + +-- +-- TOC entry 4130 (class 0 OID 0) +-- Dependencies: 260 +-- Name: team_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.team_id_seq OWNED BY public.team.id; + + +-- +-- TOC entry 263 (class 1259 OID 20648) +-- Name: team_member; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.team_member ( + id integer NOT NULL, + org_id bigint NOT NULL, + team_id bigint NOT NULL, + user_id bigint NOT NULL, + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + external boolean, + permission smallint +); + + +ALTER TABLE public.team_member OWNER TO postgres; + +-- +-- TOC entry 262 (class 1259 OID 20647) +-- Name: team_member_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.team_member_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.team_member_id_seq OWNER TO postgres; + +-- +-- TOC entry 4131 (class 0 OID 0) +-- Dependencies: 262 +-- Name: team_member_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.team_member_id_seq OWNED BY public.team_member.id; + + +-- +-- TOC entry 308 (class 1259 OID 20972) +-- Name: team_role; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.team_role ( + id integer NOT NULL, + org_id bigint NOT NULL, + team_id bigint NOT NULL, + role_id bigint NOT NULL, + created timestamp without time zone NOT NULL +); + + +ALTER TABLE public.team_role OWNER TO postgres; + +-- +-- TOC entry 307 (class 1259 OID 20971) +-- Name: team_role_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.team_role_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.team_role_id_seq OWNER TO postgres; + +-- +-- TOC entry 4132 (class 0 OID 0) +-- Dependencies: 307 +-- Name: team_role_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.team_role_id_seq OWNED BY public.team_role.id; + + +-- +-- TOC entry 214 (class 1259 OID 20269) +-- Name: temp_user; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.temp_user ( + id integer NOT NULL, + org_id bigint NOT NULL, + version integer NOT NULL, + email character varying(190) NOT NULL, + name character varying(255), + role character varying(20), + code character varying(190) NOT NULL, + status character varying(20) NOT NULL, + invited_by_user_id bigint, + email_sent boolean NOT NULL, + email_sent_on timestamp without time zone, + remote_addr character varying(255), + created integer DEFAULT 0 NOT NULL, + updated integer DEFAULT 0 NOT NULL +); + + +ALTER TABLE public.temp_user OWNER TO postgres; + +-- +-- TOC entry 213 (class 1259 OID 20268) +-- Name: temp_user_id_seq1; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.temp_user_id_seq1 + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.temp_user_id_seq1 OWNER TO postgres; + +-- +-- TOC entry 4133 (class 0 OID 0) +-- Dependencies: 213 +-- Name: temp_user_id_seq1; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.temp_user_id_seq1 OWNED BY public.temp_user.id; + + +-- +-- TOC entry 257 (class 1259 OID 20621) +-- Name: test_data; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.test_data ( + id integer NOT NULL, + metric1 character varying(20), + metric2 character varying(150), + value_big_int bigint, + value_double double precision, + value_float real, + value_int integer, + time_epoch bigint NOT NULL, + time_date_time timestamp without time zone NOT NULL, + time_time_stamp timestamp without time zone NOT NULL +); + + +ALTER TABLE public.test_data OWNER TO postgres; + +-- +-- TOC entry 256 (class 1259 OID 20620) +-- Name: test_data_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.test_data_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.test_data_id_seq OWNER TO postgres; + +-- +-- TOC entry 4134 (class 0 OID 0) +-- Dependencies: 256 +-- Name: test_data_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.test_data_id_seq OWNED BY public.test_data.id; + + +-- +-- TOC entry 212 (class 1259 OID 20236) +-- Name: user; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."user" ( + id integer NOT NULL, + version integer NOT NULL, + login character varying(190) NOT NULL, + email character varying(190) NOT NULL, + name character varying(255), + password character varying(255), + salt character varying(50), + rands character varying(50), + company character varying(255), + org_id bigint NOT NULL, + is_admin boolean NOT NULL, + email_verified boolean, + theme character varying(255), + created timestamp without time zone NOT NULL, + updated timestamp without time zone NOT NULL, + help_flags1 bigint DEFAULT 0 NOT NULL, + last_seen_at timestamp without time zone, + is_disabled boolean DEFAULT false NOT NULL, + is_service_account boolean DEFAULT false +); + + +ALTER TABLE public."user" OWNER TO postgres; + +-- +-- TOC entry 271 (class 1259 OID 20698) +-- Name: user_auth; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.user_auth ( + id integer NOT NULL, + user_id bigint NOT NULL, + auth_module character varying(190) NOT NULL, + auth_id character varying(190) NOT NULL, + created timestamp without time zone NOT NULL, + o_auth_access_token text, + o_auth_refresh_token text, + o_auth_token_type text, + o_auth_expiry timestamp without time zone, + o_auth_id_token text +); + + +ALTER TABLE public.user_auth OWNER TO postgres; + +-- +-- TOC entry 270 (class 1259 OID 20697) +-- Name: user_auth_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.user_auth_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.user_auth_id_seq OWNER TO postgres; + +-- +-- TOC entry 4135 (class 0 OID 0) +-- Dependencies: 270 +-- Name: user_auth_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.user_auth_id_seq OWNED BY public.user_auth.id; + + +-- +-- TOC entry 275 (class 1259 OID 20718) +-- Name: user_auth_token; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.user_auth_token ( + id integer NOT NULL, + user_id bigint NOT NULL, + auth_token character varying(100) NOT NULL, + prev_auth_token character varying(100) NOT NULL, + user_agent character varying(255) NOT NULL, + client_ip character varying(255) NOT NULL, + auth_token_seen boolean NOT NULL, + seen_at integer, + rotated_at integer NOT NULL, + created_at integer NOT NULL, + updated_at integer NOT NULL, + revoked_at integer +); + + +ALTER TABLE public.user_auth_token OWNER TO postgres; + +-- +-- TOC entry 274 (class 1259 OID 20717) +-- Name: user_auth_token_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.user_auth_token_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.user_auth_token_id_seq OWNER TO postgres; + +-- +-- TOC entry 4136 (class 0 OID 0) +-- Dependencies: 274 +-- Name: user_auth_token_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.user_auth_token_id_seq OWNED BY public.user_auth_token.id; + + +-- +-- TOC entry 211 (class 1259 OID 20235) +-- Name: user_id_seq1; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.user_id_seq1 + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.user_id_seq1 OWNER TO postgres; + +-- +-- TOC entry 4137 (class 0 OID 0) +-- Dependencies: 211 +-- Name: user_id_seq1; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.user_id_seq1 OWNED BY public."user".id; + + +-- +-- TOC entry 310 (class 1259 OID 20982) +-- Name: user_role; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.user_role ( + id integer NOT NULL, + org_id bigint NOT NULL, + user_id bigint NOT NULL, + role_id bigint NOT NULL, + created timestamp without time zone NOT NULL +); + + +ALTER TABLE public.user_role OWNER TO postgres; + +-- +-- TOC entry 309 (class 1259 OID 20981) +-- Name: user_role_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +CREATE SEQUENCE public.user_role_id_seq + AS integer + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1; + + +ALTER TABLE public.user_role_id_seq OWNER TO postgres; + +-- +-- TOC entry 4138 (class 0 OID 0) +-- Dependencies: 309 +-- Name: user_role_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres +-- + +ALTER SEQUENCE public.user_role_id_seq OWNED BY public.user_role.id; + + +-- +-- TOC entry 3497 (class 2604 OID 20529) +-- Name: alert id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert ALTER COLUMN id SET DEFAULT nextval('public.alert_id_seq'::regclass); + + +-- +-- TOC entry 3541 (class 2604 OID 20850) +-- Name: alert_configuration id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_configuration ALTER COLUMN id SET DEFAULT nextval('public.alert_configuration_id_seq'::regclass); + + +-- +-- TOC entry 3549 (class 2604 OID 20894) +-- Name: alert_configuration_history id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_configuration_history ALTER COLUMN id SET DEFAULT nextval('public.alert_configuration_history_id_seq'::regclass); + + +-- +-- TOC entry 3548 (class 2604 OID 20884) +-- Name: alert_image id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_image ALTER COLUMN id SET DEFAULT nextval('public.alert_image_id_seq'::regclass); + + +-- +-- TOC entry 3499 (class 2604 OID 20553) +-- Name: alert_notification id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_notification ALTER COLUMN id SET DEFAULT nextval('public.alert_notification_id_seq'::regclass); + + +-- +-- TOC entry 3503 (class 2604 OID 20576) +-- Name: alert_notification_state id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_notification_state ALTER COLUMN id SET DEFAULT nextval('public.alert_notification_state_id_seq'::regclass); + + +-- +-- TOC entry 3525 (class 2604 OID 20809) +-- Name: alert_rule id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_rule ALTER COLUMN id SET DEFAULT nextval('public.alert_rule_id_seq'::regclass); + + +-- +-- TOC entry 3498 (class 2604 OID 20545) +-- Name: alert_rule_tag id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_rule_tag ALTER COLUMN id SET DEFAULT nextval('public.alert_rule_tag_id_seq'::regclass); + + +-- +-- TOC entry 3534 (class 2604 OID 20832) +-- Name: alert_rule_version id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_rule_version ALTER COLUMN id SET DEFAULT nextval('public.alert_rule_version_id_seq'::regclass); + + +-- +-- TOC entry 3504 (class 2604 OID 20587) +-- Name: annotation id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.annotation ALTER COLUMN id SET DEFAULT nextval('public.annotation_id_seq'::regclass); + + +-- +-- TOC entry 3509 (class 2604 OID 20607) +-- Name: annotation_tag id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.annotation_tag ALTER COLUMN id SET DEFAULT nextval('public.annotation_tag_id_seq'::regclass); + + +-- +-- TOC entry 3488 (class 2604 OID 20429) +-- Name: api_key id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.api_key ALTER COLUMN id SET DEFAULT nextval('public.api_key_id_seq1'::regclass); + + +-- +-- TOC entry 3564 (class 2604 OID 20995) +-- Name: builtin_role id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.builtin_role ALTER COLUMN id SET DEFAULT nextval('public.builtin_role_id_seq'::regclass); + + +-- +-- TOC entry 3478 (class 2604 OID 20335) +-- Name: dashboard id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard ALTER COLUMN id SET DEFAULT nextval('public.dashboard_id_seq1'::regclass); + + +-- +-- TOC entry 3514 (class 2604 OID 20661) +-- Name: dashboard_acl id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_acl ALTER COLUMN id SET DEFAULT nextval('public.dashboard_acl_id_seq'::regclass); + + +-- +-- TOC entry 3483 (class 2604 OID 20375) +-- Name: dashboard_provisioning id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_provisioning ALTER COLUMN id SET DEFAULT nextval('public.dashboard_provisioning_id_seq1'::regclass); + + +-- +-- TOC entry 3490 (class 2604 OID 20453) +-- Name: dashboard_snapshot id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_snapshot ALTER COLUMN id SET DEFAULT nextval('public.dashboard_snapshot_id_seq'::regclass); + + +-- +-- TOC entry 3477 (class 2604 OID 20327) +-- Name: dashboard_tag id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_tag ALTER COLUMN id SET DEFAULT nextval('public.dashboard_tag_id_seq'::regclass); + + +-- +-- TOC entry 3511 (class 2604 OID 20631) +-- Name: dashboard_version id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_version ALTER COLUMN id SET DEFAULT nextval('public.dashboard_version_id_seq'::regclass); + + +-- +-- TOC entry 3485 (class 2604 OID 20401) +-- Name: data_source id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.data_source ALTER COLUMN id SET DEFAULT nextval('public.data_source_id_seq1'::regclass); + + +-- +-- TOC entry 3570 (class 2604 OID 21066) +-- Name: entity_event id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.entity_event ALTER COLUMN id SET DEFAULT nextval('public.entity_event_id_seq'::regclass); + + +-- +-- TOC entry 3575 (class 2604 OID 21138) +-- Name: folder id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.folder ALTER COLUMN id SET DEFAULT nextval('public.folder_id_seq'::regclass); + + +-- +-- TOC entry 3558 (class 2604 OID 20944) +-- Name: kv_store id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.kv_store ALTER COLUMN id SET DEFAULT nextval('public.kv_store_id_seq'::regclass); + + +-- +-- TOC entry 3554 (class 2604 OID 20908) +-- Name: library_element id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.library_element ALTER COLUMN id SET DEFAULT nextval('public.library_element_id_seq'::regclass); + + +-- +-- TOC entry 3555 (class 2604 OID 20918) +-- Name: library_element_connection id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.library_element_connection ALTER COLUMN id SET DEFAULT nextval('public.library_element_connection_id_seq'::regclass); + + +-- +-- TOC entry 3517 (class 2604 OID 20692) +-- Name: login_attempt id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.login_attempt ALTER COLUMN id SET DEFAULT nextval('public.login_attempt_id_seq1'::regclass); + + +-- +-- TOC entry 3466 (class 2604 OID 20219) +-- Name: migration_log id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.migration_log ALTER COLUMN id SET DEFAULT nextval('public.migration_log_id_seq'::regclass); + + +-- +-- TOC entry 3545 (class 2604 OID 20863) +-- Name: ngalert_configuration id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.ngalert_configuration ALTER COLUMN id SET DEFAULT nextval('public.ngalert_configuration_id_seq'::regclass); + + +-- +-- TOC entry 3475 (class 2604 OID 20295) +-- Name: org id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.org ALTER COLUMN id SET DEFAULT nextval('public.org_id_seq'::regclass); + + +-- +-- TOC entry 3476 (class 2604 OID 20305) +-- Name: org_user id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.org_user ALTER COLUMN id SET DEFAULT nextval('public.org_user_id_seq'::regclass); + + +-- +-- TOC entry 3559 (class 2604 OID 20954) +-- Name: permission id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.permission ALTER COLUMN id SET DEFAULT nextval('public.permission_id_seq'::regclass); + + +-- +-- TOC entry 3493 (class 2604 OID 20495) +-- Name: playlist id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.playlist ALTER COLUMN id SET DEFAULT nextval('public.playlist_id_seq'::regclass); + + +-- +-- TOC entry 3495 (class 2604 OID 20507) +-- Name: playlist_item id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.playlist_item ALTER COLUMN id SET DEFAULT nextval('public.playlist_item_id_seq'::regclass); + + +-- +-- TOC entry 3492 (class 2604 OID 20477) +-- Name: plugin_setting id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.plugin_setting ALTER COLUMN id SET DEFAULT nextval('public.plugin_setting_id_seq'::regclass); + + +-- +-- TOC entry 3496 (class 2604 OID 20518) +-- Name: preferences id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.preferences ALTER COLUMN id SET DEFAULT nextval('public.preferences_id_seq'::regclass); + + +-- +-- TOC entry 3547 (class 2604 OID 20874) +-- Name: provenance_type id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.provenance_type ALTER COLUMN id SET DEFAULT nextval('public.provenance_type_id_seq'::regclass); + + +-- +-- TOC entry 3567 (class 2604 OID 21015) +-- Name: query_history id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.query_history ALTER COLUMN id SET DEFAULT nextval('public.query_history_id_seq'::regclass); + + +-- +-- TOC entry 3568 (class 2604 OID 21042) +-- Name: query_history_star id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.query_history_star ALTER COLUMN id SET DEFAULT nextval('public.query_history_star_id_seq'::regclass); + + +-- +-- TOC entry 3491 (class 2604 OID 20468) +-- Name: quota id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.quota ALTER COLUMN id SET DEFAULT nextval('public.quota_id_seq'::regclass); + + +-- +-- TOC entry 3560 (class 2604 OID 20963) +-- Name: role id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.role ALTER COLUMN id SET DEFAULT nextval('public.role_id_seq'::regclass); + + +-- +-- TOC entry 3557 (class 2604 OID 20934) +-- Name: secrets id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.secrets ALTER COLUMN id SET DEFAULT nextval('public.secrets_id_seq'::regclass); + + +-- +-- TOC entry 3566 (class 2604 OID 21123) +-- Name: seed_assignment id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.seed_assignment ALTER COLUMN id SET DEFAULT nextval('public.seed_assignment_id_seq'::regclass); + + +-- +-- TOC entry 3520 (class 2604 OID 20713) +-- Name: server_lock id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.server_lock ALTER COLUMN id SET DEFAULT nextval('public.server_lock_id_seq'::regclass); + + +-- +-- TOC entry 3522 (class 2604 OID 20741) +-- Name: short_url id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.short_url ALTER COLUMN id SET DEFAULT nextval('public.short_url_id_seq'::regclass); + + +-- +-- TOC entry 3474 (class 2604 OID 20287) +-- Name: star id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.star ALTER COLUMN id SET DEFAULT nextval('public.star_id_seq'::regclass); + + +-- +-- TOC entry 3516 (class 2604 OID 20676) +-- Name: tag id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.tag ALTER COLUMN id SET DEFAULT nextval('public.tag_id_seq'::regclass); + + +-- +-- TOC entry 3512 (class 2604 OID 20642) +-- Name: team id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.team ALTER COLUMN id SET DEFAULT nextval('public.team_id_seq'::regclass); + + +-- +-- TOC entry 3513 (class 2604 OID 20651) +-- Name: team_member id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.team_member ALTER COLUMN id SET DEFAULT nextval('public.team_member_id_seq'::regclass); + + +-- +-- TOC entry 3562 (class 2604 OID 20975) +-- Name: team_role id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.team_role ALTER COLUMN id SET DEFAULT nextval('public.team_role_id_seq'::regclass); + + +-- +-- TOC entry 3471 (class 2604 OID 20272) +-- Name: temp_user id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.temp_user ALTER COLUMN id SET DEFAULT nextval('public.temp_user_id_seq1'::regclass); + + +-- +-- TOC entry 3510 (class 2604 OID 20624) +-- Name: test_data id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.test_data ALTER COLUMN id SET DEFAULT nextval('public.test_data_id_seq'::regclass); + + +-- +-- TOC entry 3467 (class 2604 OID 20239) +-- Name: user id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."user" ALTER COLUMN id SET DEFAULT nextval('public.user_id_seq1'::regclass); + + +-- +-- TOC entry 3519 (class 2604 OID 20701) +-- Name: user_auth id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.user_auth ALTER COLUMN id SET DEFAULT nextval('public.user_auth_id_seq'::regclass); + + +-- +-- TOC entry 3521 (class 2604 OID 20721) +-- Name: user_auth_token id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.user_auth_token ALTER COLUMN id SET DEFAULT nextval('public.user_auth_token_id_seq'::regclass); + + +-- +-- TOC entry 3563 (class 2604 OID 20985) +-- Name: user_role id; Type: DEFAULT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.user_role ALTER COLUMN id SET DEFAULT nextval('public.user_role_id_seq'::regclass); + + +-- +-- TOC entry 3996 (class 0 OID 20526) +-- Dependencies: 245 +-- Data for Name: alert; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.alert (id, version, dashboard_id, panel_id, org_id, name, message, state, settings, frequency, handler, severity, silenced, execution_error, eval_data, eval_date, new_state_date, state_changes, created, updated, "for") FROM stdin; +\. + + +-- +-- TOC entry 4036 (class 0 OID 20847) +-- Dependencies: 285 +-- Data for Name: alert_configuration; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.alert_configuration (id, alertmanager_configuration, configuration_version, created_at, "default", org_id, configuration_hash) FROM stdin; +1 {\n\t"alertmanager_config": {\n\t\t"route": {\n\t\t\t"receiver": "grafana-default-email",\n\t\t\t"group_by": ["grafana_folder", "alertname"]\n\t\t},\n\t\t"receivers": [{\n\t\t\t"name": "grafana-default-email",\n\t\t\t"grafana_managed_receiver_configs": [{\n\t\t\t\t"uid": "",\n\t\t\t\t"name": "email receiver",\n\t\t\t\t"type": "email",\n\t\t\t\t"isDefault": true,\n\t\t\t\t"settings": {\n\t\t\t\t\t"addresses": ""\n\t\t\t\t}\n\t\t\t}]\n\t\t}]\n\t}\n}\n v1 1715798117 t 1 e0528a75784033ae7b15c40851d89484 +\. + + +-- +-- TOC entry 4044 (class 0 OID 20891) +-- Dependencies: 293 +-- Data for Name: alert_configuration_history; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.alert_configuration_history (id, org_id, alertmanager_configuration, configuration_hash, configuration_version, created_at, "default", last_applied) FROM stdin; +1 1 {\n\t"alertmanager_config": {\n\t\t"route": {\n\t\t\t"receiver": "grafana-default-email",\n\t\t\t"group_by": ["grafana_folder", "alertname"]\n\t\t},\n\t\t"receivers": [{\n\t\t\t"name": "grafana-default-email",\n\t\t\t"grafana_managed_receiver_configs": [{\n\t\t\t\t"uid": "",\n\t\t\t\t"name": "email receiver",\n\t\t\t\t"type": "email",\n\t\t\t\t"isDefault": true,\n\t\t\t\t"settings": {\n\t\t\t\t\t"addresses": ""\n\t\t\t\t}\n\t\t\t}]\n\t\t}]\n\t}\n}\n e0528a75784033ae7b15c40851d89484 v1 1715798117 t 1715798273 +\. + + +-- +-- TOC entry 4042 (class 0 OID 20881) +-- Dependencies: 291 +-- Data for Name: alert_image; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.alert_image (id, token, path, url, created_at, expires_at) FROM stdin; +\. + + +-- +-- TOC entry 4030 (class 0 OID 20792) +-- Dependencies: 279 +-- Data for Name: alert_instance; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.alert_instance (rule_org_id, rule_uid, labels, labels_hash, current_state, current_state_since, last_eval_time, current_state_end, current_reason) FROM stdin; +\. + + +-- +-- TOC entry 4000 (class 0 OID 20550) +-- Dependencies: 249 +-- Data for Name: alert_notification; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.alert_notification (id, org_id, name, type, settings, created, updated, is_default, frequency, send_reminder, disable_resolve_message, uid, secure_settings) FROM stdin; +\. + + +-- +-- TOC entry 4002 (class 0 OID 20573) +-- Dependencies: 251 +-- Data for Name: alert_notification_state; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.alert_notification_state (id, org_id, alert_id, notifier_id, state, version, updated_at, alert_rule_state_updated_version) FROM stdin; +\. + + +-- +-- TOC entry 4032 (class 0 OID 20806) +-- Dependencies: 281 +-- Data for Name: alert_rule; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.alert_rule (id, org_id, title, condition, data, updated, interval_seconds, version, uid, namespace_uid, rule_group, no_data_state, exec_err_state, "for", annotations, labels, dashboard_uid, panel_id, rule_group_idx, is_paused) FROM stdin; +\. + + +-- +-- TOC entry 3998 (class 0 OID 20542) +-- Dependencies: 247 +-- Data for Name: alert_rule_tag; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.alert_rule_tag (id, alert_id, tag_id) FROM stdin; +\. + + +-- +-- TOC entry 4034 (class 0 OID 20829) +-- Dependencies: 283 +-- Data for Name: alert_rule_version; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.alert_rule_version (id, rule_org_id, rule_uid, rule_namespace_uid, rule_group, parent_version, restored_from, version, created, title, condition, data, interval_seconds, no_data_state, exec_err_state, "for", annotations, labels, rule_group_idx, is_paused) FROM stdin; +\. + + +-- +-- TOC entry 4004 (class 0 OID 20584) +-- Dependencies: 253 +-- Data for Name: annotation; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.annotation (id, org_id, alert_id, user_id, dashboard_id, panel_id, category_id, type, title, text, metric, prev_state, new_state, data, epoch, region_id, tags, created, updated, epoch_end) FROM stdin; +\. + + +-- +-- TOC entry 4006 (class 0 OID 20604) +-- Dependencies: 255 +-- Data for Name: annotation_tag; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.annotation_tag (id, annotation_id, tag_id) FROM stdin; +\. + + +-- +-- TOC entry 3981 (class 0 OID 20426) +-- Dependencies: 230 +-- Data for Name: api_key; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.api_key (id, org_id, name, key, role, created, updated, expires, service_account_id, last_used_at, is_revoked) FROM stdin; +\. + + +-- +-- TOC entry 4063 (class 0 OID 20992) +-- Dependencies: 312 +-- Data for Name: builtin_role; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.builtin_role (id, role, role_id, created, updated, org_id) FROM stdin; +1 Editor 2 2024-05-15 15:43:22 2024-05-15 15:43:22 1 +2 Viewer 3 2024-05-15 15:43:22 2024-05-15 15:43:22 1 +\. + + +-- +-- TOC entry 4027 (class 0 OID 20729) +-- Dependencies: 276 +-- Data for Name: cache_data; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.cache_data (cache_key, data, expires, created_at) FROM stdin; +auth-proxy-sync-ttl:324a6bd28d83d94f7081447a94746b34 \\x31 3600 1715798281 +\. + + +-- +-- TOC entry 4069 (class 0 OID 21053) +-- Dependencies: 318 +-- Data for Name: correlation; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.correlation (uid, source_uid, target_uid, label, description, config) FROM stdin; +\. + + +-- +-- TOC entry 3975 (class 0 OID 20332) +-- Dependencies: 224 +-- Data for Name: dashboard; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.dashboard (id, version, slug, title, data, org_id, created, updated, updated_by, created_by, gnet_id, plugin_id, folder_id, is_folder, has_acl, uid, is_public) FROM stdin; +2 3 json-scada-history-analog JSON SCADA History Analog {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \\u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":2,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"stepAfter","lineWidth":1,"pointSize":4,"scaleDistribution":{"type":"linear"},"showPoints":"always","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":11,"w":24,"x":0,"y":0},"id":2,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"8.0.1","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 1 ","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Plot","type":"timeseries"},{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"align":"auto","cellOptions":{"type":"auto"},"filterable":true,"inspect":false},"decimals":2,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[{"matcher":{"id":"byName","options":"absv"},"properties":[{"id":"custom.cellOptions","value":{"mode":"basic","type":"gauge"}},{"id":"min","value":0},{"id":"displayName","value":"bar"},{"id":"mappings","value":[{"options":{"from":-1e+22,"result":{"index":0,"text":"."},"to":1e+22},"type":"range"}]},{"id":"decimals","value":0},{"id":"color","value":{"fixedColor":"green","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"time"},"properties":[{"id":"custom.width","value":177}]},{"matcher":{"id":"byName","options":"value"},"properties":[{"id":"custom.width","value":130}]},{"matcher":{"id":"byName","options":"metric"},"properties":[{"id":"custom.width","value":198}]},{"matcher":{"id":"byName","options":"bar"},"properties":[{"id":"custom.width","value":1412}]}]},"gridPos":{"h":14,"w":24,"x":0,"y":11},"id":5,"options":{"cellHeight":"sm","footer":{"countRows":false,"fields":"","reducer":["sum"],"show":false},"showHeader":true,"sortBy":[]},"pluginVersion":"9.5.18","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"table","group":[],"metricColumn":"none","rawQuery":true,"rawSql":"SELECT\\n metric,\\n \\"time\\" AS \\"time\\",\\n value,\\n abs(value) as absv,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n metric,\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value,\\n abs(value) as absv,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 2 desc\\n","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"}]}],"title":"Table","type":"table"}],"refresh":"10s","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[{"hide":2,"label":"Tags","name":"point_tag","query":"KAW2KPR21MTVA--------C","skipUrlSync":false,"type":"constant"}]},"time":{"from":"now-1h","to":"now"},"timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"","title":"JSON SCADA History Analog","uid":"78X6BmvMk","version":3,"weekStart":""} 1 2024-05-15 15:43:49 2024-05-15 15:51:22 1 1 0 0 f f 78X6BmvMk f +1 2 json-scada-history-digital JSON SCADA History Digital {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \\u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":1,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"fillOpacity":70,"lineWidth":1,"spanNulls":false},"decimals":0,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":1}]},"unit":"short"},"overrides":[]},"gridPos":{"h":11,"w":24,"x":0,"y":0},"id":2,"options":{"alignValue":"left","legend":{"displayMode":"list","placement":"bottom","showLegend":false},"mergeValues":false,"rowHeight":0.9,"showValue":"auto","tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"8.0.1","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n -- metric,\\n \\"time\\" AS \\"time\\",\\n value,\\n value_json-\\u003e\\u003e's' as state\\n -- , case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n -- metric,\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value,\\n value_json-\\u003e\\u003e's' as state\\n --, case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 1\\n","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Plot","type":"state-timeline"},{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"align":"auto","cellOptions":{"type":"auto"},"filterable":true,"inspect":false},"decimals":2,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[{"matcher":{"id":"byName","options":"time"},"properties":[{"id":"custom.width","value":177}]},{"matcher":{"id":"byName","options":"metric"},"properties":[{"id":"custom.width","value":198}]}]},"gridPos":{"h":14,"w":24,"x":0,"y":11},"id":5,"options":{"cellHeight":"sm","footer":{"countRows":false,"fields":"","reducer":["sum"],"show":false},"showHeader":true,"sortBy":[]},"pluginVersion":"9.5.18","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"table","group":[],"metricColumn":"none","rawQuery":true,"rawSql":"SELECT\\n metric,\\n \\"time\\" AS \\"time\\",\\n value_json-\\u003e\\u003e's' as state,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n metric,\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value_json-\\u003e\\u003e's' as state,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 2 desc\\n","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"}]}],"title":"Table","type":"table"}],"refresh":"10s","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[{"hide":2,"label":"Tags","name":"point_tag","query":"KAW2KPR21MTVA--------C","skipUrlSync":false,"type":"constant"}]},"time":{"from":"now-3h","to":"now"},"timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"","title":"JSON SCADA History Digital","uid":"LsXOaz47z","version":2,"weekStart":""} 1 2024-05-15 15:43:22 2024-05-15 15:52:30 1 1 0 0 f f LsXOaz47z f +3 5 json-scada-filtered-group1-2 JSON SCADA Filtered Group1/2 {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \\u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":3,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"stepAfter","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"decimals":1,"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":11,"w":20,"x":0,"y":0},"id":2,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"8.0.4","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n metric AS metric,\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") AND\\n metric IN ( $point_tag ) \\nORDER BY 1,2","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Metrics","type":"timeseries"},{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[]},"gridPos":{"h":11,"w":20,"x":0,"y":11},"id":3,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"9.5.18","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n metric AS metric,\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") AND\\n metric IN ( $point_tag ) \\nORDER BY 1","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Metrics","type":"gauge"}],"refresh":"10s","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[{"current":{"selected":false,"text":"_SysMongoDB","value":"_SysMongoDB"},"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"definition":"select distinct json_data-\\u003e\\u003e'group1' as group1 from realtime_data order by 1","hide":0,"includeAll":false,"label":"Group1","multi":true,"name":"group1","options":[],"query":"select distinct json_data-\\u003e\\u003e'group1' as group1 from realtime_data order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"_SysMongoDB | WinDev2305Eval","value":"_SysMongoDB | WinDev2305Eval"},"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"definition":"select distinct concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') as group2 from realtime_data where json_data-\\u003e\\u003e'group1' in([[group1]]) order by 1","hide":0,"includeAll":false,"label":"Group2","multi":true,"name":"group2","options":[],"query":"select distinct concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') as group2 from realtime_data where json_data-\\u003e\\u003e'group1' in([[group1]]) order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"_SysMongoDB~WinDev2305Eval~active_reads","value":"_SysMongoDB~WinDev2305Eval~active_reads"},"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"definition":"select tag as point_tag from realtime_data where concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') in([[group2]]) order by 1","hide":0,"includeAll":false,"label":"Tags","multi":true,"name":"point_tag","options":[],"query":"select tag as point_tag from realtime_data where concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') in([[group2]]) order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false}]},"time":{"from":"now-1h","to":"now"},"timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"","title":"JSON SCADA Filtered Group1/2","uid":"zUqcvfZ7z","version":5,"weekStart":""} 1 2024-05-15 15:44:09 2024-05-15 15:59:17 1 1 0 0 f f zUqcvfZ7z f +\. + + +-- +-- TOC entry 4016 (class 0 OID 20658) +-- Dependencies: 265 +-- Data for Name: dashboard_acl; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.dashboard_acl (id, org_id, dashboard_id, user_id, team_id, permission, role, created, updated) FROM stdin; +1 -1 -1 \N \N 1 Viewer 2017-06-20 00:00:00 2017-06-20 00:00:00 +2 -1 -1 \N \N 2 Editor 2017-06-20 00:00:00 2017-06-20 00:00:00 +\. + + +-- +-- TOC entry 3977 (class 0 OID 20372) +-- Dependencies: 226 +-- Data for Name: dashboard_provisioning; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.dashboard_provisioning (id, dashboard_id, name, external_id, updated, check_sum) FROM stdin; +\. + + +-- +-- TOC entry 4072 (class 0 OID 21089) +-- Dependencies: 321 +-- Data for Name: dashboard_public; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.dashboard_public (uid, dashboard_uid, org_id, time_settings, template_variables, access_token, created_by, updated_by, created_at, updated_at, is_enabled, annotations_enabled, time_selection_enabled, share) FROM stdin; +\. + + +-- +-- TOC entry 3983 (class 0 OID 20450) +-- Dependencies: 232 +-- Data for Name: dashboard_snapshot; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.dashboard_snapshot (id, name, key, delete_key, org_id, user_id, external, external_url, dashboard, expires, created, updated, external_delete_url, dashboard_encrypted) FROM stdin; +\. + + +-- +-- TOC entry 3973 (class 0 OID 20324) +-- Dependencies: 222 +-- Data for Name: dashboard_tag; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.dashboard_tag (id, dashboard_id, term) FROM stdin; +\. + + +-- +-- TOC entry 4010 (class 0 OID 20628) +-- Dependencies: 259 +-- Data for Name: dashboard_version; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.dashboard_version (id, dashboard_id, parent_version, restored_from, version, created, created_by, message, data) FROM stdin; +1 1 2 0 1 2024-05-15 15:43:22 1 {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \\u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":null,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"fillOpacity":70,"lineWidth":1,"spanNulls":false},"decimals":0,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":1}]},"unit":"short"},"overrides":[]},"gridPos":{"h":11,"w":24,"x":0,"y":0},"id":2,"options":{"alignValue":"left","legend":{"displayMode":"list","placement":"bottom","showLegend":false},"mergeValues":false,"rowHeight":0.9,"showValue":"auto","tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"8.0.1","targets":[{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n -- metric,\\n \\"time\\" AS \\"time\\",\\n value,\\n value_json-\\u003e\\u003e's' as state\\n -- , case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n -- metric,\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value,\\n value_json-\\u003e\\u003e's' as state\\n --, case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 1\\n","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Plot","type":"state-timeline"},{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"align":"auto","cellOptions":{"type":"auto"},"filterable":true,"inspect":false},"decimals":2,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[{"matcher":{"id":"byName","options":"time"},"properties":[{"id":"custom.width","value":177}]},{"matcher":{"id":"byName","options":"metric"},"properties":[{"id":"custom.width","value":198}]}]},"gridPos":{"h":14,"w":24,"x":0,"y":11},"id":5,"options":{"cellHeight":"sm","footer":{"countRows":false,"fields":"","reducer":["sum"],"show":false},"showHeader":true,"sortBy":[]},"pluginVersion":"9.5.18","targets":[{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"format":"table","group":[],"metricColumn":"none","rawQuery":true,"rawSql":"SELECT\\n metric,\\n \\"time\\" AS \\"time\\",\\n value_json-\\u003e\\u003e's' as state,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n metric,\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value_json-\\u003e\\u003e's' as state,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 2 desc\\n","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"}]}],"title":"Table","type":"table"}],"refresh":"10s","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[{"hide":2,"label":"Tags","name":"point_tag","query":"KAW2KPR21MTVA--------C","skipUrlSync":false,"type":"constant"}]},"time":{"from":"now-3h","to":"now"},"timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"","title":"JSON SCADA History Digital","uid":"LsXOaz47z","version":1,"weekStart":""} +2 2 1 0 1 2024-05-15 15:43:49 1 {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \\u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":null,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"stepAfter","lineWidth":1,"pointSize":4,"scaleDistribution":{"type":"linear"},"showPoints":"always","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":11,"w":24,"x":0,"y":0},"id":2,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"8.0.1","targets":[{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 1 ","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Plot","type":"timeseries"},{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"align":"auto","cellOptions":{"type":"auto"},"filterable":true,"inspect":false},"decimals":2,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[{"matcher":{"id":"byName","options":"absv"},"properties":[{"id":"custom.cellOptions","value":{"mode":"basic","type":"gauge"}},{"id":"min","value":0},{"id":"displayName","value":"bar"},{"id":"mappings","value":[{"options":{"from":-1e+22,"result":{"index":0,"text":"."},"to":1e+22},"type":"range"}]},{"id":"decimals","value":0},{"id":"color","value":{"fixedColor":"green","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"time"},"properties":[{"id":"custom.width","value":177}]},{"matcher":{"id":"byName","options":"value"},"properties":[{"id":"custom.width","value":130}]},{"matcher":{"id":"byName","options":"metric"},"properties":[{"id":"custom.width","value":198}]},{"matcher":{"id":"byName","options":"bar"},"properties":[{"id":"custom.width","value":1412}]}]},"gridPos":{"h":14,"w":24,"x":0,"y":11},"id":5,"options":{"cellHeight":"sm","footer":{"countRows":false,"fields":"","reducer":["sum"],"show":false},"showHeader":true,"sortBy":[]},"pluginVersion":"9.5.18","targets":[{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"format":"table","group":[],"metricColumn":"none","rawQuery":true,"rawSql":"SELECT\\n metric,\\n \\"time\\" AS \\"time\\",\\n value,\\n abs(value) as absv,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n metric,\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value,\\n abs(value) as absv,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 2 desc\\n","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"}]}],"title":"Table","type":"table"}],"refresh":"10s","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[{"hide":2,"label":"Tags","name":"point_tag","query":"KAW2KPR21MTVA--------C","skipUrlSync":false,"type":"constant"}]},"time":{"from":"now-1h","to":"now"},"timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"","title":"JSON SCADA History Analog","uid":"78X6BmvMk","version":1,"weekStart":""} +3 3 1 0 1 2024-05-15 15:44:09 1 {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \\u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":null,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"stepAfter","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"decimals":1,"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":11,"w":20,"x":0,"y":0},"id":2,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"8.0.4","targets":[{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n metric AS metric,\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") AND\\n metric IN ( $point_tag ) \\nORDER BY 1,2","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Metrics","type":"timeseries"},{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"fieldConfig":{"defaults":{"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[]},"gridPos":{"h":11,"w":20,"x":0,"y":11},"id":3,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"9.5.18","targets":[{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n metric AS metric,\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") AND\\n metric IN ( $point_tag ) \\nORDER BY 1","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Metrics","type":"gauge"}],"refresh":"10s","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[{"current":{"selected":false,"text":"_SysMongoDB","value":"_SysMongoDB"},"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"definition":"select distinct json_data-\\u003e\\u003e'group1' as group1 from realtime_data order by 1","hide":0,"includeAll":false,"label":"Group1","multi":true,"name":"group1","options":[],"query":"select distinct json_data-\\u003e\\u003e'group1' as group1 from realtime_data order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"_SysMongoDB | WinDev2305Eval","value":"_SysMongoDB | WinDev2305Eval"},"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"definition":"select distinct concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') as group2 from realtime_data where json_data-\\u003e\\u003e'group1' in([[group1]]) order by 1","hide":0,"includeAll":false,"label":"Group2","multi":true,"name":"group2","options":[],"query":"select distinct concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') as group2 from realtime_data where json_data-\\u003e\\u003e'group1' in([[group1]]) order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"_SysMongoDB~WinDev2305Eval~active_reads","value":"_SysMongoDB~WinDev2305Eval~active_reads"},"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"definition":"select tag as point_tag from realtime_data where concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') in([[group2]]) order by 1","hide":0,"includeAll":false,"label":"Tags","multi":true,"name":"point_tag","options":[],"query":"select tag as point_tag from realtime_data where concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') in([[group2]]) order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false}]},"time":{"from":"now-1h","to":"now"},"timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"","title":"JSON SCADA Filtered Group1/2","uid":"zUqcvfZ7z","version":1,"weekStart":""} +4 2 1 0 2 2024-05-15 15:46:37 1 {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \\u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":2,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"stepAfter","lineWidth":1,"pointSize":4,"scaleDistribution":{"type":"linear"},"showPoints":"always","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":11,"w":24,"x":0,"y":0},"id":2,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"8.0.1","targets":[{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 1 ","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Plot","type":"timeseries"},{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"align":"auto","cellOptions":{"type":"auto"},"filterable":true,"inspect":false},"decimals":2,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[{"matcher":{"id":"byName","options":"absv"},"properties":[{"id":"custom.cellOptions","value":{"mode":"basic","type":"gauge"}},{"id":"min","value":0},{"id":"displayName","value":"bar"},{"id":"mappings","value":[{"options":{"from":-1e+22,"result":{"index":0,"text":"."},"to":1e+22},"type":"range"}]},{"id":"decimals","value":0},{"id":"color","value":{"fixedColor":"green","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"time"},"properties":[{"id":"custom.width","value":177}]},{"matcher":{"id":"byName","options":"value"},"properties":[{"id":"custom.width","value":130}]},{"matcher":{"id":"byName","options":"metric"},"properties":[{"id":"custom.width","value":198}]},{"matcher":{"id":"byName","options":"bar"},"properties":[{"id":"custom.width","value":1412}]}]},"gridPos":{"h":14,"w":24,"x":0,"y":11},"id":5,"options":{"cellHeight":"sm","footer":{"countRows":false,"fields":"","reducer":["sum"],"show":false},"showHeader":true,"sortBy":[]},"pluginVersion":"9.5.18","targets":[{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"format":"table","group":[],"metricColumn":"none","rawQuery":true,"rawSql":"SELECT\\n metric,\\n \\"time\\" AS \\"time\\",\\n value,\\n abs(value) as absv,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n metric,\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value,\\n abs(value) as absv,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 2 desc\\n","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"}]}],"title":"Table","type":"table"}],"refresh":"10s","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[{"hide":2,"label":"Tags","name":"point_tag","query":"KAW2KPR21MTVA--------C","skipUrlSync":false,"type":"constant"}]},"time":{"from":"now-1h","to":"now"},"timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"","title":"JSON SCADA History Analog","uid":"78X6BmvMk","version":2,"weekStart":""} +5 3 1 0 2 2024-05-15 15:49:28 1 {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \\u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":3,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"stepAfter","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"decimals":1,"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":11,"w":20,"x":0,"y":0},"id":2,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"8.0.4","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n metric AS metric,\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") AND\\n metric IN ( $point_tag ) \\nORDER BY 1,2","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Metrics","type":"timeseries"},{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"fieldConfig":{"defaults":{"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[]},"gridPos":{"h":11,"w":20,"x":0,"y":11},"id":3,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"9.5.18","targets":[{"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n metric AS metric,\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") AND\\n metric IN ( $point_tag ) \\nORDER BY 1","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Metrics","type":"gauge"}],"refresh":"10s","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[{"current":{"selected":false,"text":"_SysMongoDB","value":"_SysMongoDB"},"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"definition":"select distinct json_data-\\u003e\\u003e'group1' as group1 from realtime_data order by 1","hide":0,"includeAll":false,"label":"Group1","multi":true,"name":"group1","options":[],"query":"select distinct json_data-\\u003e\\u003e'group1' as group1 from realtime_data order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"_SysMongoDB | WinDev2305Eval","value":"_SysMongoDB | WinDev2305Eval"},"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"definition":"select distinct concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') as group2 from realtime_data where json_data-\\u003e\\u003e'group1' in([[group1]]) order by 1","hide":0,"includeAll":false,"label":"Group2","multi":true,"name":"group2","options":[],"query":"select distinct concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') as group2 from realtime_data where json_data-\\u003e\\u003e'group1' in([[group1]]) order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"_SysMongoDB~WinDev2305Eval~active_reads","value":"_SysMongoDB~WinDev2305Eval~active_reads"},"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"definition":"select tag as point_tag from realtime_data where concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') in([[group2]]) order by 1","hide":0,"includeAll":false,"label":"Tags","multi":true,"name":"point_tag","options":[],"query":"select tag as point_tag from realtime_data where concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') in([[group2]]) order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false}]},"time":{"from":"now-1h","to":"now"},"timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"","title":"JSON SCADA Filtered Group1/2","uid":"zUqcvfZ7z","version":2,"weekStart":""} +6 2 2 0 3 2024-05-15 15:51:22 1 {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \\u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":2,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"stepAfter","lineWidth":1,"pointSize":4,"scaleDistribution":{"type":"linear"},"showPoints":"always","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":11,"w":24,"x":0,"y":0},"id":2,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"8.0.1","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 1 ","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Plot","type":"timeseries"},{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"align":"auto","cellOptions":{"type":"auto"},"filterable":true,"inspect":false},"decimals":2,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[{"matcher":{"id":"byName","options":"absv"},"properties":[{"id":"custom.cellOptions","value":{"mode":"basic","type":"gauge"}},{"id":"min","value":0},{"id":"displayName","value":"bar"},{"id":"mappings","value":[{"options":{"from":-1e+22,"result":{"index":0,"text":"."},"to":1e+22},"type":"range"}]},{"id":"decimals","value":0},{"id":"color","value":{"fixedColor":"green","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"time"},"properties":[{"id":"custom.width","value":177}]},{"matcher":{"id":"byName","options":"value"},"properties":[{"id":"custom.width","value":130}]},{"matcher":{"id":"byName","options":"metric"},"properties":[{"id":"custom.width","value":198}]},{"matcher":{"id":"byName","options":"bar"},"properties":[{"id":"custom.width","value":1412}]}]},"gridPos":{"h":14,"w":24,"x":0,"y":11},"id":5,"options":{"cellHeight":"sm","footer":{"countRows":false,"fields":"","reducer":["sum"],"show":false},"showHeader":true,"sortBy":[]},"pluginVersion":"9.5.18","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"table","group":[],"metricColumn":"none","rawQuery":true,"rawSql":"SELECT\\n metric,\\n \\"time\\" AS \\"time\\",\\n value,\\n abs(value) as absv,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n metric,\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value,\\n abs(value) as absv,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 2 desc\\n","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"}]}],"title":"Table","type":"table"}],"refresh":"10s","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[{"hide":2,"label":"Tags","name":"point_tag","query":"KAW2KPR21MTVA--------C","skipUrlSync":false,"type":"constant"}]},"time":{"from":"now-1h","to":"now"},"timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"","title":"JSON SCADA History Analog","uid":"78X6BmvMk","version":3,"weekStart":""} +7 1 1 0 2 2024-05-15 15:52:30 1 {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \\u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":1,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"fillOpacity":70,"lineWidth":1,"spanNulls":false},"decimals":0,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":1}]},"unit":"short"},"overrides":[]},"gridPos":{"h":11,"w":24,"x":0,"y":0},"id":2,"options":{"alignValue":"left","legend":{"displayMode":"list","placement":"bottom","showLegend":false},"mergeValues":false,"rowHeight":0.9,"showValue":"auto","tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"8.0.1","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n -- metric,\\n \\"time\\" AS \\"time\\",\\n value,\\n value_json-\\u003e\\u003e's' as state\\n -- , case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n -- metric,\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value,\\n value_json-\\u003e\\u003e's' as state\\n --, case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 1\\n","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Plot","type":"state-timeline"},{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"align":"auto","cellOptions":{"type":"auto"},"filterable":true,"inspect":false},"decimals":2,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[{"matcher":{"id":"byName","options":"time"},"properties":[{"id":"custom.width","value":177}]},{"matcher":{"id":"byName","options":"metric"},"properties":[{"id":"custom.width","value":198}]}]},"gridPos":{"h":14,"w":24,"x":0,"y":11},"id":5,"options":{"cellHeight":"sm","footer":{"countRows":false,"fields":"","reducer":["sum"],"show":false},"showHeader":true,"sortBy":[]},"pluginVersion":"9.5.18","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"table","group":[],"metricColumn":"none","rawQuery":true,"rawSql":"SELECT\\n metric,\\n \\"time\\" AS \\"time\\",\\n value_json-\\u003e\\u003e's' as state,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") and metric IN ('$point_tag') \\n\\nUNION\\n(\\nSELECT\\n metric,\\n ($__timeFrom())::timestamp with time zone AS \\"time\\",\\n value_json-\\u003e\\u003e's' as state,\\n case when (flags \\u0026 B'10000000') = B'10000000' then 'F' else '' end as flags\\nFROM grafana_hist \\nWHERE\\n time \\u003c (($__timeFrom())::timestamp with time zone) and metric IN ('$point_tag') order by grafana_hist.time desc limit 1\\n) \\norder by 2 desc\\n","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"}]}],"title":"Table","type":"table"}],"refresh":"10s","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[{"hide":2,"label":"Tags","name":"point_tag","query":"KAW2KPR21MTVA--------C","skipUrlSync":false,"type":"constant"}]},"time":{"from":"now-3h","to":"now"},"timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"","title":"JSON SCADA History Digital","uid":"LsXOaz47z","version":2,"weekStart":""} +8 3 2 0 3 2024-05-15 15:54:15 1 {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \\u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":3,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"stepAfter","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"decimals":1,"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":11,"w":20,"x":0,"y":0},"id":2,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"8.0.4","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n metric AS metric,\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") AND\\n metric IN ( $point_tag ) \\nORDER BY 1,2","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Metrics","type":"timeseries"},{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[]},"gridPos":{"h":11,"w":20,"x":0,"y":11},"id":3,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"9.5.18","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n metric AS metric,\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") AND\\n metric IN ( $point_tag ) \\nORDER BY 1","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Metrics","type":"gauge"}],"refresh":"10s","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[{"current":{"selected":false,"text":"_SysMongoDB","value":"_SysMongoDB"},"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"definition":"select distinct json_data-\\u003e\\u003e'group1' as group1 from realtime_data order by 1","hide":0,"includeAll":false,"label":"Group1","multi":true,"name":"group1","options":[],"query":"select distinct json_data-\\u003e\\u003e'group1' as group1 from realtime_data order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"_SysMongoDB | WinDev2305Eval","value":"_SysMongoDB | WinDev2305Eval"},"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"definition":"select distinct concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') as group2 from realtime_data where json_data-\\u003e\\u003e'group1' in([[group1]]) order by 1","hide":0,"includeAll":false,"label":"Group2","multi":true,"name":"group2","options":[],"query":"select distinct concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') as group2 from realtime_data where json_data-\\u003e\\u003e'group1' in([[group1]]) order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"_SysMongoDB~WinDev2305Eval~active_reads","value":"_SysMongoDB~WinDev2305Eval~active_reads"},"datasource":{"type":"postgres","uid":"4kXFdV4Gk"},"definition":"select tag as point_tag from realtime_data where concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') in([[group2]]) order by 1","hide":0,"includeAll":false,"label":"Tags","multi":true,"name":"point_tag","options":[],"query":"select tag as point_tag from realtime_data where concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') in([[group2]]) order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false}]},"time":{"from":"now-1h","to":"now"},"timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"","title":"JSON SCADA Filtered Group1/2","uid":"zUqcvfZ7z","version":3,"weekStart":""} +9 3 3 0 4 2024-05-15 15:55:43 1 {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \\u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":3,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"stepAfter","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"decimals":1,"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":11,"w":20,"x":0,"y":0},"id":2,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"8.0.4","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n metric AS metric,\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") AND\\n metric IN ( $point_tag ) \\nORDER BY 1,2","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Metrics","type":"timeseries"},{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[]},"gridPos":{"h":11,"w":20,"x":0,"y":11},"id":3,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"9.5.18","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n metric AS metric,\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") AND\\n metric IN ( $point_tag ) \\nORDER BY 1","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Metrics","type":"gauge"}],"refresh":"10s","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[{"current":{"selected":false,"text":"_SysMongoDB","value":"_SysMongoDB"},"definition":"select distinct json_data-\\u003e\\u003e'group1' as group1 from realtime_data order by 1","hide":0,"includeAll":false,"label":"Group1","multi":true,"name":"group1","options":[],"query":"select distinct json_data-\\u003e\\u003e'group1' as group1 from realtime_data order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"_SysMongoDB | WinDev2305Eval","value":"_SysMongoDB | WinDev2305Eval"},"definition":"select distinct concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') as group2 from realtime_data where json_data-\\u003e\\u003e'group1' in([[group1]]) order by 1","hide":0,"includeAll":false,"label":"Group2","multi":true,"name":"group2","options":[],"query":"select distinct concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') as group2 from realtime_data where json_data-\\u003e\\u003e'group1' in([[group1]]) order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"_SysMongoDB~WinDev2305Eval~active_reads","value":"_SysMongoDB~WinDev2305Eval~active_reads"},"definition":"select tag as point_tag from realtime_data where concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') in([[group2]]) order by 1","hide":0,"includeAll":false,"label":"Tags","multi":true,"name":"point_tag","options":[],"query":"","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false}]},"time":{"from":"now-1h","to":"now"},"timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"","title":"JSON SCADA Filtered Group1/2","uid":"zUqcvfZ7z","version":4,"weekStart":""} +10 3 4 0 5 2024-05-15 15:59:17 1 {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \\u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":3,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"stepAfter","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"decimals":1,"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":11,"w":20,"x":0,"y":0},"id":2,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"8.0.4","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n metric AS metric,\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") AND\\n metric IN ( $point_tag ) \\nORDER BY 1,2","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Metrics","type":"timeseries"},{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"fieldConfig":{"defaults":{"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[]},"gridPos":{"h":11,"w":20,"x":0,"y":11},"id":3,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"9.5.18","targets":[{"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"format":"time_series","group":[],"metricColumn":"metric","rawQuery":true,"rawSql":"SELECT\\n \\"time\\" AS \\"time\\",\\n metric AS metric,\\n value\\nFROM grafana_hist\\nWHERE\\n $__timeFilter(\\"time\\") AND\\n metric IN ( $point_tag ) \\nORDER BY 1","refId":"A","select":[[{"params":["value"],"type":"column"}]],"table":"grafana_hist","timeColumn":"\\"time\\"","timeColumnType":"timestamp","where":[{"name":"$__timeFilter","params":[],"type":"macro"},{"datatype":"text","name":"","params":["metric","IN","$point_tag"],"type":"expression"}]}],"title":"Metrics","type":"gauge"}],"refresh":"10s","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[{"current":{"selected":false,"text":"_SysMongoDB","value":"_SysMongoDB"},"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"definition":"select distinct json_data-\\u003e\\u003e'group1' as group1 from realtime_data order by 1","hide":0,"includeAll":false,"label":"Group1","multi":true,"name":"group1","options":[],"query":"select distinct json_data-\\u003e\\u003e'group1' as group1 from realtime_data order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"_SysMongoDB | WinDev2305Eval","value":"_SysMongoDB | WinDev2305Eval"},"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"definition":"select distinct concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') as group2 from realtime_data where json_data-\\u003e\\u003e'group1' in([[group1]]) order by 1","hide":0,"includeAll":false,"label":"Group2","multi":true,"name":"group2","options":[],"query":"select distinct concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') as group2 from realtime_data where json_data-\\u003e\\u003e'group1' in([[group1]]) order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"_SysMongoDB~WinDev2305Eval~active_reads","value":"_SysMongoDB~WinDev2305Eval~active_reads"},"datasource":{"type":"postgres","uid":"f4dfcd5e-956e-4186-b0ed-abc6496b08b0"},"definition":"select tag as point_tag from realtime_data where concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') in([[group2]]) order by 1","hide":0,"includeAll":false,"label":"Tags","multi":true,"name":"point_tag","options":[],"query":"select tag as point_tag from realtime_data where concat(json_data-\\u003e\\u003e'group1', ' | ', json_data-\\u003e\\u003e'group2') in([[group2]]) order by 1","refresh":1,"regex":"","skipUrlSync":false,"sort":0,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false}]},"time":{"from":"now-1h","to":"now"},"timepicker":{"refresh_intervals":["10s","30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"","title":"JSON SCADA Filtered Group1/2","uid":"zUqcvfZ7z","version":5,"weekStart":""} +\. + + +-- +-- TOC entry 4049 (class 0 OID 20923) +-- Dependencies: 298 +-- Data for Name: data_keys; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.data_keys (name, active, scope, provider, encrypted_data, created, updated, label) FROM stdin; +d4dff665-e7b4-4b78-a8b3-43fe9dfabbc8 t root secretKey.v1 \\x2a5957567a4c574e6d59672a5431785a3461444a1abe195482b461b217da603ad9e5036547dcf797744b7fb8fcdb3d073da14c36 2024-05-15 15:38:36 2024-05-15 15:38:36 2024-05-15/root@secretKey.v1 +\. + + +-- +-- TOC entry 3979 (class 0 OID 20398) +-- Dependencies: 228 +-- Data for Name: data_source; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.data_source (id, org_id, version, type, name, access, url, password, "user", database, basic_auth, basic_auth_user, basic_auth_password, is_default, json_data, created, updated, with_credentials, secure_json_data, read_only, uid) FROM stdin; +1 1 2 postgres PostgreSQL-JSON_SCADA proxy 127.0.0.1:5432 grafana f t {"connMaxLifetime":14400,"database":"json_scada","maxIdleConns":100,"maxIdleConnsAuto":true,"maxOpenConns":100,"postgresVersion":1400,"sslmode":"disable","timescaledb":true} 2024-05-15 15:38:36 2024-05-15 15:42:11 f {} f f4dfcd5e-956e-4186-b0ed-abc6496b08b0 +\. + + +-- +-- TOC entry 4071 (class 0 OID 21063) +-- Dependencies: 320 +-- Data for Name: entity_event; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.entity_event (id, entity_id, event_type, created) FROM stdin; +\. + + +-- +-- TOC entry 4073 (class 0 OID 21103) +-- Dependencies: 322 +-- Data for Name: file; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.file (path, path_hash, parent_folder_path_hash, contents, etag, cache_control, content_disposition, updated, created, size, mime_type) FROM stdin; +\. + + +-- +-- TOC entry 4074 (class 0 OID 21110) +-- Dependencies: 323 +-- Data for Name: file_meta; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.file_meta (path_hash, key, value) FROM stdin; +\. + + +-- +-- TOC entry 4077 (class 0 OID 21135) +-- Dependencies: 326 +-- Data for Name: folder; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.folder (id, uid, org_id, title, description, parent_uid, created, updated) FROM stdin; +\. + + +-- +-- TOC entry 4053 (class 0 OID 20941) +-- Dependencies: 302 +-- Data for Name: kv_store; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.kv_store (id, org_id, namespace, key, value, created, updated) FROM stdin; +1 0 datasource secretMigrationStatus compatible 2024-05-15 15:35:35 2024-05-15 15:35:35 +2 1 alertmanager notifications 2024-05-15 15:37:09 2024-05-15 15:37:09 +3 1 alertmanager silences 2024-05-15 15:37:09 2024-05-15 15:37:09 +\. + + +-- +-- TOC entry 4046 (class 0 OID 20905) +-- Dependencies: 295 +-- Data for Name: library_element; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.library_element (id, org_id, folder_id, uid, name, kind, type, description, model, created, created_by, updated, updated_by, version) FROM stdin; +\. + + +-- +-- TOC entry 4048 (class 0 OID 20915) +-- Dependencies: 297 +-- Data for Name: library_element_connection; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.library_element_connection (id, element_id, kind, connection_id, created, created_by) FROM stdin; +\. + + +-- +-- TOC entry 4020 (class 0 OID 20689) +-- Dependencies: 269 +-- Data for Name: login_attempt; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.login_attempt (id, username, ip_address, created) FROM stdin; +\. + + +-- +-- TOC entry 3961 (class 0 OID 20216) +-- Dependencies: 210 +-- Data for Name: migration_log; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.migration_log (id, migration_id, sql, success, error, "timestamp") FROM stdin; +1 create migration_log table CREATE TABLE IF NOT EXISTS "migration_log" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "migration_id" VARCHAR(255) NOT NULL\n, "sql" TEXT NOT NULL\n, "success" BOOL NOT NULL\n, "error" TEXT NOT NULL\n, "timestamp" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:40 +2 create user table CREATE TABLE IF NOT EXISTS "user" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "version" INTEGER NOT NULL\n, "login" VARCHAR(190) NOT NULL\n, "email" VARCHAR(190) NOT NULL\n, "name" VARCHAR(255) NULL\n, "password" VARCHAR(255) NULL\n, "salt" VARCHAR(50) NULL\n, "rands" VARCHAR(50) NULL\n, "company" VARCHAR(255) NULL\n, "account_id" BIGINT NOT NULL\n, "is_admin" BOOL NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:41 +3 add unique index user.login CREATE UNIQUE INDEX "UQE_user_login" ON "user" ("login"); t 2024-05-15 15:34:41 +4 add unique index user.email CREATE UNIQUE INDEX "UQE_user_email" ON "user" ("email"); t 2024-05-15 15:34:41 +5 drop index UQE_user_login - v1 DROP INDEX "UQE_user_login" CASCADE t 2024-05-15 15:34:41 +6 drop index UQE_user_email - v1 DROP INDEX "UQE_user_email" CASCADE t 2024-05-15 15:34:41 +7 Rename table user to user_v1 - v1 ALTER TABLE "user" RENAME TO "user_v1" t 2024-05-15 15:34:41 +8 create user table v2 CREATE TABLE IF NOT EXISTS "user" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "version" INTEGER NOT NULL\n, "login" VARCHAR(190) NOT NULL\n, "email" VARCHAR(190) NOT NULL\n, "name" VARCHAR(255) NULL\n, "password" VARCHAR(255) NULL\n, "salt" VARCHAR(50) NULL\n, "rands" VARCHAR(50) NULL\n, "company" VARCHAR(255) NULL\n, "org_id" BIGINT NOT NULL\n, "is_admin" BOOL NOT NULL\n, "email_verified" BOOL NULL\n, "theme" VARCHAR(255) NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:41 +9 create index UQE_user_login - v2 CREATE UNIQUE INDEX "UQE_user_login" ON "user" ("login"); t 2024-05-15 15:34:41 +10 create index UQE_user_email - v2 CREATE UNIQUE INDEX "UQE_user_email" ON "user" ("email"); t 2024-05-15 15:34:41 +11 copy data_source v1 to v2 INSERT INTO "user" ("updated"\n, "salt"\n, "org_id"\n, "is_admin"\n, "created"\n, "email"\n, "name"\n, "password"\n, "version"\n, "id"\n, "login"\n, "rands"\n, "company") SELECT "updated"\n, "salt"\n, "account_id"\n, "is_admin"\n, "created"\n, "email"\n, "name"\n, "password"\n, "version"\n, "id"\n, "login"\n, "rands"\n, "company" FROM "user_v1" t 2024-05-15 15:34:41 +12 Drop old table user_v1 DROP TABLE IF EXISTS "user_v1" t 2024-05-15 15:34:41 +13 Add column help_flags1 to user table alter table "user" ADD COLUMN "help_flags1" BIGINT NOT NULL DEFAULT 0 t 2024-05-15 15:34:41 +14 Update user table charset ALTER TABLE "user" ALTER "login" TYPE VARCHAR(190), ALTER "email" TYPE VARCHAR(190), ALTER "name" TYPE VARCHAR(255), ALTER "password" TYPE VARCHAR(255), ALTER "salt" TYPE VARCHAR(50), ALTER "rands" TYPE VARCHAR(50), ALTER "company" TYPE VARCHAR(255), ALTER "theme" TYPE VARCHAR(255); t 2024-05-15 15:34:41 +15 Add last_seen_at column to user alter table "user" ADD COLUMN "last_seen_at" TIMESTAMP NULL t 2024-05-15 15:34:41 +16 Add missing user data code migration t 2024-05-15 15:34:41 +17 Add is_disabled column to user alter table "user" ADD COLUMN "is_disabled" BOOL NOT NULL DEFAULT false t 2024-05-15 15:34:41 +18 Add index user.login/user.email CREATE INDEX "IDX_user_login_email" ON "user" ("login","email"); t 2024-05-15 15:34:41 +19 Add is_service_account column to user alter table "user" ADD COLUMN "is_service_account" BOOL NOT NULL DEFAULT false t 2024-05-15 15:34:41 +20 Update is_service_account column to nullable ALTER TABLE `user` ALTER COLUMN is_service_account DROP NOT NULL; t 2024-05-15 15:34:41 +21 create temp user table v1-7 CREATE TABLE IF NOT EXISTS "temp_user" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "version" INTEGER NOT NULL\n, "email" VARCHAR(190) NOT NULL\n, "name" VARCHAR(255) NULL\n, "role" VARCHAR(20) NULL\n, "code" VARCHAR(190) NOT NULL\n, "status" VARCHAR(20) NOT NULL\n, "invited_by_user_id" BIGINT NULL\n, "email_sent" BOOL NOT NULL\n, "email_sent_on" TIMESTAMP NULL\n, "remote_addr" VARCHAR(255) NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:41 +22 create index IDX_temp_user_email - v1-7 CREATE INDEX "IDX_temp_user_email" ON "temp_user" ("email"); t 2024-05-15 15:34:41 +23 create index IDX_temp_user_org_id - v1-7 CREATE INDEX "IDX_temp_user_org_id" ON "temp_user" ("org_id"); t 2024-05-15 15:34:41 +24 create index IDX_temp_user_code - v1-7 CREATE INDEX "IDX_temp_user_code" ON "temp_user" ("code"); t 2024-05-15 15:34:41 +25 create index IDX_temp_user_status - v1-7 CREATE INDEX "IDX_temp_user_status" ON "temp_user" ("status"); t 2024-05-15 15:34:41 +26 Update temp_user table charset ALTER TABLE "temp_user" ALTER "email" TYPE VARCHAR(190), ALTER "name" TYPE VARCHAR(255), ALTER "role" TYPE VARCHAR(20), ALTER "code" TYPE VARCHAR(190), ALTER "status" TYPE VARCHAR(20), ALTER "remote_addr" TYPE VARCHAR(255); t 2024-05-15 15:34:41 +27 drop index IDX_temp_user_email - v1 DROP INDEX "IDX_temp_user_email" CASCADE t 2024-05-15 15:34:41 +28 drop index IDX_temp_user_org_id - v1 DROP INDEX "IDX_temp_user_org_id" CASCADE t 2024-05-15 15:34:41 +29 drop index IDX_temp_user_code - v1 DROP INDEX "IDX_temp_user_code" CASCADE t 2024-05-15 15:34:42 +30 drop index IDX_temp_user_status - v1 DROP INDEX "IDX_temp_user_status" CASCADE t 2024-05-15 15:34:42 +31 Rename table temp_user to temp_user_tmp_qwerty - v1 ALTER TABLE "temp_user" RENAME TO "temp_user_tmp_qwerty" t 2024-05-15 15:34:42 +32 create temp_user v2 CREATE TABLE IF NOT EXISTS "temp_user" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "version" INTEGER NOT NULL\n, "email" VARCHAR(190) NOT NULL\n, "name" VARCHAR(255) NULL\n, "role" VARCHAR(20) NULL\n, "code" VARCHAR(190) NOT NULL\n, "status" VARCHAR(20) NOT NULL\n, "invited_by_user_id" BIGINT NULL\n, "email_sent" BOOL NOT NULL\n, "email_sent_on" TIMESTAMP NULL\n, "remote_addr" VARCHAR(255) NULL\n, "created" INTEGER NOT NULL DEFAULT 0\n, "updated" INTEGER NOT NULL DEFAULT 0\n); t 2024-05-15 15:34:42 +33 create index IDX_temp_user_email - v2 CREATE INDEX "IDX_temp_user_email" ON "temp_user" ("email"); t 2024-05-15 15:34:42 +34 create index IDX_temp_user_org_id - v2 CREATE INDEX "IDX_temp_user_org_id" ON "temp_user" ("org_id"); t 2024-05-15 15:34:42 +35 create index IDX_temp_user_code - v2 CREATE INDEX "IDX_temp_user_code" ON "temp_user" ("code"); t 2024-05-15 15:34:42 +36 create index IDX_temp_user_status - v2 CREATE INDEX "IDX_temp_user_status" ON "temp_user" ("status"); t 2024-05-15 15:34:42 +37 copy temp_user v1 to v2 INSERT INTO "temp_user" ("id"\n, "version"\n, "name"\n, "invited_by_user_id"\n, "status"\n, "email_sent"\n, "email_sent_on"\n, "remote_addr"\n, "org_id"\n, "email"\n, "role"\n, "code") SELECT "id"\n, "version"\n, "name"\n, "invited_by_user_id"\n, "status"\n, "email_sent"\n, "email_sent_on"\n, "remote_addr"\n, "org_id"\n, "email"\n, "role"\n, "code" FROM "temp_user_tmp_qwerty" t 2024-05-15 15:34:42 +38 drop temp_user_tmp_qwerty DROP TABLE IF EXISTS "temp_user_tmp_qwerty" t 2024-05-15 15:34:42 +39 Set created for temp users that will otherwise prematurely expire code migration t 2024-05-15 15:34:42 +165 Add column team_id in preferences alter table "preferences" ADD COLUMN "team_id" BIGINT NULL t 2024-05-15 15:34:46 +40 create star table CREATE TABLE IF NOT EXISTS "star" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "user_id" BIGINT NOT NULL\n, "dashboard_id" BIGINT NOT NULL\n); t 2024-05-15 15:34:42 +41 add unique index star.user_id_dashboard_id CREATE UNIQUE INDEX "UQE_star_user_id_dashboard_id" ON "star" ("user_id","dashboard_id"); t 2024-05-15 15:34:42 +42 create org table v1 CREATE TABLE IF NOT EXISTS "org" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "version" INTEGER NOT NULL\n, "name" VARCHAR(190) NOT NULL\n, "address1" VARCHAR(255) NULL\n, "address2" VARCHAR(255) NULL\n, "city" VARCHAR(255) NULL\n, "state" VARCHAR(255) NULL\n, "zip_code" VARCHAR(50) NULL\n, "country" VARCHAR(255) NULL\n, "billing_email" VARCHAR(255) NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:42 +43 create index UQE_org_name - v1 CREATE UNIQUE INDEX "UQE_org_name" ON "org" ("name"); t 2024-05-15 15:34:42 +44 create org_user table v1 CREATE TABLE IF NOT EXISTS "org_user" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "user_id" BIGINT NOT NULL\n, "role" VARCHAR(20) NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:42 +45 create index IDX_org_user_org_id - v1 CREATE INDEX "IDX_org_user_org_id" ON "org_user" ("org_id"); t 2024-05-15 15:34:42 +46 create index UQE_org_user_org_id_user_id - v1 CREATE UNIQUE INDEX "UQE_org_user_org_id_user_id" ON "org_user" ("org_id","user_id"); t 2024-05-15 15:34:42 +47 create index IDX_org_user_user_id - v1 CREATE INDEX "IDX_org_user_user_id" ON "org_user" ("user_id"); t 2024-05-15 15:34:42 +48 Update org table charset ALTER TABLE "org" ALTER "name" TYPE VARCHAR(190), ALTER "address1" TYPE VARCHAR(255), ALTER "address2" TYPE VARCHAR(255), ALTER "city" TYPE VARCHAR(255), ALTER "state" TYPE VARCHAR(255), ALTER "zip_code" TYPE VARCHAR(50), ALTER "country" TYPE VARCHAR(255), ALTER "billing_email" TYPE VARCHAR(255); t 2024-05-15 15:34:42 +49 Update org_user table charset ALTER TABLE "org_user" ALTER "role" TYPE VARCHAR(20); t 2024-05-15 15:34:42 +50 Migrate all Read Only Viewers to Viewers UPDATE org_user SET role = 'Viewer' WHERE role = 'Read Only Editor' t 2024-05-15 15:34:42 +51 create dashboard table CREATE TABLE IF NOT EXISTS "dashboard" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "version" INTEGER NOT NULL\n, "slug" VARCHAR(189) NOT NULL\n, "title" VARCHAR(255) NOT NULL\n, "data" TEXT NOT NULL\n, "account_id" BIGINT NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:42 +52 add index dashboard.account_id CREATE INDEX "IDX_dashboard_account_id" ON "dashboard" ("account_id"); t 2024-05-15 15:34:42 +53 add unique index dashboard_account_id_slug CREATE UNIQUE INDEX "UQE_dashboard_account_id_slug" ON "dashboard" ("account_id","slug"); t 2024-05-15 15:34:42 +54 create dashboard_tag table CREATE TABLE IF NOT EXISTS "dashboard_tag" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "dashboard_id" BIGINT NOT NULL\n, "term" VARCHAR(50) NOT NULL\n); t 2024-05-15 15:34:42 +55 add unique index dashboard_tag.dasboard_id_term CREATE UNIQUE INDEX "UQE_dashboard_tag_dashboard_id_term" ON "dashboard_tag" ("dashboard_id","term"); t 2024-05-15 15:34:42 +56 drop index UQE_dashboard_tag_dashboard_id_term - v1 DROP INDEX "UQE_dashboard_tag_dashboard_id_term" CASCADE t 2024-05-15 15:34:43 +57 Rename table dashboard to dashboard_v1 - v1 ALTER TABLE "dashboard" RENAME TO "dashboard_v1" t 2024-05-15 15:34:43 +58 create dashboard v2 CREATE TABLE IF NOT EXISTS "dashboard" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "version" INTEGER NOT NULL\n, "slug" VARCHAR(189) NOT NULL\n, "title" VARCHAR(255) NOT NULL\n, "data" TEXT NOT NULL\n, "org_id" BIGINT NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:43 +59 create index IDX_dashboard_org_id - v2 CREATE INDEX "IDX_dashboard_org_id" ON "dashboard" ("org_id"); t 2024-05-15 15:34:43 +60 create index UQE_dashboard_org_id_slug - v2 CREATE UNIQUE INDEX "UQE_dashboard_org_id_slug" ON "dashboard" ("org_id","slug"); t 2024-05-15 15:34:43 +61 copy dashboard v1 to v2 INSERT INTO "dashboard" ("id"\n, "version"\n, "slug"\n, "title"\n, "data"\n, "org_id"\n, "created"\n, "updated") SELECT "id"\n, "version"\n, "slug"\n, "title"\n, "data"\n, "account_id"\n, "created"\n, "updated" FROM "dashboard_v1" t 2024-05-15 15:34:43 +62 drop table dashboard_v1 DROP TABLE IF EXISTS "dashboard_v1" t 2024-05-15 15:34:43 +63 alter dashboard.data to mediumtext v1 SELECT 0; t 2024-05-15 15:34:43 +64 Add column updated_by in dashboard - v2 alter table "dashboard" ADD COLUMN "updated_by" INTEGER NULL t 2024-05-15 15:34:43 +65 Add column created_by in dashboard - v2 alter table "dashboard" ADD COLUMN "created_by" INTEGER NULL t 2024-05-15 15:34:43 +66 Add column gnetId in dashboard alter table "dashboard" ADD COLUMN "gnet_id" BIGINT NULL t 2024-05-15 15:34:43 +67 Add index for gnetId in dashboard CREATE INDEX "IDX_dashboard_gnet_id" ON "dashboard" ("gnet_id"); t 2024-05-15 15:34:43 +68 Add column plugin_id in dashboard alter table "dashboard" ADD COLUMN "plugin_id" VARCHAR(189) NULL t 2024-05-15 15:34:43 +69 Add index for plugin_id in dashboard CREATE INDEX "IDX_dashboard_org_id_plugin_id" ON "dashboard" ("org_id","plugin_id"); t 2024-05-15 15:34:43 +70 Add index for dashboard_id in dashboard_tag CREATE INDEX "IDX_dashboard_tag_dashboard_id" ON "dashboard_tag" ("dashboard_id"); t 2024-05-15 15:34:43 +71 Update dashboard table charset ALTER TABLE "dashboard" ALTER "slug" TYPE VARCHAR(189), ALTER "title" TYPE VARCHAR(255), ALTER "plugin_id" TYPE VARCHAR(189), ALTER "data" TYPE TEXT; t 2024-05-15 15:34:43 +72 Update dashboard_tag table charset ALTER TABLE "dashboard_tag" ALTER "term" TYPE VARCHAR(50); t 2024-05-15 15:34:43 +73 Add column folder_id in dashboard alter table "dashboard" ADD COLUMN "folder_id" BIGINT NOT NULL DEFAULT 0 t 2024-05-15 15:34:43 +74 Add column isFolder in dashboard alter table "dashboard" ADD COLUMN "is_folder" BOOL NOT NULL DEFAULT false t 2024-05-15 15:34:43 +75 Add column has_acl in dashboard alter table "dashboard" ADD COLUMN "has_acl" BOOL NOT NULL DEFAULT false t 2024-05-15 15:34:43 +76 Add column uid in dashboard alter table "dashboard" ADD COLUMN "uid" VARCHAR(40) NULL t 2024-05-15 15:34:43 +77 Update uid column values in dashboard UPDATE dashboard SET uid=lpad('' || id::text,9,'0') WHERE uid IS NULL; t 2024-05-15 15:34:43 +78 Add unique index dashboard_org_id_uid CREATE UNIQUE INDEX "UQE_dashboard_org_id_uid" ON "dashboard" ("org_id","uid"); t 2024-05-15 15:34:43 +79 Remove unique index org_id_slug DROP INDEX "UQE_dashboard_org_id_slug" CASCADE t 2024-05-15 15:34:43 +80 Update dashboard title length ALTER TABLE "dashboard" ALTER "title" TYPE VARCHAR(189); t 2024-05-15 15:34:44 +81 Add unique index for dashboard_org_id_title_folder_id CREATE UNIQUE INDEX "UQE_dashboard_org_id_folder_id_title" ON "dashboard" ("org_id","folder_id","title"); t 2024-05-15 15:34:44 +82 create dashboard_provisioning CREATE TABLE IF NOT EXISTS "dashboard_provisioning" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "dashboard_id" BIGINT NULL\n, "name" VARCHAR(150) NOT NULL\n, "external_id" TEXT NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:44 +83 Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1 ALTER TABLE "dashboard_provisioning" RENAME TO "dashboard_provisioning_tmp_qwerty" t 2024-05-15 15:34:44 +84 create dashboard_provisioning v2 CREATE TABLE IF NOT EXISTS "dashboard_provisioning" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "dashboard_id" BIGINT NULL\n, "name" VARCHAR(150) NOT NULL\n, "external_id" TEXT NOT NULL\n, "updated" INTEGER NOT NULL DEFAULT 0\n); t 2024-05-15 15:34:44 +85 create index IDX_dashboard_provisioning_dashboard_id - v2 CREATE INDEX "IDX_dashboard_provisioning_dashboard_id" ON "dashboard_provisioning" ("dashboard_id"); t 2024-05-15 15:34:44 +86 create index IDX_dashboard_provisioning_dashboard_id_name - v2 CREATE INDEX "IDX_dashboard_provisioning_dashboard_id_name" ON "dashboard_provisioning" ("dashboard_id","name"); t 2024-05-15 15:34:44 +87 copy dashboard_provisioning v1 to v2 INSERT INTO "dashboard_provisioning" ("name"\n, "external_id"\n, "id"\n, "dashboard_id") SELECT "name"\n, "external_id"\n, "id"\n, "dashboard_id" FROM "dashboard_provisioning_tmp_qwerty" t 2024-05-15 15:34:44 +88 drop dashboard_provisioning_tmp_qwerty DROP TABLE IF EXISTS "dashboard_provisioning_tmp_qwerty" t 2024-05-15 15:34:44 +89 Add check_sum column alter table "dashboard_provisioning" ADD COLUMN "check_sum" VARCHAR(32) NULL t 2024-05-15 15:34:44 +90 Add index for dashboard_title CREATE INDEX "IDX_dashboard_title" ON "dashboard" ("title"); t 2024-05-15 15:34:44 +91 delete tags for deleted dashboards DELETE FROM dashboard_tag WHERE dashboard_id NOT IN (SELECT id FROM dashboard) t 2024-05-15 15:34:44 +92 delete stars for deleted dashboards DELETE FROM star WHERE dashboard_id NOT IN (SELECT id FROM dashboard) t 2024-05-15 15:34:44 +93 Add index for dashboard_is_folder CREATE INDEX "IDX_dashboard_is_folder" ON "dashboard" ("is_folder"); t 2024-05-15 15:34:44 +94 Add isPublic for dashboard alter table "dashboard" ADD COLUMN "is_public" BOOL NOT NULL DEFAULT false t 2024-05-15 15:34:44 +95 create data_source table CREATE TABLE IF NOT EXISTS "data_source" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "account_id" BIGINT NOT NULL\n, "version" INTEGER NOT NULL\n, "type" VARCHAR(255) NOT NULL\n, "name" VARCHAR(190) NOT NULL\n, "access" VARCHAR(255) NOT NULL\n, "url" VARCHAR(255) NOT NULL\n, "password" VARCHAR(255) NULL\n, "user" VARCHAR(255) NULL\n, "database" VARCHAR(255) NULL\n, "basic_auth" BOOL NOT NULL\n, "basic_auth_user" VARCHAR(255) NULL\n, "basic_auth_password" VARCHAR(255) NULL\n, "is_default" BOOL NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:44 +96 add index data_source.account_id CREATE INDEX "IDX_data_source_account_id" ON "data_source" ("account_id"); t 2024-05-15 15:34:44 +97 add unique index data_source.account_id_name CREATE UNIQUE INDEX "UQE_data_source_account_id_name" ON "data_source" ("account_id","name"); t 2024-05-15 15:34:44 +98 drop index IDX_data_source_account_id - v1 DROP INDEX "IDX_data_source_account_id" CASCADE t 2024-05-15 15:34:44 +99 drop index UQE_data_source_account_id_name - v1 DROP INDEX "UQE_data_source_account_id_name" CASCADE t 2024-05-15 15:34:44 +100 Rename table data_source to data_source_v1 - v1 ALTER TABLE "data_source" RENAME TO "data_source_v1" t 2024-05-15 15:34:44 +101 create data_source table v2 CREATE TABLE IF NOT EXISTS "data_source" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "version" INTEGER NOT NULL\n, "type" VARCHAR(255) NOT NULL\n, "name" VARCHAR(190) NOT NULL\n, "access" VARCHAR(255) NOT NULL\n, "url" VARCHAR(255) NOT NULL\n, "password" VARCHAR(255) NULL\n, "user" VARCHAR(255) NULL\n, "database" VARCHAR(255) NULL\n, "basic_auth" BOOL NOT NULL\n, "basic_auth_user" VARCHAR(255) NULL\n, "basic_auth_password" VARCHAR(255) NULL\n, "is_default" BOOL NOT NULL\n, "json_data" TEXT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:44 +102 create index IDX_data_source_org_id - v2 CREATE INDEX "IDX_data_source_org_id" ON "data_source" ("org_id"); t 2024-05-15 15:34:44 +103 create index UQE_data_source_org_id_name - v2 CREATE UNIQUE INDEX "UQE_data_source_org_id_name" ON "data_source" ("org_id","name"); t 2024-05-15 15:34:44 +104 Drop old table data_source_v1 #2 DROP TABLE IF EXISTS "data_source_v1" t 2024-05-15 15:34:44 +105 Add column with_credentials alter table "data_source" ADD COLUMN "with_credentials" BOOL NOT NULL DEFAULT false t 2024-05-15 15:34:44 +106 Add secure json data column alter table "data_source" ADD COLUMN "secure_json_data" TEXT NULL t 2024-05-15 15:34:44 +107 Update data_source table charset ALTER TABLE "data_source" ALTER "type" TYPE VARCHAR(255), ALTER "name" TYPE VARCHAR(190), ALTER "access" TYPE VARCHAR(255), ALTER "url" TYPE VARCHAR(255), ALTER "password" TYPE VARCHAR(255), ALTER "user" TYPE VARCHAR(255), ALTER "database" TYPE VARCHAR(255), ALTER "basic_auth_user" TYPE VARCHAR(255), ALTER "basic_auth_password" TYPE VARCHAR(255), ALTER "json_data" TYPE TEXT, ALTER "secure_json_data" TYPE TEXT; t 2024-05-15 15:34:44 +108 Update initial version to 1 UPDATE data_source SET version = 1 WHERE version = 0 t 2024-05-15 15:34:44 +109 Add read_only data column alter table "data_source" ADD COLUMN "read_only" BOOL NULL t 2024-05-15 15:34:44 +110 Migrate logging ds to loki ds UPDATE data_source SET type = 'loki' WHERE type = 'logging' t 2024-05-15 15:34:44 +111 Update json_data with nulls UPDATE data_source SET json_data = '{}' WHERE json_data is null t 2024-05-15 15:34:44 +112 Add uid column alter table "data_source" ADD COLUMN "uid" VARCHAR(40) NOT NULL DEFAULT 0 t 2024-05-15 15:34:44 +113 Update uid value UPDATE data_source SET uid=lpad('' || id::text,9,'0'); t 2024-05-15 15:34:44 +114 Add unique index datasource_org_id_uid CREATE UNIQUE INDEX "UQE_data_source_org_id_uid" ON "data_source" ("org_id","uid"); t 2024-05-15 15:34:44 +115 add unique index datasource_org_id_is_default CREATE INDEX "IDX_data_source_org_id_is_default" ON "data_source" ("org_id","is_default"); t 2024-05-15 15:34:44 +116 create api_key table CREATE TABLE IF NOT EXISTS "api_key" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "account_id" BIGINT NOT NULL\n, "name" VARCHAR(190) NOT NULL\n, "key" VARCHAR(64) NOT NULL\n, "role" VARCHAR(255) NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:44 +117 add index api_key.account_id CREATE INDEX "IDX_api_key_account_id" ON "api_key" ("account_id"); t 2024-05-15 15:34:45 +118 add index api_key.key CREATE UNIQUE INDEX "UQE_api_key_key" ON "api_key" ("key"); t 2024-05-15 15:34:45 +119 add index api_key.account_id_name CREATE UNIQUE INDEX "UQE_api_key_account_id_name" ON "api_key" ("account_id","name"); t 2024-05-15 15:34:45 +120 drop index IDX_api_key_account_id - v1 DROP INDEX "IDX_api_key_account_id" CASCADE t 2024-05-15 15:34:45 +121 drop index UQE_api_key_key - v1 DROP INDEX "UQE_api_key_key" CASCADE t 2024-05-15 15:34:45 +122 drop index UQE_api_key_account_id_name - v1 DROP INDEX "UQE_api_key_account_id_name" CASCADE t 2024-05-15 15:34:45 +123 Rename table api_key to api_key_v1 - v1 ALTER TABLE "api_key" RENAME TO "api_key_v1" t 2024-05-15 15:34:45 +164 Update preferences table charset ALTER TABLE "preferences" ALTER "timezone" TYPE VARCHAR(50), ALTER "theme" TYPE VARCHAR(20); t 2024-05-15 15:34:46 +124 create api_key table v2 CREATE TABLE IF NOT EXISTS "api_key" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "name" VARCHAR(190) NOT NULL\n, "key" VARCHAR(190) NOT NULL\n, "role" VARCHAR(255) NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:45 +125 create index IDX_api_key_org_id - v2 CREATE INDEX "IDX_api_key_org_id" ON "api_key" ("org_id"); t 2024-05-15 15:34:45 +126 create index UQE_api_key_key - v2 CREATE UNIQUE INDEX "UQE_api_key_key" ON "api_key" ("key"); t 2024-05-15 15:34:45 +127 create index UQE_api_key_org_id_name - v2 CREATE UNIQUE INDEX "UQE_api_key_org_id_name" ON "api_key" ("org_id","name"); t 2024-05-15 15:34:45 +128 copy api_key v1 to v2 INSERT INTO "api_key" ("name"\n, "key"\n, "role"\n, "created"\n, "updated"\n, "id"\n, "org_id") SELECT "name"\n, "key"\n, "role"\n, "created"\n, "updated"\n, "id"\n, "account_id" FROM "api_key_v1" t 2024-05-15 15:34:45 +129 Drop old table api_key_v1 DROP TABLE IF EXISTS "api_key_v1" t 2024-05-15 15:34:45 +130 Update api_key table charset ALTER TABLE "api_key" ALTER "name" TYPE VARCHAR(190), ALTER "key" TYPE VARCHAR(190), ALTER "role" TYPE VARCHAR(255); t 2024-05-15 15:34:45 +131 Add expires to api_key table alter table "api_key" ADD COLUMN "expires" BIGINT NULL t 2024-05-15 15:34:45 +132 Add service account foreign key alter table "api_key" ADD COLUMN "service_account_id" BIGINT NULL t 2024-05-15 15:34:45 +133 set service account foreign key to nil if 0 UPDATE api_key SET service_account_id = NULL WHERE service_account_id = 0; t 2024-05-15 15:34:45 +134 Add last_used_at to api_key table alter table "api_key" ADD COLUMN "last_used_at" TIMESTAMP NULL t 2024-05-15 15:34:45 +135 Add is_revoked column to api_key table alter table "api_key" ADD COLUMN "is_revoked" BOOL NULL DEFAULT false t 2024-05-15 15:34:45 +136 create dashboard_snapshot table v4 CREATE TABLE IF NOT EXISTS "dashboard_snapshot" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "name" VARCHAR(255) NOT NULL\n, "key" VARCHAR(190) NOT NULL\n, "dashboard" TEXT NOT NULL\n, "expires" TIMESTAMP NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:45 +137 drop table dashboard_snapshot_v4 #1 DROP TABLE IF EXISTS "dashboard_snapshot" t 2024-05-15 15:34:45 +138 create dashboard_snapshot table v5 #2 CREATE TABLE IF NOT EXISTS "dashboard_snapshot" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "name" VARCHAR(255) NOT NULL\n, "key" VARCHAR(190) NOT NULL\n, "delete_key" VARCHAR(190) NOT NULL\n, "org_id" BIGINT NOT NULL\n, "user_id" BIGINT NOT NULL\n, "external" BOOL NOT NULL\n, "external_url" VARCHAR(255) NOT NULL\n, "dashboard" TEXT NOT NULL\n, "expires" TIMESTAMP NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:45 +139 create index UQE_dashboard_snapshot_key - v5 CREATE UNIQUE INDEX "UQE_dashboard_snapshot_key" ON "dashboard_snapshot" ("key"); t 2024-05-15 15:34:45 +140 create index UQE_dashboard_snapshot_delete_key - v5 CREATE UNIQUE INDEX "UQE_dashboard_snapshot_delete_key" ON "dashboard_snapshot" ("delete_key"); t 2024-05-15 15:34:45 +141 create index IDX_dashboard_snapshot_user_id - v5 CREATE INDEX "IDX_dashboard_snapshot_user_id" ON "dashboard_snapshot" ("user_id"); t 2024-05-15 15:34:45 +142 alter dashboard_snapshot to mediumtext v2 SELECT 0; t 2024-05-15 15:34:45 +143 Update dashboard_snapshot table charset ALTER TABLE "dashboard_snapshot" ALTER "name" TYPE VARCHAR(255), ALTER "key" TYPE VARCHAR(190), ALTER "delete_key" TYPE VARCHAR(190), ALTER "external_url" TYPE VARCHAR(255), ALTER "dashboard" TYPE TEXT; t 2024-05-15 15:34:45 +144 Add column external_delete_url to dashboard_snapshots table alter table "dashboard_snapshot" ADD COLUMN "external_delete_url" VARCHAR(255) NULL t 2024-05-15 15:34:45 +145 Add encrypted dashboard json column alter table "dashboard_snapshot" ADD COLUMN "dashboard_encrypted" BYTEA NULL t 2024-05-15 15:34:45 +146 Change dashboard_encrypted column to MEDIUMBLOB SELECT 0; t 2024-05-15 15:34:46 +147 create quota table v1 CREATE TABLE IF NOT EXISTS "quota" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NULL\n, "user_id" BIGINT NULL\n, "target" VARCHAR(190) NOT NULL\n, "limit" BIGINT NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:46 +148 create index UQE_quota_org_id_user_id_target - v1 CREATE UNIQUE INDEX "UQE_quota_org_id_user_id_target" ON "quota" ("org_id","user_id","target"); t 2024-05-15 15:34:46 +149 Update quota table charset ALTER TABLE "quota" ALTER "target" TYPE VARCHAR(190); t 2024-05-15 15:34:46 +150 create plugin_setting table CREATE TABLE IF NOT EXISTS "plugin_setting" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NULL\n, "plugin_id" VARCHAR(190) NOT NULL\n, "enabled" BOOL NOT NULL\n, "pinned" BOOL NOT NULL\n, "json_data" TEXT NULL\n, "secure_json_data" TEXT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:46 +151 create index UQE_plugin_setting_org_id_plugin_id - v1 CREATE UNIQUE INDEX "UQE_plugin_setting_org_id_plugin_id" ON "plugin_setting" ("org_id","plugin_id"); t 2024-05-15 15:34:46 +152 Add column plugin_version to plugin_settings alter table "plugin_setting" ADD COLUMN "plugin_version" VARCHAR(50) NULL t 2024-05-15 15:34:46 +153 Update plugin_setting table charset ALTER TABLE "plugin_setting" ALTER "plugin_id" TYPE VARCHAR(190), ALTER "json_data" TYPE TEXT, ALTER "secure_json_data" TYPE TEXT, ALTER "plugin_version" TYPE VARCHAR(50); t 2024-05-15 15:34:46 +154 create session table CREATE TABLE IF NOT EXISTS "session" (\n"key" CHAR(16) PRIMARY KEY NOT NULL\n, "data" BYTEA NOT NULL\n, "expiry" INTEGER NOT NULL\n); t 2024-05-15 15:34:46 +155 Drop old table playlist table DROP TABLE IF EXISTS "playlist" t 2024-05-15 15:34:46 +156 Drop old table playlist_item table DROP TABLE IF EXISTS "playlist_item" t 2024-05-15 15:34:46 +157 create playlist table v2 CREATE TABLE IF NOT EXISTS "playlist" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "name" VARCHAR(255) NOT NULL\n, "interval" VARCHAR(255) NOT NULL\n, "org_id" BIGINT NOT NULL\n); t 2024-05-15 15:34:46 +158 create playlist item table v2 CREATE TABLE IF NOT EXISTS "playlist_item" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "playlist_id" BIGINT NOT NULL\n, "type" VARCHAR(255) NOT NULL\n, "value" TEXT NOT NULL\n, "title" TEXT NOT NULL\n, "order" INTEGER NOT NULL\n); t 2024-05-15 15:34:46 +159 Update playlist table charset ALTER TABLE "playlist" ALTER "name" TYPE VARCHAR(255), ALTER "interval" TYPE VARCHAR(255); t 2024-05-15 15:34:46 +160 Update playlist_item table charset ALTER TABLE "playlist_item" ALTER "type" TYPE VARCHAR(255), ALTER "value" TYPE TEXT, ALTER "title" TYPE TEXT; t 2024-05-15 15:34:46 +161 drop preferences table v2 DROP TABLE IF EXISTS "preferences" t 2024-05-15 15:34:46 +162 drop preferences table v3 DROP TABLE IF EXISTS "preferences" t 2024-05-15 15:34:46 +163 create preferences table v3 CREATE TABLE IF NOT EXISTS "preferences" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "user_id" BIGINT NOT NULL\n, "version" INTEGER NOT NULL\n, "home_dashboard_id" BIGINT NOT NULL\n, "timezone" VARCHAR(50) NOT NULL\n, "theme" VARCHAR(20) NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:46 +248 alter dashboard_version.data to mediumtext v1 SELECT 0; t 2024-05-15 15:34:54 +166 Update team_id column values in preferences UPDATE preferences SET team_id=0 WHERE team_id IS NULL; t 2024-05-15 15:34:46 +167 Add column week_start in preferences alter table "preferences" ADD COLUMN "week_start" VARCHAR(10) NULL t 2024-05-15 15:34:46 +168 Add column preferences.json_data alter table "preferences" ADD COLUMN "json_data" TEXT NULL t 2024-05-15 15:34:46 +169 alter preferences.json_data to mediumtext v1 SELECT 0; t 2024-05-15 15:34:46 +170 Add preferences index org_id CREATE INDEX "IDX_preferences_org_id" ON "preferences" ("org_id"); t 2024-05-15 15:34:46 +171 Add preferences index user_id CREATE INDEX "IDX_preferences_user_id" ON "preferences" ("user_id"); t 2024-05-15 15:34:46 +172 create alert table v1 CREATE TABLE IF NOT EXISTS "alert" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "version" BIGINT NOT NULL\n, "dashboard_id" BIGINT NOT NULL\n, "panel_id" BIGINT NOT NULL\n, "org_id" BIGINT NOT NULL\n, "name" VARCHAR(255) NOT NULL\n, "message" TEXT NOT NULL\n, "state" VARCHAR(190) NOT NULL\n, "settings" TEXT NOT NULL\n, "frequency" BIGINT NOT NULL\n, "handler" BIGINT NOT NULL\n, "severity" TEXT NOT NULL\n, "silenced" BOOL NOT NULL\n, "execution_error" TEXT NOT NULL\n, "eval_data" TEXT NULL\n, "eval_date" TIMESTAMP NULL\n, "new_state_date" TIMESTAMP NOT NULL\n, "state_changes" INTEGER NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:46 +173 add index alert org_id & id CREATE INDEX "IDX_alert_org_id_id" ON "alert" ("org_id","id"); t 2024-05-15 15:34:46 +174 add index alert state CREATE INDEX "IDX_alert_state" ON "alert" ("state"); t 2024-05-15 15:34:46 +175 add index alert dashboard_id CREATE INDEX "IDX_alert_dashboard_id" ON "alert" ("dashboard_id"); t 2024-05-15 15:34:46 +176 Create alert_rule_tag table v1 CREATE TABLE IF NOT EXISTS "alert_rule_tag" (\n"alert_id" BIGINT NOT NULL\n, "tag_id" BIGINT NOT NULL\n); t 2024-05-15 15:34:46 +177 Add unique index alert_rule_tag.alert_id_tag_id CREATE UNIQUE INDEX "UQE_alert_rule_tag_alert_id_tag_id" ON "alert_rule_tag" ("alert_id","tag_id"); t 2024-05-15 15:34:46 +178 drop index UQE_alert_rule_tag_alert_id_tag_id - v1 DROP INDEX "UQE_alert_rule_tag_alert_id_tag_id" CASCADE t 2024-05-15 15:34:46 +179 Rename table alert_rule_tag to alert_rule_tag_v1 - v1 ALTER TABLE "alert_rule_tag" RENAME TO "alert_rule_tag_v1" t 2024-05-15 15:34:46 +180 Create alert_rule_tag table v2 CREATE TABLE IF NOT EXISTS "alert_rule_tag" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "alert_id" BIGINT NOT NULL\n, "tag_id" BIGINT NOT NULL\n); t 2024-05-15 15:34:46 +181 create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2 CREATE UNIQUE INDEX "UQE_alert_rule_tag_alert_id_tag_id" ON "alert_rule_tag" ("alert_id","tag_id"); t 2024-05-15 15:34:47 +182 copy alert_rule_tag v1 to v2 INSERT INTO "alert_rule_tag" ("alert_id"\n, "tag_id") SELECT "alert_id"\n, "tag_id" FROM "alert_rule_tag_v1" t 2024-05-15 15:34:47 +183 drop table alert_rule_tag_v1 DROP TABLE IF EXISTS "alert_rule_tag_v1" t 2024-05-15 15:34:47 +184 create alert_notification table v1 CREATE TABLE IF NOT EXISTS "alert_notification" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "name" VARCHAR(190) NOT NULL\n, "type" VARCHAR(255) NOT NULL\n, "settings" TEXT NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:47 +185 Add column is_default alter table "alert_notification" ADD COLUMN "is_default" BOOL NOT NULL DEFAULT false t 2024-05-15 15:34:47 +186 Add column frequency alter table "alert_notification" ADD COLUMN "frequency" BIGINT NULL t 2024-05-15 15:34:47 +187 Add column send_reminder alter table "alert_notification" ADD COLUMN "send_reminder" BOOL NULL DEFAULT false t 2024-05-15 15:34:47 +188 Add column disable_resolve_message alter table "alert_notification" ADD COLUMN "disable_resolve_message" BOOL NOT NULL DEFAULT false t 2024-05-15 15:34:47 +189 add index alert_notification org_id & name CREATE UNIQUE INDEX "UQE_alert_notification_org_id_name" ON "alert_notification" ("org_id","name"); t 2024-05-15 15:34:47 +190 Update alert table charset ALTER TABLE "alert" ALTER "name" TYPE VARCHAR(255), ALTER "message" TYPE TEXT, ALTER "state" TYPE VARCHAR(190), ALTER "settings" TYPE TEXT, ALTER "severity" TYPE TEXT, ALTER "execution_error" TYPE TEXT, ALTER "eval_data" TYPE TEXT; t 2024-05-15 15:34:47 +191 Update alert_notification table charset ALTER TABLE "alert_notification" ALTER "name" TYPE VARCHAR(190), ALTER "type" TYPE VARCHAR(255), ALTER "settings" TYPE TEXT; t 2024-05-15 15:34:47 +192 create notification_journal table v1 CREATE TABLE IF NOT EXISTS "alert_notification_journal" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "alert_id" BIGINT NOT NULL\n, "notifier_id" BIGINT NOT NULL\n, "sent_at" BIGINT NOT NULL\n, "success" BOOL NOT NULL\n); t 2024-05-15 15:34:48 +193 add index notification_journal org_id & alert_id & notifier_id CREATE INDEX "IDX_alert_notification_journal_org_id_alert_id_notifier_id" ON "alert_notification_journal" ("org_id","alert_id","notifier_id"); t 2024-05-15 15:34:48 +194 drop alert_notification_journal DROP TABLE IF EXISTS "alert_notification_journal" t 2024-05-15 15:34:48 +195 create alert_notification_state table v1 CREATE TABLE IF NOT EXISTS "alert_notification_state" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "alert_id" BIGINT NOT NULL\n, "notifier_id" BIGINT NOT NULL\n, "state" VARCHAR(50) NOT NULL\n, "version" BIGINT NOT NULL\n, "updated_at" BIGINT NOT NULL\n, "alert_rule_state_updated_version" BIGINT NOT NULL\n); t 2024-05-15 15:34:51 +196 add index alert_notification_state org_id & alert_id & notifier_id CREATE UNIQUE INDEX "UQE_alert_notification_state_org_id_alert_id_notifier_id" ON "alert_notification_state" ("org_id","alert_id","notifier_id"); t 2024-05-15 15:34:52 +197 Add for to alert table alter table "alert" ADD COLUMN "for" BIGINT NULL t 2024-05-15 15:34:52 +198 Add column uid in alert_notification alter table "alert_notification" ADD COLUMN "uid" VARCHAR(40) NULL t 2024-05-15 15:34:52 +199 Update uid column values in alert_notification UPDATE alert_notification SET uid=lpad('' || id::text,9,'0') WHERE uid IS NULL; t 2024-05-15 15:34:52 +200 Add unique index alert_notification_org_id_uid CREATE UNIQUE INDEX "UQE_alert_notification_org_id_uid" ON "alert_notification" ("org_id","uid"); t 2024-05-15 15:34:52 +201 Remove unique index org_id_name DROP INDEX "UQE_alert_notification_org_id_name" CASCADE t 2024-05-15 15:34:52 +202 Add column secure_settings in alert_notification alter table "alert_notification" ADD COLUMN "secure_settings" TEXT NULL t 2024-05-15 15:34:52 +203 alter alert.settings to mediumtext SELECT 0; t 2024-05-15 15:34:52 +204 Add non-unique index alert_notification_state_alert_id CREATE INDEX "IDX_alert_notification_state_alert_id" ON "alert_notification_state" ("alert_id"); t 2024-05-15 15:34:52 +205 Add non-unique index alert_rule_tag_alert_id CREATE INDEX "IDX_alert_rule_tag_alert_id" ON "alert_rule_tag" ("alert_id"); t 2024-05-15 15:34:52 +206 Drop old annotation table v4 DROP TABLE IF EXISTS "annotation" t 2024-05-15 15:34:53 +291 add unique index user_auth_token.auth_token CREATE UNIQUE INDEX "UQE_user_auth_token_auth_token" ON "user_auth_token" ("auth_token"); t 2024-05-15 15:34:56 +207 create annotation table v5 CREATE TABLE IF NOT EXISTS "annotation" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "alert_id" BIGINT NULL\n, "user_id" BIGINT NULL\n, "dashboard_id" BIGINT NULL\n, "panel_id" BIGINT NULL\n, "category_id" BIGINT NULL\n, "type" VARCHAR(25) NOT NULL\n, "title" TEXT NOT NULL\n, "text" TEXT NOT NULL\n, "metric" VARCHAR(255) NULL\n, "prev_state" VARCHAR(25) NOT NULL\n, "new_state" VARCHAR(25) NOT NULL\n, "data" TEXT NOT NULL\n, "epoch" BIGINT NOT NULL\n); t 2024-05-15 15:34:53 +208 add index annotation 0 v3 CREATE INDEX "IDX_annotation_org_id_alert_id" ON "annotation" ("org_id","alert_id"); t 2024-05-15 15:34:53 +209 add index annotation 1 v3 CREATE INDEX "IDX_annotation_org_id_type" ON "annotation" ("org_id","type"); t 2024-05-15 15:34:53 +210 add index annotation 2 v3 CREATE INDEX "IDX_annotation_org_id_category_id" ON "annotation" ("org_id","category_id"); t 2024-05-15 15:34:53 +211 add index annotation 3 v3 CREATE INDEX "IDX_annotation_org_id_dashboard_id_panel_id_epoch" ON "annotation" ("org_id","dashboard_id","panel_id","epoch"); t 2024-05-15 15:34:53 +212 add index annotation 4 v3 CREATE INDEX "IDX_annotation_org_id_epoch" ON "annotation" ("org_id","epoch"); t 2024-05-15 15:34:53 +213 Update annotation table charset ALTER TABLE "annotation" ALTER "type" TYPE VARCHAR(25), ALTER "title" TYPE TEXT, ALTER "text" TYPE TEXT, ALTER "metric" TYPE VARCHAR(255), ALTER "prev_state" TYPE VARCHAR(25), ALTER "new_state" TYPE VARCHAR(25), ALTER "data" TYPE TEXT; t 2024-05-15 15:34:53 +214 Add column region_id to annotation table alter table "annotation" ADD COLUMN "region_id" BIGINT NULL DEFAULT 0 t 2024-05-15 15:34:53 +215 Drop category_id index DROP INDEX "IDX_annotation_org_id_category_id" CASCADE t 2024-05-15 15:34:53 +216 Add column tags to annotation table alter table "annotation" ADD COLUMN "tags" VARCHAR(500) NULL t 2024-05-15 15:34:53 +217 Create annotation_tag table v2 CREATE TABLE IF NOT EXISTS "annotation_tag" (\n"annotation_id" BIGINT NOT NULL\n, "tag_id" BIGINT NOT NULL\n); t 2024-05-15 15:34:53 +218 Add unique index annotation_tag.annotation_id_tag_id CREATE UNIQUE INDEX "UQE_annotation_tag_annotation_id_tag_id" ON "annotation_tag" ("annotation_id","tag_id"); t 2024-05-15 15:34:53 +219 drop index UQE_annotation_tag_annotation_id_tag_id - v2 DROP INDEX "UQE_annotation_tag_annotation_id_tag_id" CASCADE t 2024-05-15 15:34:53 +220 Rename table annotation_tag to annotation_tag_v2 - v2 ALTER TABLE "annotation_tag" RENAME TO "annotation_tag_v2" t 2024-05-15 15:34:53 +221 Create annotation_tag table v3 CREATE TABLE IF NOT EXISTS "annotation_tag" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "annotation_id" BIGINT NOT NULL\n, "tag_id" BIGINT NOT NULL\n); t 2024-05-15 15:34:53 +222 create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3 CREATE UNIQUE INDEX "UQE_annotation_tag_annotation_id_tag_id" ON "annotation_tag" ("annotation_id","tag_id"); t 2024-05-15 15:34:53 +223 copy annotation_tag v2 to v3 INSERT INTO "annotation_tag" ("annotation_id"\n, "tag_id") SELECT "annotation_id"\n, "tag_id" FROM "annotation_tag_v2" t 2024-05-15 15:34:53 +224 drop table annotation_tag_v2 DROP TABLE IF EXISTS "annotation_tag_v2" t 2024-05-15 15:34:53 +225 Update alert annotations and set TEXT to empty UPDATE annotation SET TEXT = '' WHERE alert_id > 0 t 2024-05-15 15:34:53 +226 Add created time to annotation table alter table "annotation" ADD COLUMN "created" BIGINT NULL DEFAULT 0 t 2024-05-15 15:34:53 +227 Add updated time to annotation table alter table "annotation" ADD COLUMN "updated" BIGINT NULL DEFAULT 0 t 2024-05-15 15:34:53 +228 Add index for created in annotation table CREATE INDEX "IDX_annotation_org_id_created" ON "annotation" ("org_id","created"); t 2024-05-15 15:34:53 +229 Add index for updated in annotation table CREATE INDEX "IDX_annotation_org_id_updated" ON "annotation" ("org_id","updated"); t 2024-05-15 15:34:54 +230 Convert existing annotations from seconds to milliseconds UPDATE annotation SET epoch = (epoch*1000) where epoch < 9999999999 t 2024-05-15 15:34:54 +231 Add epoch_end column alter table "annotation" ADD COLUMN "epoch_end" BIGINT NOT NULL DEFAULT 0 t 2024-05-15 15:34:54 +232 Add index for epoch_end CREATE INDEX "IDX_annotation_org_id_epoch_epoch_end" ON "annotation" ("org_id","epoch","epoch_end"); t 2024-05-15 15:34:54 +233 Make epoch_end the same as epoch UPDATE annotation SET epoch_end = epoch t 2024-05-15 15:34:54 +234 Move region to single row code migration t 2024-05-15 15:34:54 +235 Remove index org_id_epoch from annotation table DROP INDEX "IDX_annotation_org_id_epoch" CASCADE t 2024-05-15 15:34:54 +236 Remove index org_id_dashboard_id_panel_id_epoch from annotation table DROP INDEX "IDX_annotation_org_id_dashboard_id_panel_id_epoch" CASCADE t 2024-05-15 15:34:54 +237 Add index for org_id_dashboard_id_epoch_end_epoch on annotation table CREATE INDEX "IDX_annotation_org_id_dashboard_id_epoch_end_epoch" ON "annotation" ("org_id","dashboard_id","epoch_end","epoch"); t 2024-05-15 15:34:54 +238 Add index for org_id_epoch_end_epoch on annotation table CREATE INDEX "IDX_annotation_org_id_epoch_end_epoch" ON "annotation" ("org_id","epoch_end","epoch"); t 2024-05-15 15:34:54 +239 Remove index org_id_epoch_epoch_end from annotation table DROP INDEX "IDX_annotation_org_id_epoch_epoch_end" CASCADE t 2024-05-15 15:34:54 +240 Add index for alert_id on annotation table CREATE INDEX "IDX_annotation_alert_id" ON "annotation" ("alert_id"); t 2024-05-15 15:34:54 +241 Increase tags column to length 4096 ALTER TABLE annotation ALTER COLUMN tags TYPE VARCHAR(4096); t 2024-05-15 15:34:54 +242 create test_data table CREATE TABLE IF NOT EXISTS "test_data" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "metric1" VARCHAR(20) NULL\n, "metric2" VARCHAR(150) NULL\n, "value_big_int" BIGINT NULL\n, "value_double" DOUBLE PRECISION NULL\n, "value_float" REAL NULL\n, "value_int" INTEGER NULL\n, "time_epoch" BIGINT NOT NULL\n, "time_date_time" TIMESTAMP NOT NULL\n, "time_time_stamp" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:54 +243 create dashboard_version table v1 CREATE TABLE IF NOT EXISTS "dashboard_version" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "dashboard_id" BIGINT NOT NULL\n, "parent_version" INTEGER NOT NULL\n, "restored_from" INTEGER NOT NULL\n, "version" INTEGER NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "created_by" BIGINT NOT NULL\n, "message" TEXT NOT NULL\n, "data" TEXT NOT NULL\n); t 2024-05-15 15:34:54 +244 add index dashboard_version.dashboard_id CREATE INDEX "IDX_dashboard_version_dashboard_id" ON "dashboard_version" ("dashboard_id"); t 2024-05-15 15:34:54 +245 add unique index dashboard_version.dashboard_id and dashboard_version.version CREATE UNIQUE INDEX "UQE_dashboard_version_dashboard_id_version" ON "dashboard_version" ("dashboard_id","version"); t 2024-05-15 15:34:54 +246 Set dashboard version to 1 where 0 UPDATE dashboard SET version = 1 WHERE version = 0 t 2024-05-15 15:34:54 +247 save existing dashboard data in dashboard_version table v1 INSERT INTO dashboard_version\n(\n\tdashboard_id,\n\tversion,\n\tparent_version,\n\trestored_from,\n\tcreated,\n\tcreated_by,\n\tmessage,\n\tdata\n)\nSELECT\n\tdashboard.id,\n\tdashboard.version,\n\tdashboard.version,\n\tdashboard.version,\n\tdashboard.updated,\n\tCOALESCE(dashboard.updated_by, -1),\n\t'',\n\tdashboard.data\nFROM dashboard; t 2024-05-15 15:34:54 +249 create team table CREATE TABLE IF NOT EXISTS "team" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "name" VARCHAR(190) NOT NULL\n, "org_id" BIGINT NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:54 +250 add index team.org_id CREATE INDEX "IDX_team_org_id" ON "team" ("org_id"); t 2024-05-15 15:34:54 +251 add unique index team_org_id_name CREATE UNIQUE INDEX "UQE_team_org_id_name" ON "team" ("org_id","name"); t 2024-05-15 15:34:54 +252 create team member table CREATE TABLE IF NOT EXISTS "team_member" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "team_id" BIGINT NOT NULL\n, "user_id" BIGINT NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:54 +253 add index team_member.org_id CREATE INDEX "IDX_team_member_org_id" ON "team_member" ("org_id"); t 2024-05-15 15:34:54 +254 add unique index team_member_org_id_team_id_user_id CREATE UNIQUE INDEX "UQE_team_member_org_id_team_id_user_id" ON "team_member" ("org_id","team_id","user_id"); t 2024-05-15 15:34:54 +255 add index team_member.team_id CREATE INDEX "IDX_team_member_team_id" ON "team_member" ("team_id"); t 2024-05-15 15:34:55 +256 Add column email to team table alter table "team" ADD COLUMN "email" VARCHAR(190) NULL t 2024-05-15 15:34:55 +257 Add column external to team_member table alter table "team_member" ADD COLUMN "external" BOOL NULL t 2024-05-15 15:34:55 +258 Add column permission to team_member table alter table "team_member" ADD COLUMN "permission" SMALLINT NULL t 2024-05-15 15:34:55 +259 create dashboard acl table CREATE TABLE IF NOT EXISTS "dashboard_acl" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "dashboard_id" BIGINT NOT NULL\n, "user_id" BIGINT NULL\n, "team_id" BIGINT NULL\n, "permission" SMALLINT NOT NULL DEFAULT 4\n, "role" VARCHAR(20) NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:55 +260 add index dashboard_acl_dashboard_id CREATE INDEX "IDX_dashboard_acl_dashboard_id" ON "dashboard_acl" ("dashboard_id"); t 2024-05-15 15:34:55 +261 add unique index dashboard_acl_dashboard_id_user_id CREATE UNIQUE INDEX "UQE_dashboard_acl_dashboard_id_user_id" ON "dashboard_acl" ("dashboard_id","user_id"); t 2024-05-15 15:34:55 +262 add unique index dashboard_acl_dashboard_id_team_id CREATE UNIQUE INDEX "UQE_dashboard_acl_dashboard_id_team_id" ON "dashboard_acl" ("dashboard_id","team_id"); t 2024-05-15 15:34:55 +263 add index dashboard_acl_user_id CREATE INDEX "IDX_dashboard_acl_user_id" ON "dashboard_acl" ("user_id"); t 2024-05-15 15:34:55 +264 add index dashboard_acl_team_id CREATE INDEX "IDX_dashboard_acl_team_id" ON "dashboard_acl" ("team_id"); t 2024-05-15 15:34:55 +265 add index dashboard_acl_org_id_role CREATE INDEX "IDX_dashboard_acl_org_id_role" ON "dashboard_acl" ("org_id","role"); t 2024-05-15 15:34:55 +266 add index dashboard_permission CREATE INDEX "IDX_dashboard_acl_permission" ON "dashboard_acl" ("permission"); t 2024-05-15 15:34:55 +267 save default acl rules in dashboard_acl table \nINSERT INTO dashboard_acl\n\t(\n\t\torg_id,\n\t\tdashboard_id,\n\t\tpermission,\n\t\trole,\n\t\tcreated,\n\t\tupdated\n\t)\n\tVALUES\n\t\t(-1,-1, 1,'Viewer','2017-06-20','2017-06-20'),\n\t\t(-1,-1, 2,'Editor','2017-06-20','2017-06-20')\n\t t 2024-05-15 15:34:55 +268 delete acl rules for deleted dashboards and folders DELETE FROM dashboard_acl WHERE dashboard_id NOT IN (SELECT id FROM dashboard) AND dashboard_id != -1 t 2024-05-15 15:34:55 +269 create tag table CREATE TABLE IF NOT EXISTS "tag" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "key" VARCHAR(100) NOT NULL\n, "value" VARCHAR(100) NOT NULL\n); t 2024-05-15 15:34:55 +270 add index tag.key_value CREATE UNIQUE INDEX "UQE_tag_key_value" ON "tag" ("key","value"); t 2024-05-15 15:34:56 +271 create login attempt table CREATE TABLE IF NOT EXISTS "login_attempt" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "username" VARCHAR(190) NOT NULL\n, "ip_address" VARCHAR(30) NOT NULL\n, "created" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:56 +272 add index login_attempt.username CREATE INDEX "IDX_login_attempt_username" ON "login_attempt" ("username"); t 2024-05-15 15:34:56 +273 drop index IDX_login_attempt_username - v1 DROP INDEX "IDX_login_attempt_username" CASCADE t 2024-05-15 15:34:56 +274 Rename table login_attempt to login_attempt_tmp_qwerty - v1 ALTER TABLE "login_attempt" RENAME TO "login_attempt_tmp_qwerty" t 2024-05-15 15:34:56 +275 create login_attempt v2 CREATE TABLE IF NOT EXISTS "login_attempt" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "username" VARCHAR(190) NOT NULL\n, "ip_address" VARCHAR(30) NOT NULL\n, "created" INTEGER NOT NULL DEFAULT 0\n); t 2024-05-15 15:34:56 +276 create index IDX_login_attempt_username - v2 CREATE INDEX "IDX_login_attempt_username" ON "login_attempt" ("username"); t 2024-05-15 15:34:56 +277 copy login_attempt v1 to v2 INSERT INTO "login_attempt" ("username"\n, "ip_address"\n, "id") SELECT "username"\n, "ip_address"\n, "id" FROM "login_attempt_tmp_qwerty" t 2024-05-15 15:34:56 +278 drop login_attempt_tmp_qwerty DROP TABLE IF EXISTS "login_attempt_tmp_qwerty" t 2024-05-15 15:34:56 +279 create user auth table CREATE TABLE IF NOT EXISTS "user_auth" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "user_id" BIGINT NOT NULL\n, "auth_module" VARCHAR(190) NOT NULL\n, "auth_id" VARCHAR(100) NOT NULL\n, "created" TIMESTAMP NOT NULL\n); t 2024-05-15 15:34:56 +280 create index IDX_user_auth_auth_module_auth_id - v1 CREATE INDEX "IDX_user_auth_auth_module_auth_id" ON "user_auth" ("auth_module","auth_id"); t 2024-05-15 15:34:56 +281 alter user_auth.auth_id to length 190 ALTER TABLE user_auth ALTER COLUMN auth_id TYPE VARCHAR(190); t 2024-05-15 15:34:56 +282 Add OAuth access token to user_auth alter table "user_auth" ADD COLUMN "o_auth_access_token" TEXT NULL t 2024-05-15 15:34:56 +283 Add OAuth refresh token to user_auth alter table "user_auth" ADD COLUMN "o_auth_refresh_token" TEXT NULL t 2024-05-15 15:34:56 +284 Add OAuth token type to user_auth alter table "user_auth" ADD COLUMN "o_auth_token_type" TEXT NULL t 2024-05-15 15:34:56 +285 Add OAuth expiry to user_auth alter table "user_auth" ADD COLUMN "o_auth_expiry" TIMESTAMP NULL t 2024-05-15 15:34:56 +286 Add index to user_id column in user_auth CREATE INDEX "IDX_user_auth_user_id" ON "user_auth" ("user_id"); t 2024-05-15 15:34:56 +287 Add OAuth ID token to user_auth alter table "user_auth" ADD COLUMN "o_auth_id_token" TEXT NULL t 2024-05-15 15:34:56 +288 create server_lock table CREATE TABLE IF NOT EXISTS "server_lock" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "operation_uid" VARCHAR(100) NOT NULL\n, "version" BIGINT NOT NULL\n, "last_execution" BIGINT NOT NULL\n); t 2024-05-15 15:34:56 +289 add index server_lock.operation_uid CREATE UNIQUE INDEX "UQE_server_lock_operation_uid" ON "server_lock" ("operation_uid"); t 2024-05-15 15:34:56 +290 create user auth token table CREATE TABLE IF NOT EXISTS "user_auth_token" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "user_id" BIGINT NOT NULL\n, "auth_token" VARCHAR(100) NOT NULL\n, "prev_auth_token" VARCHAR(100) NOT NULL\n, "user_agent" VARCHAR(255) NOT NULL\n, "client_ip" VARCHAR(255) NOT NULL\n, "auth_token_seen" BOOL NOT NULL\n, "seen_at" INTEGER NULL\n, "rotated_at" INTEGER NOT NULL\n, "created_at" INTEGER NOT NULL\n, "updated_at" INTEGER NOT NULL\n); t 2024-05-15 15:34:56 +292 add unique index user_auth_token.prev_auth_token CREATE UNIQUE INDEX "UQE_user_auth_token_prev_auth_token" ON "user_auth_token" ("prev_auth_token"); t 2024-05-15 15:34:56 +293 add index user_auth_token.user_id CREATE INDEX "IDX_user_auth_token_user_id" ON "user_auth_token" ("user_id"); t 2024-05-15 15:34:57 +294 Add revoked_at to the user auth token alter table "user_auth_token" ADD COLUMN "revoked_at" INTEGER NULL t 2024-05-15 15:34:58 +295 create cache_data table CREATE TABLE IF NOT EXISTS "cache_data" (\n"cache_key" VARCHAR(168) PRIMARY KEY NOT NULL\n, "data" BYTEA NOT NULL\n, "expires" INTEGER NOT NULL\n, "created_at" INTEGER NOT NULL\n); t 2024-05-15 15:34:58 +296 add unique index cache_data.cache_key CREATE UNIQUE INDEX "UQE_cache_data_cache_key" ON "cache_data" ("cache_key"); t 2024-05-15 15:34:58 +297 create short_url table v1 CREATE TABLE IF NOT EXISTS "short_url" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "uid" VARCHAR(40) NOT NULL\n, "path" TEXT NOT NULL\n, "created_by" INTEGER NOT NULL\n, "created_at" INTEGER NOT NULL\n, "last_seen_at" INTEGER NULL\n); t 2024-05-15 15:34:58 +298 add index short_url.org_id-uid CREATE UNIQUE INDEX "UQE_short_url_org_id_uid" ON "short_url" ("org_id","uid"); t 2024-05-15 15:34:58 +299 alter table short_url alter column created_by type to bigint ALTER TABLE short_url ALTER COLUMN created_by TYPE BIGINT; t 2024-05-15 15:34:58 +300 delete alert_definition table DROP TABLE IF EXISTS "alert_definition" t 2024-05-15 15:34:59 +301 recreate alert_definition table CREATE TABLE IF NOT EXISTS "alert_definition" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "title" VARCHAR(190) NOT NULL\n, "condition" VARCHAR(190) NOT NULL\n, "data" TEXT NOT NULL\n, "updated" TIMESTAMP NOT NULL\n, "interval_seconds" BIGINT NOT NULL DEFAULT 60\n, "version" INTEGER NOT NULL DEFAULT 0\n, "uid" VARCHAR(40) NOT NULL DEFAULT 0\n); t 2024-05-15 15:34:59 +302 add index in alert_definition on org_id and title columns CREATE INDEX "IDX_alert_definition_org_id_title" ON "alert_definition" ("org_id","title"); t 2024-05-15 15:34:59 +303 add index in alert_definition on org_id and uid columns CREATE INDEX "IDX_alert_definition_org_id_uid" ON "alert_definition" ("org_id","uid"); t 2024-05-15 15:35:01 +304 alter alert_definition table data column to mediumtext in mysql SELECT 0; t 2024-05-15 15:35:01 +305 drop index in alert_definition on org_id and title columns DROP INDEX "IDX_alert_definition_org_id_title" CASCADE t 2024-05-15 15:35:01 +306 drop index in alert_definition on org_id and uid columns DROP INDEX "IDX_alert_definition_org_id_uid" CASCADE t 2024-05-15 15:35:01 +307 add unique index in alert_definition on org_id and title columns CREATE UNIQUE INDEX "UQE_alert_definition_org_id_title" ON "alert_definition" ("org_id","title"); t 2024-05-15 15:35:01 +308 add unique index in alert_definition on org_id and uid columns CREATE UNIQUE INDEX "UQE_alert_definition_org_id_uid" ON "alert_definition" ("org_id","uid"); t 2024-05-15 15:35:01 +309 Add column paused in alert_definition alter table "alert_definition" ADD COLUMN "paused" BOOL NOT NULL DEFAULT false t 2024-05-15 15:35:02 +310 drop alert_definition table DROP TABLE IF EXISTS "alert_definition" t 2024-05-15 15:35:02 +311 delete alert_definition_version table DROP TABLE IF EXISTS "alert_definition_version" t 2024-05-15 15:35:02 +312 recreate alert_definition_version table CREATE TABLE IF NOT EXISTS "alert_definition_version" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "alert_definition_id" BIGINT NOT NULL\n, "alert_definition_uid" VARCHAR(40) NOT NULL DEFAULT 0\n, "parent_version" INTEGER NOT NULL\n, "restored_from" INTEGER NOT NULL\n, "version" INTEGER NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "title" VARCHAR(190) NOT NULL\n, "condition" VARCHAR(190) NOT NULL\n, "data" TEXT NOT NULL\n, "interval_seconds" BIGINT NOT NULL\n); t 2024-05-15 15:35:02 +313 add index in alert_definition_version table on alert_definition_id and version columns CREATE UNIQUE INDEX "UQE_alert_definition_version_alert_definition_id_version" ON "alert_definition_version" ("alert_definition_id","version"); t 2024-05-15 15:35:03 +314 add index in alert_definition_version table on alert_definition_uid and version columns CREATE UNIQUE INDEX "UQE_alert_definition_version_alert_definition_uid_version" ON "alert_definition_version" ("alert_definition_uid","version"); t 2024-05-15 15:35:03 +315 alter alert_definition_version table data column to mediumtext in mysql SELECT 0; t 2024-05-15 15:35:03 +316 drop alert_definition_version table DROP TABLE IF EXISTS "alert_definition_version" t 2024-05-15 15:35:03 +317 create alert_instance table CREATE TABLE IF NOT EXISTS "alert_instance" (\n"def_org_id" BIGINT NOT NULL\n, "def_uid" VARCHAR(40) NOT NULL DEFAULT 0\n, "labels" TEXT NOT NULL\n, "labels_hash" VARCHAR(190) NOT NULL\n, "current_state" VARCHAR(190) NOT NULL\n, "current_state_since" BIGINT NOT NULL\n, "last_eval_time" BIGINT NOT NULL\n, PRIMARY KEY ( "def_org_id","def_uid","labels_hash" )); t 2024-05-15 15:35:03 +318 add index in alert_instance table on def_org_id, def_uid and current_state columns CREATE INDEX "IDX_alert_instance_def_org_id_def_uid_current_state" ON "alert_instance" ("def_org_id","def_uid","current_state"); t 2024-05-15 15:35:03 +319 add index in alert_instance table on def_org_id, current_state columns CREATE INDEX "IDX_alert_instance_def_org_id_current_state" ON "alert_instance" ("def_org_id","current_state"); t 2024-05-15 15:35:04 +320 add column current_state_end to alert_instance alter table "alert_instance" ADD COLUMN "current_state_end" BIGINT NOT NULL DEFAULT 0 t 2024-05-15 15:35:04 +321 remove index def_org_id, def_uid, current_state on alert_instance DROP INDEX "IDX_alert_instance_def_org_id_def_uid_current_state" CASCADE t 2024-05-15 15:35:04 +322 remove index def_org_id, current_state on alert_instance DROP INDEX "IDX_alert_instance_def_org_id_current_state" CASCADE t 2024-05-15 15:35:04 +323 rename def_org_id to rule_org_id in alert_instance ALTER TABLE alert_instance RENAME COLUMN def_org_id TO rule_org_id; t 2024-05-15 15:35:04 +324 rename def_uid to rule_uid in alert_instance ALTER TABLE alert_instance RENAME COLUMN def_uid TO rule_uid; t 2024-05-15 15:35:04 +325 add index rule_org_id, rule_uid, current_state on alert_instance CREATE INDEX "IDX_alert_instance_rule_org_id_rule_uid_current_state" ON "alert_instance" ("rule_org_id","rule_uid","current_state"); t 2024-05-15 15:35:04 +326 add index rule_org_id, current_state on alert_instance CREATE INDEX "IDX_alert_instance_rule_org_id_current_state" ON "alert_instance" ("rule_org_id","current_state"); t 2024-05-15 15:35:05 +327 add current_reason column related to current_state alter table "alert_instance" ADD COLUMN "current_reason" VARCHAR(190) NULL t 2024-05-15 15:35:05 +328 create alert_rule table CREATE TABLE IF NOT EXISTS "alert_rule" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "title" VARCHAR(190) NOT NULL\n, "condition" VARCHAR(190) NOT NULL\n, "data" TEXT NOT NULL\n, "updated" TIMESTAMP NOT NULL\n, "interval_seconds" BIGINT NOT NULL DEFAULT 60\n, "version" INTEGER NOT NULL DEFAULT 0\n, "uid" VARCHAR(40) NOT NULL DEFAULT 0\n, "namespace_uid" VARCHAR(40) NOT NULL\n, "rule_group" VARCHAR(190) NOT NULL\n, "no_data_state" VARCHAR(15) NOT NULL DEFAULT 'NoData'\n, "exec_err_state" VARCHAR(15) NOT NULL DEFAULT 'Alerting'\n); t 2024-05-15 15:35:05 +329 add index in alert_rule on org_id and title columns CREATE UNIQUE INDEX "UQE_alert_rule_org_id_title" ON "alert_rule" ("org_id","title"); t 2024-05-15 15:35:06 +330 add index in alert_rule on org_id and uid columns CREATE UNIQUE INDEX "UQE_alert_rule_org_id_uid" ON "alert_rule" ("org_id","uid"); t 2024-05-15 15:35:06 +331 add index in alert_rule on org_id, namespace_uid, group_uid columns CREATE INDEX "IDX_alert_rule_org_id_namespace_uid_rule_group" ON "alert_rule" ("org_id","namespace_uid","rule_group"); t 2024-05-15 15:35:06 +332 alter alert_rule table data column to mediumtext in mysql SELECT 0; t 2024-05-15 15:35:06 +333 add column for to alert_rule alter table "alert_rule" ADD COLUMN "for" BIGINT NOT NULL DEFAULT 0 t 2024-05-15 15:35:06 +334 add column annotations to alert_rule alter table "alert_rule" ADD COLUMN "annotations" TEXT NULL t 2024-05-15 15:35:06 +335 add column labels to alert_rule alter table "alert_rule" ADD COLUMN "labels" TEXT NULL t 2024-05-15 15:35:06 +336 remove unique index from alert_rule on org_id, title columns DROP INDEX "UQE_alert_rule_org_id_title" CASCADE t 2024-05-15 15:35:06 +337 add index in alert_rule on org_id, namespase_uid and title columns CREATE UNIQUE INDEX "UQE_alert_rule_org_id_namespace_uid_title" ON "alert_rule" ("org_id","namespace_uid","title"); t 2024-05-15 15:35:06 +338 add dashboard_uid column to alert_rule alter table "alert_rule" ADD COLUMN "dashboard_uid" VARCHAR(40) NULL t 2024-05-15 15:35:06 +339 add panel_id column to alert_rule alter table "alert_rule" ADD COLUMN "panel_id" BIGINT NULL t 2024-05-15 15:35:06 +340 add index in alert_rule on org_id, dashboard_uid and panel_id columns CREATE INDEX "IDX_alert_rule_org_id_dashboard_uid_panel_id" ON "alert_rule" ("org_id","dashboard_uid","panel_id"); t 2024-05-15 15:35:06 +341 add rule_group_idx column to alert_rule alter table "alert_rule" ADD COLUMN "rule_group_idx" INTEGER NOT NULL DEFAULT 1 t 2024-05-15 15:35:06 +342 add is_paused column to alert_rule table alter table "alert_rule" ADD COLUMN "is_paused" BOOL NOT NULL DEFAULT false t 2024-05-15 15:35:06 +343 fix is_paused column for alert_rule table ALTER TABLE alert_rule ALTER COLUMN is_paused SET DEFAULT false;\nUPDATE alert_rule SET is_paused = false; t 2024-05-15 15:35:06 +344 create alert_rule_version table CREATE TABLE IF NOT EXISTS "alert_rule_version" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "rule_org_id" BIGINT NOT NULL\n, "rule_uid" VARCHAR(40) NOT NULL DEFAULT 0\n, "rule_namespace_uid" VARCHAR(40) NOT NULL\n, "rule_group" VARCHAR(190) NOT NULL\n, "parent_version" INTEGER NOT NULL\n, "restored_from" INTEGER NOT NULL\n, "version" INTEGER NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "title" VARCHAR(190) NOT NULL\n, "condition" VARCHAR(190) NOT NULL\n, "data" TEXT NOT NULL\n, "interval_seconds" BIGINT NOT NULL\n, "no_data_state" VARCHAR(15) NOT NULL DEFAULT 'NoData'\n, "exec_err_state" VARCHAR(15) NOT NULL DEFAULT 'Alerting'\n); t 2024-05-15 15:35:06 +345 add index in alert_rule_version table on rule_org_id, rule_uid and version columns CREATE UNIQUE INDEX "UQE_alert_rule_version_rule_org_id_rule_uid_version" ON "alert_rule_version" ("rule_org_id","rule_uid","version"); t 2024-05-15 15:35:06 +346 add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns CREATE INDEX "IDX_alert_rule_version_rule_org_id_rule_namespace_uid_rule_group" ON "alert_rule_version" ("rule_org_id","rule_namespace_uid","rule_group"); t 2024-05-15 15:35:06 +347 alter alert_rule_version table data column to mediumtext in mysql SELECT 0; t 2024-05-15 15:35:06 +348 add column for to alert_rule_version alter table "alert_rule_version" ADD COLUMN "for" BIGINT NOT NULL DEFAULT 0 t 2024-05-15 15:35:06 +349 add column annotations to alert_rule_version alter table "alert_rule_version" ADD COLUMN "annotations" TEXT NULL t 2024-05-15 15:35:06 +350 add column labels to alert_rule_version alter table "alert_rule_version" ADD COLUMN "labels" TEXT NULL t 2024-05-15 15:35:06 +351 add rule_group_idx column to alert_rule_version alter table "alert_rule_version" ADD COLUMN "rule_group_idx" INTEGER NOT NULL DEFAULT 1 t 2024-05-15 15:35:06 +352 add is_paused column to alert_rule_versions table alter table "alert_rule_version" ADD COLUMN "is_paused" BOOL NOT NULL DEFAULT false t 2024-05-15 15:35:06 +353 fix is_paused column for alert_rule_version table ALTER TABLE alert_rule_version ALTER COLUMN is_paused SET DEFAULT false;\nUPDATE alert_rule_version SET is_paused = false; t 2024-05-15 15:35:06 +354 create_alert_configuration_table CREATE TABLE IF NOT EXISTS "alert_configuration" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "alertmanager_configuration" TEXT NOT NULL\n, "configuration_version" VARCHAR(3) NOT NULL\n, "created_at" INTEGER NOT NULL\n); t 2024-05-15 15:35:06 +355 Add column default in alert_configuration alter table "alert_configuration" ADD COLUMN "default" BOOL NOT NULL DEFAULT false t 2024-05-15 15:35:06 +356 alert alert_configuration alertmanager_configuration column from TEXT to MEDIUMTEXT if mysql SELECT 0; t 2024-05-15 15:35:06 +357 add column org_id in alert_configuration alter table "alert_configuration" ADD COLUMN "org_id" BIGINT NOT NULL DEFAULT 0 t 2024-05-15 15:35:06 +358 add index in alert_configuration table on org_id column CREATE INDEX "IDX_alert_configuration_org_id" ON "alert_configuration" ("org_id"); t 2024-05-15 15:35:06 +359 add configuration_hash column to alert_configuration alter table "alert_configuration" ADD COLUMN "configuration_hash" VARCHAR(32) NOT NULL DEFAULT 'not-yet-calculated' t 2024-05-15 15:35:06 +360 create_ngalert_configuration_table CREATE TABLE IF NOT EXISTS "ngalert_configuration" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "alertmanagers" TEXT NULL\n, "created_at" INTEGER NOT NULL\n, "updated_at" INTEGER NOT NULL\n); t 2024-05-15 15:35:06 +361 add index in ngalert_configuration on org_id column CREATE UNIQUE INDEX "UQE_ngalert_configuration_org_id" ON "ngalert_configuration" ("org_id"); t 2024-05-15 15:35:07 +362 add column send_alerts_to in ngalert_configuration alter table "ngalert_configuration" ADD COLUMN "send_alerts_to" SMALLINT NOT NULL DEFAULT 0 t 2024-05-15 15:35:07 +363 create provenance_type table CREATE TABLE IF NOT EXISTS "provenance_type" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "record_key" VARCHAR(190) NOT NULL\n, "record_type" VARCHAR(190) NOT NULL\n, "provenance" VARCHAR(190) NOT NULL\n); t 2024-05-15 15:35:07 +364 add index to uniquify (record_key, record_type, org_id) columns CREATE UNIQUE INDEX "UQE_provenance_type_record_type_record_key_org_id" ON "provenance_type" ("record_type","record_key","org_id"); t 2024-05-15 15:35:07 +365 create alert_image table CREATE TABLE IF NOT EXISTS "alert_image" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "token" VARCHAR(190) NOT NULL\n, "path" VARCHAR(190) NOT NULL\n, "url" VARCHAR(190) NOT NULL\n, "created_at" TIMESTAMP NOT NULL\n, "expires_at" TIMESTAMP NOT NULL\n); t 2024-05-15 15:35:07 +366 add unique index on token to alert_image table CREATE UNIQUE INDEX "UQE_alert_image_token" ON "alert_image" ("token"); t 2024-05-15 15:35:07 +367 support longer URLs in alert_image table ALTER TABLE alert_image ALTER COLUMN url TYPE VARCHAR(2048); t 2024-05-15 15:35:07 +368 create_alert_configuration_history_table CREATE TABLE IF NOT EXISTS "alert_configuration_history" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL DEFAULT 0\n, "alertmanager_configuration" TEXT NOT NULL\n, "configuration_hash" VARCHAR(32) NOT NULL DEFAULT 'not-yet-calculated'\n, "configuration_version" VARCHAR(3) NOT NULL\n, "created_at" INTEGER NOT NULL\n, "default" BOOL NOT NULL DEFAULT false\n); t 2024-05-15 15:35:07 +369 drop non-unique orgID index on alert_configuration DROP INDEX "IDX_alert_configuration_org_id" CASCADE t 2024-05-15 15:35:08 +370 drop unique orgID index on alert_configuration if exists DROP INDEX "UQE_alert_configuration_org_id" CASCADE t 2024-05-15 15:35:08 +371 extract alertmanager configuration history to separate table code migration t 2024-05-15 15:35:08 +372 add unique index on orgID to alert_configuration CREATE UNIQUE INDEX "UQE_alert_configuration_org_id" ON "alert_configuration" ("org_id"); t 2024-05-15 15:35:08 +373 add last_applied column to alert_configuration_history alter table "alert_configuration_history" ADD COLUMN "last_applied" INTEGER NOT NULL DEFAULT 0 t 2024-05-15 15:35:08 +374 move dashboard alerts to unified alerting code migration t 2024-05-15 15:35:08 +375 create library_element table v1 CREATE TABLE IF NOT EXISTS "library_element" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "folder_id" BIGINT NOT NULL\n, "uid" VARCHAR(40) NOT NULL\n, "name" VARCHAR(150) NOT NULL\n, "kind" BIGINT NOT NULL\n, "type" VARCHAR(40) NOT NULL\n, "description" VARCHAR(255) NOT NULL\n, "model" TEXT NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "created_by" BIGINT NOT NULL\n, "updated" TIMESTAMP NOT NULL\n, "updated_by" BIGINT NOT NULL\n, "version" BIGINT NOT NULL\n); t 2024-05-15 15:35:08 +376 add index library_element org_id-folder_id-name-kind CREATE UNIQUE INDEX "UQE_library_element_org_id_folder_id_name_kind" ON "library_element" ("org_id","folder_id","name","kind"); t 2024-05-15 15:35:08 +377 create library_element_connection table v1 CREATE TABLE IF NOT EXISTS "library_element_connection" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "element_id" BIGINT NOT NULL\n, "kind" BIGINT NOT NULL\n, "connection_id" BIGINT NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "created_by" BIGINT NOT NULL\n); t 2024-05-15 15:35:08 +378 add index library_element_connection element_id-kind-connection_id CREATE UNIQUE INDEX "UQE_library_element_connection_element_id_kind_connection_id" ON "library_element_connection" ("element_id","kind","connection_id"); t 2024-05-15 15:35:08 +379 add unique index library_element org_id_uid CREATE UNIQUE INDEX "UQE_library_element_org_id_uid" ON "library_element" ("org_id","uid"); t 2024-05-15 15:35:08 +380 increase max description length to 2048 ALTER TABLE "library_element" ALTER "description" TYPE VARCHAR(2048); t 2024-05-15 15:35:08 +381 alter library_element model to mediumtext SELECT 0; t 2024-05-15 15:35:08 +382 clone move dashboard alerts to unified alerting code migration t 2024-05-15 15:35:08 +383 create data_keys table CREATE TABLE IF NOT EXISTS "data_keys" (\n"name" VARCHAR(100) PRIMARY KEY NOT NULL\n, "active" BOOL NOT NULL\n, "scope" VARCHAR(30) NOT NULL\n, "provider" VARCHAR(50) NOT NULL\n, "encrypted_data" BYTEA NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:35:08 +384 create secrets table CREATE TABLE IF NOT EXISTS "secrets" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "namespace" VARCHAR(255) NOT NULL\n, "type" VARCHAR(255) NOT NULL\n, "value" TEXT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:35:08 +385 rename data_keys name column to id ALTER TABLE "data_keys" RENAME COLUMN "name" TO "id" t 2024-05-15 15:35:08 +386 add name column into data_keys alter table "data_keys" ADD COLUMN "name" VARCHAR(100) NOT NULL DEFAULT '' t 2024-05-15 15:35:08 +387 copy data_keys id column values into name UPDATE data_keys SET name = id t 2024-05-15 15:35:08 +388 rename data_keys name column to label ALTER TABLE "data_keys" RENAME COLUMN "name" TO "label" t 2024-05-15 15:35:08 +389 rename data_keys id column back to name ALTER TABLE "data_keys" RENAME COLUMN "id" TO "name" t 2024-05-15 15:35:08 +390 create kv_store table v1 CREATE TABLE IF NOT EXISTS "kv_store" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "namespace" VARCHAR(190) NOT NULL\n, "key" VARCHAR(190) NOT NULL\n, "value" TEXT NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:35:08 +391 add index kv_store.org_id-namespace-key CREATE UNIQUE INDEX "UQE_kv_store_org_id_namespace_key" ON "kv_store" ("org_id","namespace","key"); t 2024-05-15 15:35:08 +392 update dashboard_uid and panel_id from existing annotations set dashboard_uid and panel_id migration t 2024-05-15 15:35:09 +393 create permission table CREATE TABLE IF NOT EXISTS "permission" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "role_id" BIGINT NOT NULL\n, "action" VARCHAR(190) NOT NULL\n, "scope" VARCHAR(190) NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:35:09 +394 add unique index permission.role_id CREATE INDEX "IDX_permission_role_id" ON "permission" ("role_id"); t 2024-05-15 15:35:09 +395 add unique index role_id_action_scope CREATE UNIQUE INDEX "UQE_permission_role_id_action_scope" ON "permission" ("role_id","action","scope"); t 2024-05-15 15:35:09 +396 create role table CREATE TABLE IF NOT EXISTS "role" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "name" VARCHAR(190) NOT NULL\n, "description" TEXT NULL\n, "version" BIGINT NOT NULL\n, "org_id" BIGINT NOT NULL\n, "uid" VARCHAR(40) NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:35:09 +397 add column display_name alter table "role" ADD COLUMN "display_name" VARCHAR(190) NULL t 2024-05-15 15:35:10 +398 add column group_name alter table "role" ADD COLUMN "group_name" VARCHAR(190) NULL t 2024-05-15 15:35:10 +399 add index role.org_id CREATE INDEX "IDX_role_org_id" ON "role" ("org_id"); t 2024-05-15 15:35:10 +400 add unique index role_org_id_name CREATE UNIQUE INDEX "UQE_role_org_id_name" ON "role" ("org_id","name"); t 2024-05-15 15:35:10 +401 add index role_org_id_uid CREATE UNIQUE INDEX "UQE_role_org_id_uid" ON "role" ("org_id","uid"); t 2024-05-15 15:35:10 +402 create team role table CREATE TABLE IF NOT EXISTS "team_role" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "team_id" BIGINT NOT NULL\n, "role_id" BIGINT NOT NULL\n, "created" TIMESTAMP NOT NULL\n); t 2024-05-15 15:35:10 +403 add index team_role.org_id CREATE INDEX "IDX_team_role_org_id" ON "team_role" ("org_id"); t 2024-05-15 15:35:10 +404 add unique index team_role_org_id_team_id_role_id CREATE UNIQUE INDEX "UQE_team_role_org_id_team_id_role_id" ON "team_role" ("org_id","team_id","role_id"); t 2024-05-15 15:35:11 +405 add index team_role.team_id CREATE INDEX "IDX_team_role_team_id" ON "team_role" ("team_id"); t 2024-05-15 15:35:11 +406 create user role table CREATE TABLE IF NOT EXISTS "user_role" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "org_id" BIGINT NOT NULL\n, "user_id" BIGINT NOT NULL\n, "role_id" BIGINT NOT NULL\n, "created" TIMESTAMP NOT NULL\n); t 2024-05-15 15:35:11 +407 add index user_role.org_id CREATE INDEX "IDX_user_role_org_id" ON "user_role" ("org_id"); t 2024-05-15 15:35:11 +408 add unique index user_role_org_id_user_id_role_id CREATE UNIQUE INDEX "UQE_user_role_org_id_user_id_role_id" ON "user_role" ("org_id","user_id","role_id"); t 2024-05-15 15:35:11 +409 add index user_role.user_id CREATE INDEX "IDX_user_role_user_id" ON "user_role" ("user_id"); t 2024-05-15 15:35:11 +410 create builtin role table CREATE TABLE IF NOT EXISTS "builtin_role" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "role" VARCHAR(190) NOT NULL\n, "role_id" BIGINT NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:35:11 +411 add index builtin_role.role_id CREATE INDEX "IDX_builtin_role_role_id" ON "builtin_role" ("role_id"); t 2024-05-15 15:35:11 +412 add index builtin_role.name CREATE INDEX "IDX_builtin_role_role" ON "builtin_role" ("role"); t 2024-05-15 15:35:11 +413 Add column org_id to builtin_role table alter table "builtin_role" ADD COLUMN "org_id" BIGINT NOT NULL DEFAULT 0 t 2024-05-15 15:35:12 +414 add index builtin_role.org_id CREATE INDEX "IDX_builtin_role_org_id" ON "builtin_role" ("org_id"); t 2024-05-15 15:35:12 +415 add unique index builtin_role_org_id_role_id_role CREATE UNIQUE INDEX "UQE_builtin_role_org_id_role_id_role" ON "builtin_role" ("org_id","role_id","role"); t 2024-05-15 15:35:12 +416 Remove unique index role_org_id_uid DROP INDEX "UQE_role_org_id_uid" CASCADE t 2024-05-15 15:35:12 +417 add unique index role.uid CREATE UNIQUE INDEX "UQE_role_uid" ON "role" ("uid"); t 2024-05-15 15:35:12 +418 create seed assignment table CREATE TABLE IF NOT EXISTS "seed_assignment" (\n"builtin_role" VARCHAR(190) NOT NULL\n, "role_name" VARCHAR(190) NOT NULL\n); t 2024-05-15 15:35:12 +419 add unique index builtin_role_role_name CREATE UNIQUE INDEX "UQE_seed_assignment_builtin_role_role_name" ON "seed_assignment" ("builtin_role","role_name"); t 2024-05-15 15:35:12 +420 add column hidden to role table alter table "role" ADD COLUMN "hidden" BOOL NOT NULL DEFAULT false t 2024-05-15 15:35:12 +421 create query_history table v1 CREATE TABLE IF NOT EXISTS "query_history" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "uid" VARCHAR(40) NOT NULL\n, "org_id" BIGINT NOT NULL\n, "datasource_uid" VARCHAR(40) NOT NULL\n, "created_by" INTEGER NOT NULL\n, "created_at" INTEGER NOT NULL\n, "comment" TEXT NOT NULL\n, "queries" TEXT NOT NULL\n); t 2024-05-15 15:35:12 +422 add index query_history.org_id-created_by-datasource_uid CREATE INDEX "IDX_query_history_org_id_created_by_datasource_uid" ON "query_history" ("org_id","created_by","datasource_uid"); t 2024-05-15 15:35:13 +423 alter table query_history alter column created_by type to bigint ALTER TABLE query_history ALTER COLUMN created_by TYPE BIGINT; t 2024-05-15 15:35:13 +424 teams permissions migration code migration t 2024-05-15 15:35:13 +425 dashboard permissions code migration t 2024-05-15 15:35:13 +426 dashboard permissions uid scopes code migration t 2024-05-15 15:35:13 +427 drop managed folder create actions code migration t 2024-05-15 15:35:13 +428 alerting notification permissions code migration t 2024-05-15 15:35:13 +429 create query_history_star table v1 CREATE TABLE IF NOT EXISTS "query_history_star" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "query_uid" VARCHAR(40) NOT NULL\n, "user_id" INTEGER NOT NULL\n); t 2024-05-15 15:35:13 +430 add index query_history.user_id-query_uid CREATE UNIQUE INDEX "UQE_query_history_star_user_id_query_uid" ON "query_history_star" ("user_id","query_uid"); t 2024-05-15 15:35:13 +431 add column org_id in query_history_star alter table "query_history_star" ADD COLUMN "org_id" BIGINT NOT NULL DEFAULT 1 t 2024-05-15 15:35:13 +432 alter table query_history_star_mig column user_id type to bigint ALTER TABLE query_history_star ALTER COLUMN user_id TYPE BIGINT; t 2024-05-15 15:35:13 +433 create correlation table v1 CREATE TABLE IF NOT EXISTS "correlation" (\n"uid" VARCHAR(40) NOT NULL\n, "source_uid" VARCHAR(40) NOT NULL\n, "target_uid" VARCHAR(40) NULL\n, "label" TEXT NOT NULL\n, "description" TEXT NOT NULL\n, PRIMARY KEY ( "uid","source_uid" )); t 2024-05-15 15:35:13 +434 add index correlations.uid CREATE INDEX "IDX_correlation_uid" ON "correlation" ("uid"); t 2024-05-15 15:35:13 +435 add index correlations.source_uid CREATE INDEX "IDX_correlation_source_uid" ON "correlation" ("source_uid"); t 2024-05-15 15:35:13 +436 add correlation config column alter table "correlation" ADD COLUMN "config" TEXT NULL t 2024-05-15 15:35:13 +437 create entity_events table CREATE TABLE IF NOT EXISTS "entity_event" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "entity_id" VARCHAR(1024) NOT NULL\n, "event_type" VARCHAR(8) NOT NULL\n, "created" BIGINT NOT NULL\n); t 2024-05-15 15:35:13 +438 create dashboard public config v1 CREATE TABLE IF NOT EXISTS "dashboard_public_config" (\n"uid" VARCHAR(40) PRIMARY KEY NOT NULL\n, "dashboard_uid" VARCHAR(40) NOT NULL\n, "org_id" BIGINT NOT NULL\n, "time_settings" TEXT NOT NULL\n, "refresh_rate" INTEGER NOT NULL DEFAULT 30\n, "template_variables" TEXT NULL\n); t 2024-05-15 15:35:13 +439 drop index UQE_dashboard_public_config_uid - v1 DROP INDEX "UQE_dashboard_public_config_uid" CASCADE t 2024-05-15 15:35:13 +440 drop index IDX_dashboard_public_config_org_id_dashboard_uid - v1 DROP INDEX "IDX_dashboard_public_config_org_id_dashboard_uid" CASCADE t 2024-05-15 15:35:13 +441 Drop old dashboard public config table DROP TABLE IF EXISTS "dashboard_public_config" t 2024-05-15 15:35:13 +442 recreate dashboard public config v1 CREATE TABLE IF NOT EXISTS "dashboard_public_config" (\n"uid" VARCHAR(40) PRIMARY KEY NOT NULL\n, "dashboard_uid" VARCHAR(40) NOT NULL\n, "org_id" BIGINT NOT NULL\n, "time_settings" TEXT NOT NULL\n, "refresh_rate" INTEGER NOT NULL DEFAULT 30\n, "template_variables" TEXT NULL\n); t 2024-05-15 15:35:13 +443 create index UQE_dashboard_public_config_uid - v1 CREATE UNIQUE INDEX "UQE_dashboard_public_config_uid" ON "dashboard_public_config" ("uid"); t 2024-05-15 15:35:13 +444 create index IDX_dashboard_public_config_org_id_dashboard_uid - v1 CREATE INDEX "IDX_dashboard_public_config_org_id_dashboard_uid" ON "dashboard_public_config" ("org_id","dashboard_uid"); t 2024-05-15 15:35:13 +445 drop index UQE_dashboard_public_config_uid - v2 DROP INDEX "UQE_dashboard_public_config_uid" CASCADE t 2024-05-15 15:35:14 +446 drop index IDX_dashboard_public_config_org_id_dashboard_uid - v2 DROP INDEX "IDX_dashboard_public_config_org_id_dashboard_uid" CASCADE t 2024-05-15 15:35:14 +447 Drop public config table DROP TABLE IF EXISTS "dashboard_public_config" t 2024-05-15 15:35:14 +448 Recreate dashboard public config v2 CREATE TABLE IF NOT EXISTS "dashboard_public_config" (\n"uid" VARCHAR(40) PRIMARY KEY NOT NULL\n, "dashboard_uid" VARCHAR(40) NOT NULL\n, "org_id" BIGINT NOT NULL\n, "time_settings" TEXT NULL\n, "template_variables" TEXT NULL\n, "access_token" VARCHAR(32) NOT NULL\n, "created_by" INTEGER NOT NULL\n, "updated_by" INTEGER NULL\n, "created_at" TIMESTAMP NOT NULL\n, "updated_at" TIMESTAMP NULL\n, "is_enabled" BOOL NOT NULL DEFAULT false\n); t 2024-05-15 15:35:14 +449 create index UQE_dashboard_public_config_uid - v2 CREATE UNIQUE INDEX "UQE_dashboard_public_config_uid" ON "dashboard_public_config" ("uid"); t 2024-05-15 15:35:14 +450 create index IDX_dashboard_public_config_org_id_dashboard_uid - v2 CREATE INDEX "IDX_dashboard_public_config_org_id_dashboard_uid" ON "dashboard_public_config" ("org_id","dashboard_uid"); t 2024-05-15 15:35:14 +451 create index UQE_dashboard_public_config_access_token - v2 CREATE UNIQUE INDEX "UQE_dashboard_public_config_access_token" ON "dashboard_public_config" ("access_token"); t 2024-05-15 15:35:14 +452 Rename table dashboard_public_config to dashboard_public - v2 ALTER TABLE "dashboard_public_config" RENAME TO "dashboard_public" t 2024-05-15 15:35:14 +453 add annotations_enabled column alter table "dashboard_public" ADD COLUMN "annotations_enabled" BOOL NOT NULL DEFAULT false t 2024-05-15 15:35:14 +454 add time_selection_enabled column alter table "dashboard_public" ADD COLUMN "time_selection_enabled" BOOL NOT NULL DEFAULT false t 2024-05-15 15:35:14 +455 delete orphaned public dashboards DELETE FROM dashboard_public WHERE dashboard_uid NOT IN (SELECT uid FROM dashboard) t 2024-05-15 15:35:14 +456 add share column alter table "dashboard_public" ADD COLUMN "share" VARCHAR(64) NOT NULL DEFAULT 'public' t 2024-05-15 15:35:14 +457 backfill empty share column fields with default of public UPDATE dashboard_public SET share='public' WHERE share='' t 2024-05-15 15:35:14 +458 create default alerting folders code migration t 2024-05-15 15:35:14 +459 create file table CREATE TABLE IF NOT EXISTS "file" (\n"path" VARCHAR(1024) NOT NULL\n, "path_hash" VARCHAR(64) NOT NULL\n, "parent_folder_path_hash" VARCHAR(64) NOT NULL\n, "contents" BYTEA NOT NULL\n, "etag" VARCHAR(32) NOT NULL\n, "cache_control" VARCHAR(128) NOT NULL\n, "content_disposition" VARCHAR(128) NOT NULL\n, "updated" TIMESTAMP NOT NULL\n, "created" TIMESTAMP NOT NULL\n, "size" BIGINT NOT NULL\n, "mime_type" VARCHAR(255) NOT NULL\n); t 2024-05-15 15:35:14 +460 file table idx: path natural pk CREATE UNIQUE INDEX "UQE_file_path_hash" ON "file" ("path_hash"); t 2024-05-15 15:35:14 +461 file table idx: parent_folder_path_hash fast folder retrieval CREATE INDEX "IDX_file_parent_folder_path_hash" ON "file" ("parent_folder_path_hash"); t 2024-05-15 15:35:14 +462 create file_meta table CREATE TABLE IF NOT EXISTS "file_meta" (\n"path_hash" VARCHAR(64) NOT NULL\n, "key" VARCHAR(191) NOT NULL\n, "value" VARCHAR(1024) NOT NULL\n); t 2024-05-15 15:35:15 +463 file table idx: path key CREATE UNIQUE INDEX "UQE_file_meta_path_hash_key" ON "file_meta" ("path_hash","key"); t 2024-05-15 15:35:15 +464 set path collation in file table ALTER TABLE file ALTER COLUMN path TYPE VARCHAR(1024) COLLATE "C"; t 2024-05-15 15:35:15 +465 managed permissions migration code migration t 2024-05-15 15:35:15 +466 managed folder permissions alert actions migration code migration t 2024-05-15 15:35:15 +467 RBAC action name migrator code migration t 2024-05-15 15:35:15 +468 Add UID column to playlist alter table "playlist" ADD COLUMN "uid" VARCHAR(80) NOT NULL DEFAULT 0 t 2024-05-15 15:35:15 +469 Update uid column values in playlist UPDATE playlist SET uid=id::text; t 2024-05-15 15:35:15 +470 Add index for uid in playlist CREATE UNIQUE INDEX "UQE_playlist_org_id_uid" ON "playlist" ("org_id","uid"); t 2024-05-15 15:35:15 +471 update group index for alert rules code migration t 2024-05-15 15:35:15 +472 managed folder permissions alert actions repeated migration code migration t 2024-05-15 15:35:15 +473 admin only folder/dashboard permission code migration t 2024-05-15 15:35:15 +474 add action column to seed_assignment alter table "seed_assignment" ADD COLUMN "action" VARCHAR(190) NULL t 2024-05-15 15:35:15 +475 add scope column to seed_assignment alter table "seed_assignment" ADD COLUMN "scope" VARCHAR(190) NULL t 2024-05-15 15:35:15 +476 remove unique index builtin_role_role_name before nullable update DROP INDEX "UQE_seed_assignment_builtin_role_role_name" CASCADE t 2024-05-15 15:35:15 +477 update seed_assignment role_name column to nullable ALTER TABLE `seed_assignment` ALTER COLUMN role_name DROP NOT NULL; t 2024-05-15 15:35:15 +478 add unique index builtin_role_name back CREATE UNIQUE INDEX "UQE_seed_assignment_builtin_role_role_name" ON "seed_assignment" ("builtin_role","role_name"); t 2024-05-15 15:35:15 +479 add unique index builtin_role_action_scope CREATE UNIQUE INDEX "UQE_seed_assignment_builtin_role_action_scope" ON "seed_assignment" ("builtin_role","action","scope"); t 2024-05-15 15:35:15 +480 add primary key to seed_assigment code migration t 2024-05-15 15:35:15 +481 managed folder permissions alert actions repeated fixed migration code migration t 2024-05-15 15:35:15 +482 migrate external alertmanagers to datsourcse migrate external alertmanagers to datasource t 2024-05-15 15:35:15 +483 create folder table CREATE TABLE IF NOT EXISTS "folder" (\n"id" SERIAL PRIMARY KEY NOT NULL\n, "uid" VARCHAR(40) NOT NULL\n, "org_id" BIGINT NOT NULL\n, "title" VARCHAR(255) NOT NULL\n, "description" VARCHAR(255) NULL\n, "parent_uid" VARCHAR(40) NULL\n, "created" TIMESTAMP NOT NULL\n, "updated" TIMESTAMP NOT NULL\n); t 2024-05-15 15:35:15 +484 Add index for parent_uid CREATE INDEX "IDX_folder_parent_uid_org_id" ON "folder" ("parent_uid","org_id"); t 2024-05-15 15:35:16 +485 Add unique index for folder.uid and folder.org_id CREATE UNIQUE INDEX "UQE_folder_uid_org_id" ON "folder" ("uid","org_id"); t 2024-05-15 15:35:16 +486 Update folder title length ALTER TABLE "folder" ALTER "title" TYPE VARCHAR(189); t 2024-05-15 15:35:16 +487 Add unique index for folder.title and folder.parent_uid CREATE UNIQUE INDEX "UQE_folder_title_parent_uid" ON "folder" ("title","parent_uid"); t 2024-05-15 15:35:16 +\. + + +-- +-- TOC entry 4038 (class 0 OID 20860) +-- Dependencies: 287 +-- Data for Name: ngalert_configuration; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.ngalert_configuration (id, org_id, alertmanagers, created_at, updated_at, send_alerts_to) FROM stdin; +\. + + +-- +-- TOC entry 3969 (class 0 OID 20292) +-- Dependencies: 218 +-- Data for Name: org; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.org (id, version, name, address1, address2, city, state, zip_code, country, billing_email, created, updated) FROM stdin; +1 0 Main Org. \N 2024-05-15 15:35:16 2024-05-15 15:35:16 +\. + + +-- +-- TOC entry 3971 (class 0 OID 20302) +-- Dependencies: 220 +-- Data for Name: org_user; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.org_user (id, org_id, user_id, role, created, updated) FROM stdin; +1 1 1 Admin 2024-05-15 15:35:16 2024-05-15 15:35:16 +\. + + +-- +-- TOC entry 4055 (class 0 OID 20951) +-- Dependencies: 304 +-- Data for Name: permission; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.permission (id, role_id, action, scope, created, updated) FROM stdin; +1 1 dashboards.permissions:read dashboards:uid:LsXOaz47z 2024-05-15 15:43:22 2024-05-15 15:43:22 +2 1 dashboards.permissions:write dashboards:uid:LsXOaz47z 2024-05-15 15:43:22 2024-05-15 15:43:22 +3 1 dashboards:read dashboards:uid:LsXOaz47z 2024-05-15 15:43:22 2024-05-15 15:43:22 +4 1 dashboards:write dashboards:uid:LsXOaz47z 2024-05-15 15:43:22 2024-05-15 15:43:22 +5 1 dashboards:delete dashboards:uid:LsXOaz47z 2024-05-15 15:43:22 2024-05-15 15:43:22 +6 2 dashboards:read dashboards:uid:LsXOaz47z 2024-05-15 15:43:22 2024-05-15 15:43:22 +7 2 dashboards:write dashboards:uid:LsXOaz47z 2024-05-15 15:43:22 2024-05-15 15:43:22 +8 2 dashboards:delete dashboards:uid:LsXOaz47z 2024-05-15 15:43:22 2024-05-15 15:43:22 +9 3 dashboards:read dashboards:uid:LsXOaz47z 2024-05-15 15:43:22 2024-05-15 15:43:22 +10 1 dashboards:read dashboards:uid:78X6BmvMk 2024-05-15 15:43:50 2024-05-15 15:43:50 +11 1 dashboards:write dashboards:uid:78X6BmvMk 2024-05-15 15:43:50 2024-05-15 15:43:50 +12 1 dashboards:delete dashboards:uid:78X6BmvMk 2024-05-15 15:43:50 2024-05-15 15:43:50 +13 1 dashboards.permissions:read dashboards:uid:78X6BmvMk 2024-05-15 15:43:50 2024-05-15 15:43:50 +14 1 dashboards.permissions:write dashboards:uid:78X6BmvMk 2024-05-15 15:43:50 2024-05-15 15:43:50 +15 2 dashboards:read dashboards:uid:78X6BmvMk 2024-05-15 15:43:50 2024-05-15 15:43:50 +16 2 dashboards:write dashboards:uid:78X6BmvMk 2024-05-15 15:43:50 2024-05-15 15:43:50 +17 2 dashboards:delete dashboards:uid:78X6BmvMk 2024-05-15 15:43:50 2024-05-15 15:43:50 +18 3 dashboards:read dashboards:uid:78X6BmvMk 2024-05-15 15:43:50 2024-05-15 15:43:50 +19 1 dashboards.permissions:write dashboards:uid:zUqcvfZ7z 2024-05-15 15:44:09 2024-05-15 15:44:09 +20 1 dashboards:read dashboards:uid:zUqcvfZ7z 2024-05-15 15:44:09 2024-05-15 15:44:09 +21 1 dashboards:write dashboards:uid:zUqcvfZ7z 2024-05-15 15:44:09 2024-05-15 15:44:09 +22 1 dashboards:delete dashboards:uid:zUqcvfZ7z 2024-05-15 15:44:09 2024-05-15 15:44:09 +23 1 dashboards.permissions:read dashboards:uid:zUqcvfZ7z 2024-05-15 15:44:09 2024-05-15 15:44:09 +24 2 dashboards:write dashboards:uid:zUqcvfZ7z 2024-05-15 15:44:09 2024-05-15 15:44:09 +25 2 dashboards:delete dashboards:uid:zUqcvfZ7z 2024-05-15 15:44:09 2024-05-15 15:44:09 +26 2 dashboards:read dashboards:uid:zUqcvfZ7z 2024-05-15 15:44:09 2024-05-15 15:44:09 +27 3 dashboards:read dashboards:uid:zUqcvfZ7z 2024-05-15 15:44:09 2024-05-15 15:44:09 +\. + + +-- +-- TOC entry 3990 (class 0 OID 20492) +-- Dependencies: 239 +-- Data for Name: playlist; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.playlist (id, name, "interval", org_id, uid) FROM stdin; +\. + + +-- +-- TOC entry 3992 (class 0 OID 20504) +-- Dependencies: 241 +-- Data for Name: playlist_item; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.playlist_item (id, playlist_id, type, value, title, "order") FROM stdin; +\. + + +-- +-- TOC entry 3987 (class 0 OID 20474) +-- Dependencies: 236 +-- Data for Name: plugin_setting; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.plugin_setting (id, org_id, plugin_id, enabled, pinned, json_data, secure_json_data, created, updated, plugin_version) FROM stdin; +\. + + +-- +-- TOC entry 3994 (class 0 OID 20515) +-- Dependencies: 243 +-- Data for Name: preferences; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.preferences (id, org_id, user_id, version, home_dashboard_id, timezone, theme, created, updated, team_id, week_start, json_data) FROM stdin; +\. + + +-- +-- TOC entry 4040 (class 0 OID 20871) +-- Dependencies: 289 +-- Data for Name: provenance_type; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.provenance_type (id, org_id, record_key, record_type, provenance) FROM stdin; +\. + + +-- +-- TOC entry 4066 (class 0 OID 21012) +-- Dependencies: 315 +-- Data for Name: query_history; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.query_history (id, uid, org_id, datasource_uid, created_by, created_at, comment, queries) FROM stdin; +\. + + +-- +-- TOC entry 4068 (class 0 OID 21039) +-- Dependencies: 317 +-- Data for Name: query_history_star; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.query_history_star (id, query_uid, user_id, org_id) FROM stdin; +\. + + +-- +-- TOC entry 3985 (class 0 OID 20465) +-- Dependencies: 234 +-- Data for Name: quota; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.quota (id, org_id, user_id, target, "limit", created, updated) FROM stdin; +\. + + +-- +-- TOC entry 4057 (class 0 OID 20960) +-- Dependencies: 306 +-- Data for Name: role; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.role (id, name, description, version, org_id, uid, created, updated, display_name, group_name, hidden) FROM stdin; +1 managed:users:1:permissions 0 1 cdfe6eee-c123-4ec0-a09e-39e905069d33 2024-05-15 15:43:22 2024-05-15 15:43:22 f +2 managed:builtins:editor:permissions 0 1 ed2d7b85-6681-49c9-a0bf-ddbab2d26e59 2024-05-15 15:43:22 2024-05-15 15:43:22 f +3 managed:builtins:viewer:permissions 0 1 c0acf7f5-03c7-4bc7-b948-b03e7588db7d 2024-05-15 15:43:22 2024-05-15 15:43:22 f +\. + + +-- +-- TOC entry 4051 (class 0 OID 20931) +-- Dependencies: 300 +-- Data for Name: secrets; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.secrets (id, org_id, namespace, type, value, created, updated) FROM stdin; +1 1 PostgreSQL-JSON_SCADA datasource I1pEUmtabVkyTmpVdFpUZGlOQzAwWWpjNExXRTRZak10TkRObVpUbGtabUZpWW1NNCMqWVdWekxXTm1ZZypWTzZFc2tBSGgMqkb2sBuD2U2akcbxWm0r/w 2024-05-15 15:38:36 2024-05-15 15:42:11 +\. + + +-- +-- TOC entry 4064 (class 0 OID 21004) +-- Dependencies: 313 +-- Data for Name: seed_assignment; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.seed_assignment (builtin_role, role_name, action, scope, id) FROM stdin; +\. + + +-- +-- TOC entry 4024 (class 0 OID 20710) +-- Dependencies: 273 +-- Data for Name: server_lock; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.server_lock (id, operation_uid, version, last_execution) FROM stdin; +1 cleanup expired auth tokens 1 1715798134 +4 delete old login attempts 2 1715799480 +\. + + +-- +-- TOC entry 3988 (class 0 OID 20484) +-- Dependencies: 237 +-- Data for Name: session; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.session (key, data, expiry) FROM stdin; +\. + + +-- +-- TOC entry 4029 (class 0 OID 20738) +-- Dependencies: 278 +-- Data for Name: short_url; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.short_url (id, org_id, uid, path, created_by, created_at, last_seen_at) FROM stdin; +\. + + +-- +-- TOC entry 3967 (class 0 OID 20284) +-- Dependencies: 216 +-- Data for Name: star; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.star (id, user_id, dashboard_id) FROM stdin; +1 1 3 +\. + + +-- +-- TOC entry 4018 (class 0 OID 20673) +-- Dependencies: 267 +-- Data for Name: tag; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.tag (id, key, value) FROM stdin; +\. + + +-- +-- TOC entry 4012 (class 0 OID 20639) +-- Dependencies: 261 +-- Data for Name: team; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.team (id, name, org_id, created, updated, email) FROM stdin; +\. + + +-- +-- TOC entry 4014 (class 0 OID 20648) +-- Dependencies: 263 +-- Data for Name: team_member; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.team_member (id, org_id, team_id, user_id, created, updated, external, permission) FROM stdin; +\. + + +-- +-- TOC entry 4059 (class 0 OID 20972) +-- Dependencies: 308 +-- Data for Name: team_role; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.team_role (id, org_id, team_id, role_id, created) FROM stdin; +\. + + +-- +-- TOC entry 3965 (class 0 OID 20269) +-- Dependencies: 214 +-- Data for Name: temp_user; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.temp_user (id, org_id, version, email, name, role, code, status, invited_by_user_id, email_sent, email_sent_on, remote_addr, created, updated) FROM stdin; +\. + + +-- +-- TOC entry 4008 (class 0 OID 20621) +-- Dependencies: 257 +-- Data for Name: test_data; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.test_data (id, metric1, metric2, value_big_int, value_double, value_float, value_int, time_epoch, time_date_time, time_time_stamp) FROM stdin; +\. + + +-- +-- TOC entry 3963 (class 0 OID 20236) +-- Dependencies: 212 +-- Data for Name: user; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."user" (id, version, login, email, name, password, salt, rands, company, org_id, is_admin, email_verified, theme, created, updated, help_flags1, last_seen_at, is_disabled, is_service_account) FROM stdin; +1 0 admin admin@localhost 7924c804508492bf9bf2fe917131861842312ae935c49b3ac3b355bfbba053714340e0ef13eeb92abcc2a66719ac85413968 gRxyIkNDEg OuKpg0IDu6 1 t f 2024-05-15 15:35:16 2024-05-15 15:35:16 0 2024-05-15 15:58:17 f f +\. + + +-- +-- TOC entry 4022 (class 0 OID 20698) +-- Dependencies: 271 +-- Data for Name: user_auth; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.user_auth (id, user_id, auth_module, auth_id, created, o_auth_access_token, o_auth_refresh_token, o_auth_token_type, o_auth_expiry, o_auth_id_token) FROM stdin; +1 1 authproxy admin 2024-05-15 15:38:01 \N +\. + + +-- +-- TOC entry 4026 (class 0 OID 20718) +-- Dependencies: 275 +-- Data for Name: user_auth_token; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.user_auth_token (id, user_id, auth_token, prev_auth_token, user_agent, client_ip, auth_token_seen, seen_at, rotated_at, created_at, updated_at, revoked_at) FROM stdin; +\. + + +-- +-- TOC entry 4061 (class 0 OID 20982) +-- Dependencies: 310 +-- Data for Name: user_role; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.user_role (id, org_id, user_id, role_id, created) FROM stdin; +1 1 1 1 2024-05-15 15:43:22 +\. + + +-- +-- TOC entry 4139 (class 0 OID 0) +-- Dependencies: 292 +-- Name: alert_configuration_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.alert_configuration_history_id_seq', 1, true); + + +-- +-- TOC entry 4140 (class 0 OID 0) +-- Dependencies: 284 +-- Name: alert_configuration_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.alert_configuration_id_seq', 1, true); + + +-- +-- TOC entry 4141 (class 0 OID 0) +-- Dependencies: 244 +-- Name: alert_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.alert_id_seq', 1, false); + + +-- +-- TOC entry 4142 (class 0 OID 0) +-- Dependencies: 290 +-- Name: alert_image_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.alert_image_id_seq', 1, false); + + +-- +-- TOC entry 4143 (class 0 OID 0) +-- Dependencies: 248 +-- Name: alert_notification_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.alert_notification_id_seq', 1, false); + + +-- +-- TOC entry 4144 (class 0 OID 0) +-- Dependencies: 250 +-- Name: alert_notification_state_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.alert_notification_state_id_seq', 1, false); + + +-- +-- TOC entry 4145 (class 0 OID 0) +-- Dependencies: 280 +-- Name: alert_rule_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.alert_rule_id_seq', 1, false); + + +-- +-- TOC entry 4146 (class 0 OID 0) +-- Dependencies: 246 +-- Name: alert_rule_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.alert_rule_tag_id_seq', 1, false); + + +-- +-- TOC entry 4147 (class 0 OID 0) +-- Dependencies: 282 +-- Name: alert_rule_version_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.alert_rule_version_id_seq', 1, false); + + +-- +-- TOC entry 4148 (class 0 OID 0) +-- Dependencies: 252 +-- Name: annotation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.annotation_id_seq', 1, false); + + +-- +-- TOC entry 4149 (class 0 OID 0) +-- Dependencies: 254 +-- Name: annotation_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.annotation_tag_id_seq', 1, false); + + +-- +-- TOC entry 4150 (class 0 OID 0) +-- Dependencies: 229 +-- Name: api_key_id_seq1; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.api_key_id_seq1', 1, false); + + +-- +-- TOC entry 4151 (class 0 OID 0) +-- Dependencies: 311 +-- Name: builtin_role_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.builtin_role_id_seq', 2, true); + + +-- +-- TOC entry 4152 (class 0 OID 0) +-- Dependencies: 264 +-- Name: dashboard_acl_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.dashboard_acl_id_seq', 2, true); + + +-- +-- TOC entry 4153 (class 0 OID 0) +-- Dependencies: 223 +-- Name: dashboard_id_seq1; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.dashboard_id_seq1', 3, true); + + +-- +-- TOC entry 4154 (class 0 OID 0) +-- Dependencies: 225 +-- Name: dashboard_provisioning_id_seq1; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.dashboard_provisioning_id_seq1', 1, false); + + +-- +-- TOC entry 4155 (class 0 OID 0) +-- Dependencies: 231 +-- Name: dashboard_snapshot_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.dashboard_snapshot_id_seq', 1, false); + + +-- +-- TOC entry 4156 (class 0 OID 0) +-- Dependencies: 221 +-- Name: dashboard_tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.dashboard_tag_id_seq', 1, false); + + +-- +-- TOC entry 4157 (class 0 OID 0) +-- Dependencies: 258 +-- Name: dashboard_version_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.dashboard_version_id_seq', 10, true); + + +-- +-- TOC entry 4158 (class 0 OID 0) +-- Dependencies: 227 +-- Name: data_source_id_seq1; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.data_source_id_seq1', 1, true); + + +-- +-- TOC entry 4159 (class 0 OID 0) +-- Dependencies: 319 +-- Name: entity_event_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.entity_event_id_seq', 1, false); + + +-- +-- TOC entry 4160 (class 0 OID 0) +-- Dependencies: 325 +-- Name: folder_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.folder_id_seq', 1, false); + + +-- +-- TOC entry 4161 (class 0 OID 0) +-- Dependencies: 301 +-- Name: kv_store_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.kv_store_id_seq', 3, true); + + +-- +-- TOC entry 4162 (class 0 OID 0) +-- Dependencies: 296 +-- Name: library_element_connection_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.library_element_connection_id_seq', 1, false); + + +-- +-- TOC entry 4163 (class 0 OID 0) +-- Dependencies: 294 +-- Name: library_element_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.library_element_id_seq', 1, false); + + +-- +-- TOC entry 4164 (class 0 OID 0) +-- Dependencies: 268 +-- Name: login_attempt_id_seq1; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.login_attempt_id_seq1', 1, false); + + +-- +-- TOC entry 4165 (class 0 OID 0) +-- Dependencies: 209 +-- Name: migration_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.migration_log_id_seq', 487, true); + + +-- +-- TOC entry 4166 (class 0 OID 0) +-- Dependencies: 286 +-- Name: ngalert_configuration_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.ngalert_configuration_id_seq', 1, false); + + +-- +-- TOC entry 4167 (class 0 OID 0) +-- Dependencies: 217 +-- Name: org_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.org_id_seq', 1, true); + + +-- +-- TOC entry 4168 (class 0 OID 0) +-- Dependencies: 219 +-- Name: org_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.org_user_id_seq', 1, true); + + +-- +-- TOC entry 4169 (class 0 OID 0) +-- Dependencies: 303 +-- Name: permission_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.permission_id_seq', 27, true); + + +-- +-- TOC entry 4170 (class 0 OID 0) +-- Dependencies: 238 +-- Name: playlist_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.playlist_id_seq', 1, false); + + +-- +-- TOC entry 4171 (class 0 OID 0) +-- Dependencies: 240 +-- Name: playlist_item_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.playlist_item_id_seq', 1, false); + + +-- +-- TOC entry 4172 (class 0 OID 0) +-- Dependencies: 235 +-- Name: plugin_setting_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.plugin_setting_id_seq', 1, false); + + +-- +-- TOC entry 4173 (class 0 OID 0) +-- Dependencies: 242 +-- Name: preferences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.preferences_id_seq', 1, false); + + +-- +-- TOC entry 4174 (class 0 OID 0) +-- Dependencies: 288 +-- Name: provenance_type_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.provenance_type_id_seq', 1, false); + + +-- +-- TOC entry 4175 (class 0 OID 0) +-- Dependencies: 314 +-- Name: query_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.query_history_id_seq', 1, false); + + +-- +-- TOC entry 4176 (class 0 OID 0) +-- Dependencies: 316 +-- Name: query_history_star_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.query_history_star_id_seq', 1, false); + + +-- +-- TOC entry 4177 (class 0 OID 0) +-- Dependencies: 233 +-- Name: quota_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.quota_id_seq', 1, false); + + +-- +-- TOC entry 4178 (class 0 OID 0) +-- Dependencies: 305 +-- Name: role_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.role_id_seq', 3, true); + + +-- +-- TOC entry 4179 (class 0 OID 0) +-- Dependencies: 299 +-- Name: secrets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.secrets_id_seq', 1, true); + + +-- +-- TOC entry 4180 (class 0 OID 0) +-- Dependencies: 324 +-- Name: seed_assignment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.seed_assignment_id_seq', 1, false); + + +-- +-- TOC entry 4181 (class 0 OID 0) +-- Dependencies: 272 +-- Name: server_lock_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.server_lock_id_seq', 4, true); + + +-- +-- TOC entry 4182 (class 0 OID 0) +-- Dependencies: 277 +-- Name: short_url_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.short_url_id_seq', 1, false); + + +-- +-- TOC entry 4183 (class 0 OID 0) +-- Dependencies: 215 +-- Name: star_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.star_id_seq', 1, true); + + +-- +-- TOC entry 4184 (class 0 OID 0) +-- Dependencies: 266 +-- Name: tag_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.tag_id_seq', 1, false); + + +-- +-- TOC entry 4185 (class 0 OID 0) +-- Dependencies: 260 +-- Name: team_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.team_id_seq', 1, false); + + +-- +-- TOC entry 4186 (class 0 OID 0) +-- Dependencies: 262 +-- Name: team_member_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.team_member_id_seq', 1, false); + + +-- +-- TOC entry 4187 (class 0 OID 0) +-- Dependencies: 307 +-- Name: team_role_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.team_role_id_seq', 1, false); + + +-- +-- TOC entry 4188 (class 0 OID 0) +-- Dependencies: 213 +-- Name: temp_user_id_seq1; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.temp_user_id_seq1', 1, false); + + +-- +-- TOC entry 4189 (class 0 OID 0) +-- Dependencies: 256 +-- Name: test_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.test_data_id_seq', 1, false); + + +-- +-- TOC entry 4190 (class 0 OID 0) +-- Dependencies: 270 +-- Name: user_auth_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.user_auth_id_seq', 1, true); + + +-- +-- TOC entry 4191 (class 0 OID 0) +-- Dependencies: 274 +-- Name: user_auth_token_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.user_auth_token_id_seq', 1, false); + + +-- +-- TOC entry 4192 (class 0 OID 0) +-- Dependencies: 211 +-- Name: user_id_seq1; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.user_id_seq1', 1, true); + + +-- +-- TOC entry 4193 (class 0 OID 0) +-- Dependencies: 309 +-- Name: user_role_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.user_role_id_seq', 1, true); + + +-- +-- TOC entry 3752 (class 2606 OID 20901) +-- Name: alert_configuration_history alert_configuration_history_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_configuration_history + ADD CONSTRAINT alert_configuration_history_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3741 (class 2606 OID 20854) +-- Name: alert_configuration alert_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_configuration + ADD CONSTRAINT alert_configuration_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3750 (class 2606 OID 20888) +-- Name: alert_image alert_image_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_image + ADD CONSTRAINT alert_image_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3728 (class 2606 OID 20799) +-- Name: alert_instance alert_instance_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_instance + ADD CONSTRAINT alert_instance_pkey PRIMARY KEY (rule_org_id, rule_uid, labels_hash); + + +-- +-- TOC entry 3660 (class 2606 OID 20557) +-- Name: alert_notification alert_notification_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_notification + ADD CONSTRAINT alert_notification_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3664 (class 2606 OID 20578) +-- Name: alert_notification_state alert_notification_state_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_notification_state + ADD CONSTRAINT alert_notification_state_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3653 (class 2606 OID 20533) +-- Name: alert alert_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert + ADD CONSTRAINT alert_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3734 (class 2606 OID 20818) +-- Name: alert_rule alert_rule_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_rule + ADD CONSTRAINT alert_rule_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3657 (class 2606 OID 20547) +-- Name: alert_rule_tag alert_rule_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_rule_tag + ADD CONSTRAINT alert_rule_tag_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3738 (class 2606 OID 20839) +-- Name: alert_rule_version alert_rule_version_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.alert_rule_version + ADD CONSTRAINT alert_rule_version_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3673 (class 2606 OID 20591) +-- Name: annotation annotation_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.annotation + ADD CONSTRAINT annotation_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3676 (class 2606 OID 20609) +-- Name: annotation_tag annotation_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.annotation_tag + ADD CONSTRAINT annotation_tag_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3626 (class 2606 OID 20433) +-- Name: api_key api_key_pkey1; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.api_key + ADD CONSTRAINT api_key_pkey1 PRIMARY KEY (id); + + +-- +-- TOC entry 3791 (class 2606 OID 20997) +-- Name: builtin_role builtin_role_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.builtin_role + ADD CONSTRAINT builtin_role_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3721 (class 2606 OID 20735) +-- Name: cache_data cache_data_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.cache_data + ADD CONSTRAINT cache_data_pkey PRIMARY KEY (cache_key); + + +-- +-- TOC entry 3805 (class 2606 OID 21059) +-- Name: correlation correlation_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.correlation + ADD CONSTRAINT correlation_pkey PRIMARY KEY (uid, source_uid); + + +-- +-- TOC entry 3700 (class 2606 OID 20664) +-- Name: dashboard_acl dashboard_acl_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_acl + ADD CONSTRAINT dashboard_acl_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3611 (class 2606 OID 20339) +-- Name: dashboard dashboard_pkey1; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard + ADD CONSTRAINT dashboard_pkey1 PRIMARY KEY (id); + + +-- +-- TOC entry 3615 (class 2606 OID 20380) +-- Name: dashboard_provisioning dashboard_provisioning_pkey1; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_provisioning + ADD CONSTRAINT dashboard_provisioning_pkey1 PRIMARY KEY (id); + + +-- +-- TOC entry 3812 (class 2606 OID 21096) +-- Name: dashboard_public dashboard_public_config_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_public + ADD CONSTRAINT dashboard_public_config_pkey PRIMARY KEY (uid); + + +-- +-- TOC entry 3631 (class 2606 OID 20457) +-- Name: dashboard_snapshot dashboard_snapshot_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_snapshot + ADD CONSTRAINT dashboard_snapshot_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3602 (class 2606 OID 20329) +-- Name: dashboard_tag dashboard_tag_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_tag + ADD CONSTRAINT dashboard_tag_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3682 (class 2606 OID 20635) +-- Name: dashboard_version dashboard_version_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_version + ADD CONSTRAINT dashboard_version_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3761 (class 2606 OID 20929) +-- Name: data_keys data_keys_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.data_keys + ADD CONSTRAINT data_keys_pkey PRIMARY KEY (name); + + +-- +-- TOC entry 3621 (class 2606 OID 20405) +-- Name: data_source data_source_pkey1; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.data_source + ADD CONSTRAINT data_source_pkey1 PRIMARY KEY (id); + + +-- +-- TOC entry 3807 (class 2606 OID 21070) +-- Name: entity_event entity_event_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.entity_event + ADD CONSTRAINT entity_event_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3820 (class 2606 OID 21142) +-- Name: folder folder_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.folder + ADD CONSTRAINT folder_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3766 (class 2606 OID 20948) +-- Name: kv_store kv_store_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.kv_store + ADD CONSTRAINT kv_store_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3759 (class 2606 OID 20920) +-- Name: library_element_connection library_element_connection_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.library_element_connection + ADD CONSTRAINT library_element_connection_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3756 (class 2606 OID 20912) +-- Name: library_element library_element_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.library_element + ADD CONSTRAINT library_element_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3706 (class 2606 OID 20695) +-- Name: login_attempt login_attempt_pkey1; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.login_attempt + ADD CONSTRAINT login_attempt_pkey1 PRIMARY KEY (id); + + +-- +-- TOC entry 3577 (class 2606 OID 20223) +-- Name: migration_log migration_log_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.migration_log + ADD CONSTRAINT migration_log_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3744 (class 2606 OID 20867) +-- Name: ngalert_configuration ngalert_configuration_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.ngalert_configuration + ADD CONSTRAINT ngalert_configuration_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3594 (class 2606 OID 20299) +-- Name: org org_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.org + ADD CONSTRAINT org_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3599 (class 2606 OID 20307) +-- Name: org_user org_user_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.org_user + ADD CONSTRAINT org_user_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3770 (class 2606 OID 20956) +-- Name: permission permission_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.permission + ADD CONSTRAINT permission_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3644 (class 2606 OID 20511) +-- Name: playlist_item playlist_item_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.playlist_item + ADD CONSTRAINT playlist_item_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3642 (class 2606 OID 20499) +-- Name: playlist playlist_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.playlist + ADD CONSTRAINT playlist_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3637 (class 2606 OID 20481) +-- Name: plugin_setting plugin_setting_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.plugin_setting + ADD CONSTRAINT plugin_setting_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3648 (class 2606 OID 20520) +-- Name: preferences preferences_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.preferences + ADD CONSTRAINT preferences_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3747 (class 2606 OID 20878) +-- Name: provenance_type provenance_type_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.provenance_type + ADD CONSTRAINT provenance_type_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3798 (class 2606 OID 21019) +-- Name: query_history query_history_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.query_history + ADD CONSTRAINT query_history_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3801 (class 2606 OID 21044) +-- Name: query_history_star query_history_star_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.query_history_star + ADD CONSTRAINT query_history_star_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3634 (class 2606 OID 20470) +-- Name: quota quota_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.quota + ADD CONSTRAINT quota_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3775 (class 2606 OID 20967) +-- Name: role role_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.role + ADD CONSTRAINT role_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3763 (class 2606 OID 20938) +-- Name: secrets secrets_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.secrets + ADD CONSTRAINT secrets_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3795 (class 2606 OID 21125) +-- Name: seed_assignment seed_assignment_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.seed_assignment + ADD CONSTRAINT seed_assignment_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3713 (class 2606 OID 20715) +-- Name: server_lock server_lock_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.server_lock + ADD CONSTRAINT server_lock_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3639 (class 2606 OID 20490) +-- Name: session session_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.session + ADD CONSTRAINT session_pkey PRIMARY KEY (key); + + +-- +-- TOC entry 3724 (class 2606 OID 20746) +-- Name: short_url short_url_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.short_url + ADD CONSTRAINT short_url_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3591 (class 2606 OID 20289) +-- Name: star star_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.star + ADD CONSTRAINT star_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3703 (class 2606 OID 20678) +-- Name: tag tag_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.tag + ADD CONSTRAINT tag_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3691 (class 2606 OID 20653) +-- Name: team_member team_member_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.team_member + ADD CONSTRAINT team_member_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3686 (class 2606 OID 20644) +-- Name: team team_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.team + ADD CONSTRAINT team_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3780 (class 2606 OID 20977) +-- Name: team_role team_role_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.team_role + ADD CONSTRAINT team_role_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3588 (class 2606 OID 20278) +-- Name: temp_user temp_user_pkey1; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.temp_user + ADD CONSTRAINT temp_user_pkey1 PRIMARY KEY (id); + + +-- +-- TOC entry 3678 (class 2606 OID 20626) +-- Name: test_data test_data_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.test_data + ADD CONSTRAINT test_data_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3710 (class 2606 OID 20703) +-- Name: user_auth user_auth_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.user_auth + ADD CONSTRAINT user_auth_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3718 (class 2606 OID 20725) +-- Name: user_auth_token user_auth_token_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.user_auth_token + ADD CONSTRAINT user_auth_token_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3582 (class 2606 OID 20243) +-- Name: user user_pkey1; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."user" + ADD CONSTRAINT user_pkey1 PRIMARY KEY (id); + + +-- +-- TOC entry 3785 (class 2606 OID 20987) +-- Name: user_role user_role_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.user_role + ADD CONSTRAINT user_role_pkey PRIMARY KEY (id); + + +-- +-- TOC entry 3649 (class 1259 OID 20536) +-- Name: IDX_alert_dashboard_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_alert_dashboard_id" ON public.alert USING btree (dashboard_id); + + +-- +-- TOC entry 3725 (class 1259 OID 20804) +-- Name: IDX_alert_instance_rule_org_id_current_state; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_alert_instance_rule_org_id_current_state" ON public.alert_instance USING btree (rule_org_id, current_state); + + +-- +-- TOC entry 3726 (class 1259 OID 20803) +-- Name: IDX_alert_instance_rule_org_id_rule_uid_current_state; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_alert_instance_rule_org_id_rule_uid_current_state" ON public.alert_instance USING btree (rule_org_id, rule_uid, current_state); + + +-- +-- TOC entry 3661 (class 1259 OID 20581) +-- Name: IDX_alert_notification_state_alert_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_alert_notification_state_alert_id" ON public.alert_notification_state USING btree (alert_id); + + +-- +-- TOC entry 3650 (class 1259 OID 20534) +-- Name: IDX_alert_org_id_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_alert_org_id_id" ON public.alert USING btree (org_id, id); + + +-- +-- TOC entry 3729 (class 1259 OID 20824) +-- Name: IDX_alert_rule_org_id_dashboard_uid_panel_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_alert_rule_org_id_dashboard_uid_panel_id" ON public.alert_rule USING btree (org_id, dashboard_uid, panel_id); + + +-- +-- TOC entry 3730 (class 1259 OID 20821) +-- Name: IDX_alert_rule_org_id_namespace_uid_rule_group; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_alert_rule_org_id_namespace_uid_rule_group" ON public.alert_rule USING btree (org_id, namespace_uid, rule_group); + + +-- +-- TOC entry 3654 (class 1259 OID 20582) +-- Name: IDX_alert_rule_tag_alert_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_alert_rule_tag_alert_id" ON public.alert_rule_tag USING btree (alert_id); + + +-- +-- TOC entry 3735 (class 1259 OID 20841) +-- Name: IDX_alert_rule_version_rule_org_id_rule_namespace_uid_rule_grou; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_alert_rule_version_rule_org_id_rule_namespace_uid_rule_grou" ON public.alert_rule_version USING btree (rule_org_id, rule_namespace_uid, rule_group); + + +-- +-- TOC entry 3651 (class 1259 OID 20562) +-- Name: IDX_alert_state; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_alert_state" ON public.alert USING btree (state); + + +-- +-- TOC entry 3665 (class 1259 OID 20619) +-- Name: IDX_annotation_alert_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_annotation_alert_id" ON public.annotation USING btree (alert_id); + + +-- +-- TOC entry 3666 (class 1259 OID 20592) +-- Name: IDX_annotation_org_id_alert_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_annotation_org_id_alert_id" ON public.annotation USING btree (org_id, alert_id); + + +-- +-- TOC entry 3667 (class 1259 OID 20613) +-- Name: IDX_annotation_org_id_created; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_annotation_org_id_created" ON public.annotation USING btree (org_id, created); + + +-- +-- TOC entry 3668 (class 1259 OID 20617) +-- Name: IDX_annotation_org_id_dashboard_id_epoch_end_epoch; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_annotation_org_id_dashboard_id_epoch_end_epoch" ON public.annotation USING btree (org_id, dashboard_id, epoch_end, epoch); + + +-- +-- TOC entry 3669 (class 1259 OID 20618) +-- Name: IDX_annotation_org_id_epoch_end_epoch; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_annotation_org_id_epoch_end_epoch" ON public.annotation USING btree (org_id, epoch_end, epoch); + + +-- +-- TOC entry 3670 (class 1259 OID 20597) +-- Name: IDX_annotation_org_id_type; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_annotation_org_id_type" ON public.annotation USING btree (org_id, type); + + +-- +-- TOC entry 3671 (class 1259 OID 20614) +-- Name: IDX_annotation_org_id_updated; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_annotation_org_id_updated" ON public.annotation USING btree (org_id, updated); + + +-- +-- TOC entry 3622 (class 1259 OID 20434) +-- Name: IDX_api_key_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_api_key_org_id" ON public.api_key USING btree (org_id); + + +-- +-- TOC entry 3786 (class 1259 OID 21001) +-- Name: IDX_builtin_role_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_builtin_role_org_id" ON public.builtin_role USING btree (org_id); + + +-- +-- TOC entry 3787 (class 1259 OID 20999) +-- Name: IDX_builtin_role_role; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_builtin_role_role" ON public.builtin_role USING btree (role); + + +-- +-- TOC entry 3788 (class 1259 OID 20998) +-- Name: IDX_builtin_role_role_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_builtin_role_role_id" ON public.builtin_role USING btree (role_id); + + +-- +-- TOC entry 3802 (class 1259 OID 21061) +-- Name: IDX_correlation_source_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_correlation_source_uid" ON public.correlation USING btree (source_uid); + + +-- +-- TOC entry 3803 (class 1259 OID 21060) +-- Name: IDX_correlation_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_correlation_uid" ON public.correlation USING btree (uid); + + +-- +-- TOC entry 3692 (class 1259 OID 20665) +-- Name: IDX_dashboard_acl_dashboard_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_acl_dashboard_id" ON public.dashboard_acl USING btree (dashboard_id); + + +-- +-- TOC entry 3693 (class 1259 OID 20670) +-- Name: IDX_dashboard_acl_org_id_role; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_acl_org_id_role" ON public.dashboard_acl USING btree (org_id, role); + + +-- +-- TOC entry 3694 (class 1259 OID 20671) +-- Name: IDX_dashboard_acl_permission; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_acl_permission" ON public.dashboard_acl USING btree (permission); + + +-- +-- TOC entry 3695 (class 1259 OID 20669) +-- Name: IDX_dashboard_acl_team_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_acl_team_id" ON public.dashboard_acl USING btree (team_id); + + +-- +-- TOC entry 3696 (class 1259 OID 20668) +-- Name: IDX_dashboard_acl_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_acl_user_id" ON public.dashboard_acl USING btree (user_id); + + +-- +-- TOC entry 3603 (class 1259 OID 20342) +-- Name: IDX_dashboard_gnet_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_gnet_id" ON public.dashboard USING btree (gnet_id); + + +-- +-- TOC entry 3604 (class 1259 OID 20384) +-- Name: IDX_dashboard_is_folder; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_is_folder" ON public.dashboard USING btree (is_folder); + + +-- +-- TOC entry 3605 (class 1259 OID 20340) +-- Name: IDX_dashboard_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_org_id" ON public.dashboard USING btree (org_id); + + +-- +-- TOC entry 3606 (class 1259 OID 20346) +-- Name: IDX_dashboard_org_id_plugin_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_org_id_plugin_id" ON public.dashboard USING btree (org_id, plugin_id); + + +-- +-- TOC entry 3612 (class 1259 OID 20381) +-- Name: IDX_dashboard_provisioning_dashboard_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_provisioning_dashboard_id" ON public.dashboard_provisioning USING btree (dashboard_id); + + +-- +-- TOC entry 3613 (class 1259 OID 20382) +-- Name: IDX_dashboard_provisioning_dashboard_id_name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_provisioning_dashboard_id_name" ON public.dashboard_provisioning USING btree (dashboard_id, name); + + +-- +-- TOC entry 3808 (class 1259 OID 21098) +-- Name: IDX_dashboard_public_config_org_id_dashboard_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_public_config_org_id_dashboard_uid" ON public.dashboard_public USING btree (org_id, dashboard_uid); + + +-- +-- TOC entry 3627 (class 1259 OID 20461) +-- Name: IDX_dashboard_snapshot_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_snapshot_user_id" ON public.dashboard_snapshot USING btree (user_id); + + +-- +-- TOC entry 3600 (class 1259 OID 20344) +-- Name: IDX_dashboard_tag_dashboard_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_tag_dashboard_id" ON public.dashboard_tag USING btree (dashboard_id); + + +-- +-- TOC entry 3607 (class 1259 OID 20383) +-- Name: IDX_dashboard_title; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_title" ON public.dashboard USING btree (title); + + +-- +-- TOC entry 3679 (class 1259 OID 20636) +-- Name: IDX_dashboard_version_dashboard_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_dashboard_version_dashboard_id" ON public.dashboard_version USING btree (dashboard_id); + + +-- +-- TOC entry 3616 (class 1259 OID 20406) +-- Name: IDX_data_source_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_data_source_org_id" ON public.data_source USING btree (org_id); + + +-- +-- TOC entry 3617 (class 1259 OID 20412) +-- Name: IDX_data_source_org_id_is_default; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_data_source_org_id_is_default" ON public.data_source USING btree (org_id, is_default); + + +-- +-- TOC entry 3813 (class 1259 OID 21109) +-- Name: IDX_file_parent_folder_path_hash; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_file_parent_folder_path_hash" ON public.file USING btree (parent_folder_path_hash); + + +-- +-- TOC entry 3816 (class 1259 OID 21143) +-- Name: IDX_folder_parent_uid_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_folder_parent_uid_org_id" ON public.folder USING btree (parent_uid, org_id); + + +-- +-- TOC entry 3704 (class 1259 OID 20696) +-- Name: IDX_login_attempt_username; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_login_attempt_username" ON public.login_attempt USING btree (username); + + +-- +-- TOC entry 3595 (class 1259 OID 20308) +-- Name: IDX_org_user_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_org_user_org_id" ON public.org_user USING btree (org_id); + + +-- +-- TOC entry 3596 (class 1259 OID 20310) +-- Name: IDX_org_user_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_org_user_user_id" ON public.org_user USING btree (user_id); + + +-- +-- TOC entry 3767 (class 1259 OID 20957) +-- Name: IDX_permission_role_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_permission_role_id" ON public.permission USING btree (role_id); + + +-- +-- TOC entry 3645 (class 1259 OID 20523) +-- Name: IDX_preferences_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_preferences_org_id" ON public.preferences USING btree (org_id); + + +-- +-- TOC entry 3646 (class 1259 OID 20524) +-- Name: IDX_preferences_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_preferences_user_id" ON public.preferences USING btree (user_id); + + +-- +-- TOC entry 3796 (class 1259 OID 21024) +-- Name: IDX_query_history_org_id_created_by_datasource_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_query_history_org_id_created_by_datasource_uid" ON public.query_history USING btree (org_id, created_by, datasource_uid); + + +-- +-- TOC entry 3771 (class 1259 OID 20968) +-- Name: IDX_role_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_role_org_id" ON public.role USING btree (org_id); + + +-- +-- TOC entry 3687 (class 1259 OID 20654) +-- Name: IDX_team_member_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_team_member_org_id" ON public.team_member USING btree (org_id); + + +-- +-- TOC entry 3688 (class 1259 OID 20656) +-- Name: IDX_team_member_team_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_team_member_team_id" ON public.team_member USING btree (team_id); + + +-- +-- TOC entry 3683 (class 1259 OID 20645) +-- Name: IDX_team_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_team_org_id" ON public.team USING btree (org_id); + + +-- +-- TOC entry 3776 (class 1259 OID 20978) +-- Name: IDX_team_role_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_team_role_org_id" ON public.team_role USING btree (org_id); + + +-- +-- TOC entry 3777 (class 1259 OID 20980) +-- Name: IDX_team_role_team_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_team_role_team_id" ON public.team_role USING btree (team_id); + + +-- +-- TOC entry 3583 (class 1259 OID 20281) +-- Name: IDX_temp_user_code; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_temp_user_code" ON public.temp_user USING btree (code); + + +-- +-- TOC entry 3584 (class 1259 OID 20279) +-- Name: IDX_temp_user_email; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_temp_user_email" ON public.temp_user USING btree (email); + + +-- +-- TOC entry 3585 (class 1259 OID 20280) +-- Name: IDX_temp_user_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_temp_user_org_id" ON public.temp_user USING btree (org_id); + + +-- +-- TOC entry 3586 (class 1259 OID 20282) +-- Name: IDX_temp_user_status; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_temp_user_status" ON public.temp_user USING btree (status); + + +-- +-- TOC entry 3707 (class 1259 OID 20705) +-- Name: IDX_user_auth_auth_module_auth_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_user_auth_auth_module_auth_id" ON public.user_auth USING btree (auth_module, auth_id); + + +-- +-- TOC entry 3714 (class 1259 OID 20728) +-- Name: IDX_user_auth_token_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_user_auth_token_user_id" ON public.user_auth_token USING btree (user_id); + + +-- +-- TOC entry 3708 (class 1259 OID 20708) +-- Name: IDX_user_auth_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_user_auth_user_id" ON public.user_auth USING btree (user_id); + + +-- +-- TOC entry 3578 (class 1259 OID 20250) +-- Name: IDX_user_login_email; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_user_login_email" ON public."user" USING btree (login, email); + + +-- +-- TOC entry 3781 (class 1259 OID 20988) +-- Name: IDX_user_role_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_user_role_org_id" ON public.user_role USING btree (org_id); + + +-- +-- TOC entry 3782 (class 1259 OID 20990) +-- Name: IDX_user_role_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IDX_user_role_user_id" ON public.user_role USING btree (user_id); + + +-- +-- TOC entry 3739 (class 1259 OID 20902) +-- Name: UQE_alert_configuration_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_alert_configuration_org_id" ON public.alert_configuration USING btree (org_id); + + +-- +-- TOC entry 3748 (class 1259 OID 20889) +-- Name: UQE_alert_image_token; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_alert_image_token" ON public.alert_image USING btree (token); + + +-- +-- TOC entry 3658 (class 1259 OID 20580) +-- Name: UQE_alert_notification_org_id_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_alert_notification_org_id_uid" ON public.alert_notification USING btree (org_id, uid); + + +-- +-- TOC entry 3662 (class 1259 OID 20579) +-- Name: UQE_alert_notification_state_org_id_alert_id_notifier_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_alert_notification_state_org_id_alert_id_notifier_id" ON public.alert_notification_state USING btree (org_id, alert_id, notifier_id); + + +-- +-- TOC entry 3731 (class 1259 OID 20823) +-- Name: UQE_alert_rule_org_id_namespace_uid_title; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_alert_rule_org_id_namespace_uid_title" ON public.alert_rule USING btree (org_id, namespace_uid, title); + + +-- +-- TOC entry 3732 (class 1259 OID 20820) +-- Name: UQE_alert_rule_org_id_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_alert_rule_org_id_uid" ON public.alert_rule USING btree (org_id, uid); + + +-- +-- TOC entry 3655 (class 1259 OID 20548) +-- Name: UQE_alert_rule_tag_alert_id_tag_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_alert_rule_tag_alert_id_tag_id" ON public.alert_rule_tag USING btree (alert_id, tag_id); + + +-- +-- TOC entry 3736 (class 1259 OID 20840) +-- Name: UQE_alert_rule_version_rule_org_id_rule_uid_version; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_alert_rule_version_rule_org_id_rule_uid_version" ON public.alert_rule_version USING btree (rule_org_id, rule_uid, version); + + +-- +-- TOC entry 3674 (class 1259 OID 20610) +-- Name: UQE_annotation_tag_annotation_id_tag_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_annotation_tag_annotation_id_tag_id" ON public.annotation_tag USING btree (annotation_id, tag_id); + + +-- +-- TOC entry 3623 (class 1259 OID 20438) +-- Name: UQE_api_key_key; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_api_key_key" ON public.api_key USING btree (key); + + +-- +-- TOC entry 3624 (class 1259 OID 20437) +-- Name: UQE_api_key_org_id_name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_api_key_org_id_name" ON public.api_key USING btree (org_id, name); + + +-- +-- TOC entry 3789 (class 1259 OID 21002) +-- Name: UQE_builtin_role_org_id_role_id_role; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_builtin_role_org_id_role_id_role" ON public.builtin_role USING btree (org_id, role_id, role); + + +-- +-- TOC entry 3719 (class 1259 OID 20736) +-- Name: UQE_cache_data_cache_key; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_cache_data_cache_key" ON public.cache_data USING btree (cache_key); + + +-- +-- TOC entry 3697 (class 1259 OID 20667) +-- Name: UQE_dashboard_acl_dashboard_id_team_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_dashboard_acl_dashboard_id_team_id" ON public.dashboard_acl USING btree (dashboard_id, team_id); + + +-- +-- TOC entry 3698 (class 1259 OID 20666) +-- Name: UQE_dashboard_acl_dashboard_id_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_dashboard_acl_dashboard_id_user_id" ON public.dashboard_acl USING btree (dashboard_id, user_id); + + +-- +-- TOC entry 3608 (class 1259 OID 20361) +-- Name: UQE_dashboard_org_id_folder_id_title; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_dashboard_org_id_folder_id_title" ON public.dashboard USING btree (org_id, folder_id, title); + + +-- +-- TOC entry 3609 (class 1259 OID 20350) +-- Name: UQE_dashboard_org_id_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_dashboard_org_id_uid" ON public.dashboard USING btree (org_id, uid); + + +-- +-- TOC entry 3809 (class 1259 OID 21099) +-- Name: UQE_dashboard_public_config_access_token; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_dashboard_public_config_access_token" ON public.dashboard_public USING btree (access_token); + + +-- +-- TOC entry 3810 (class 1259 OID 21097) +-- Name: UQE_dashboard_public_config_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_dashboard_public_config_uid" ON public.dashboard_public USING btree (uid); + + +-- +-- TOC entry 3628 (class 1259 OID 20463) +-- Name: UQE_dashboard_snapshot_delete_key; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_dashboard_snapshot_delete_key" ON public.dashboard_snapshot USING btree (delete_key); + + +-- +-- TOC entry 3629 (class 1259 OID 20462) +-- Name: UQE_dashboard_snapshot_key; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_dashboard_snapshot_key" ON public.dashboard_snapshot USING btree (key); + + +-- +-- TOC entry 3680 (class 1259 OID 20637) +-- Name: UQE_dashboard_version_dashboard_id_version; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_dashboard_version_dashboard_id_version" ON public.dashboard_version USING btree (dashboard_id, version); + + +-- +-- TOC entry 3618 (class 1259 OID 20409) +-- Name: UQE_data_source_org_id_name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_data_source_org_id_name" ON public.data_source USING btree (org_id, name); + + +-- +-- TOC entry 3619 (class 1259 OID 20411) +-- Name: UQE_data_source_org_id_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_data_source_org_id_uid" ON public.data_source USING btree (org_id, uid); + + +-- +-- TOC entry 3815 (class 1259 OID 21115) +-- Name: UQE_file_meta_path_hash_key; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_file_meta_path_hash_key" ON public.file_meta USING btree (path_hash, key); + + +-- +-- TOC entry 3814 (class 1259 OID 21108) +-- Name: UQE_file_path_hash; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_file_path_hash" ON public.file USING btree (path_hash); + + +-- +-- TOC entry 3817 (class 1259 OID 21153) +-- Name: UQE_folder_title_parent_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_folder_title_parent_uid" ON public.folder USING btree (title, parent_uid); + + +-- +-- TOC entry 3818 (class 1259 OID 21144) +-- Name: UQE_folder_uid_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_folder_uid_org_id" ON public.folder USING btree (uid, org_id); + + +-- +-- TOC entry 3764 (class 1259 OID 20949) +-- Name: UQE_kv_store_org_id_namespace_key; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_kv_store_org_id_namespace_key" ON public.kv_store USING btree (org_id, namespace, key); + + +-- +-- TOC entry 3757 (class 1259 OID 20921) +-- Name: UQE_library_element_connection_element_id_kind_connection_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_library_element_connection_element_id_kind_connection_id" ON public.library_element_connection USING btree (element_id, kind, connection_id); + + +-- +-- TOC entry 3753 (class 1259 OID 20913) +-- Name: UQE_library_element_org_id_folder_id_name_kind; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_library_element_org_id_folder_id_name_kind" ON public.library_element USING btree (org_id, folder_id, name, kind); + + +-- +-- TOC entry 3754 (class 1259 OID 20922) +-- Name: UQE_library_element_org_id_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_library_element_org_id_uid" ON public.library_element USING btree (org_id, uid); + + +-- +-- TOC entry 3742 (class 1259 OID 20868) +-- Name: UQE_ngalert_configuration_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_ngalert_configuration_org_id" ON public.ngalert_configuration USING btree (org_id); + + +-- +-- TOC entry 3592 (class 1259 OID 20311) +-- Name: UQE_org_name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_org_name" ON public.org USING btree (name); + + +-- +-- TOC entry 3597 (class 1259 OID 20309) +-- Name: UQE_org_user_org_id_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_org_user_org_id_user_id" ON public.org_user USING btree (org_id, user_id); + + +-- +-- TOC entry 3768 (class 1259 OID 20958) +-- Name: UQE_permission_role_id_action_scope; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_permission_role_id_action_scope" ON public.permission USING btree (role_id, action, scope); + + +-- +-- TOC entry 3640 (class 1259 OID 21117) +-- Name: UQE_playlist_org_id_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_playlist_org_id_uid" ON public.playlist USING btree (org_id, uid); + + +-- +-- TOC entry 3635 (class 1259 OID 20483) +-- Name: UQE_plugin_setting_org_id_plugin_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_plugin_setting_org_id_plugin_id" ON public.plugin_setting USING btree (org_id, plugin_id); + + +-- +-- TOC entry 3745 (class 1259 OID 20879) +-- Name: UQE_provenance_type_record_type_record_key_org_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_provenance_type_record_type_record_key_org_id" ON public.provenance_type USING btree (record_type, record_key, org_id); + + +-- +-- TOC entry 3799 (class 1259 OID 21047) +-- Name: UQE_query_history_star_user_id_query_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_query_history_star_user_id_query_uid" ON public.query_history_star USING btree (user_id, query_uid); + + +-- +-- TOC entry 3632 (class 1259 OID 20472) +-- Name: UQE_quota_org_id_user_id_target; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_quota_org_id_user_id_target" ON public.quota USING btree (org_id, user_id, target); + + +-- +-- TOC entry 3772 (class 1259 OID 20969) +-- Name: UQE_role_org_id_name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_role_org_id_name" ON public.role USING btree (org_id, name); + + +-- +-- TOC entry 3773 (class 1259 OID 21003) +-- Name: UQE_role_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_role_uid" ON public.role USING btree (uid); + + +-- +-- TOC entry 3792 (class 1259 OID 21121) +-- Name: UQE_seed_assignment_builtin_role_action_scope; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_seed_assignment_builtin_role_action_scope" ON public.seed_assignment USING btree (builtin_role, action, scope); + + +-- +-- TOC entry 3793 (class 1259 OID 21120) +-- Name: UQE_seed_assignment_builtin_role_role_name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_seed_assignment_builtin_role_role_name" ON public.seed_assignment USING btree (builtin_role, role_name); + + +-- +-- TOC entry 3711 (class 1259 OID 20716) +-- Name: UQE_server_lock_operation_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_server_lock_operation_uid" ON public.server_lock USING btree (operation_uid); + + +-- +-- TOC entry 3722 (class 1259 OID 20748) +-- Name: UQE_short_url_org_id_uid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_short_url_org_id_uid" ON public.short_url USING btree (org_id, uid); + + +-- +-- TOC entry 3589 (class 1259 OID 20290) +-- Name: UQE_star_user_id_dashboard_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_star_user_id_dashboard_id" ON public.star USING btree (user_id, dashboard_id); + + +-- +-- TOC entry 3701 (class 1259 OID 20679) +-- Name: UQE_tag_key_value; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_tag_key_value" ON public.tag USING btree (key, value); + + +-- +-- TOC entry 3689 (class 1259 OID 20655) +-- Name: UQE_team_member_org_id_team_id_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_team_member_org_id_team_id_user_id" ON public.team_member USING btree (org_id, team_id, user_id); + + +-- +-- TOC entry 3684 (class 1259 OID 20646) +-- Name: UQE_team_org_id_name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_team_org_id_name" ON public.team USING btree (org_id, name); + + +-- +-- TOC entry 3778 (class 1259 OID 20979) +-- Name: UQE_team_role_org_id_team_id_role_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_team_role_org_id_team_id_role_id" ON public.team_role USING btree (org_id, team_id, role_id); + + +-- +-- TOC entry 3715 (class 1259 OID 20726) +-- Name: UQE_user_auth_token_auth_token; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_user_auth_token_auth_token" ON public.user_auth_token USING btree (auth_token); + + +-- +-- TOC entry 3716 (class 1259 OID 20727) +-- Name: UQE_user_auth_token_prev_auth_token; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_user_auth_token_prev_auth_token" ON public.user_auth_token USING btree (prev_auth_token); + + +-- +-- TOC entry 3579 (class 1259 OID 20248) +-- Name: UQE_user_email; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_user_email" ON public."user" USING btree (email); + + +-- +-- TOC entry 3580 (class 1259 OID 20247) +-- Name: UQE_user_login; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_user_login" ON public."user" USING btree (login); + + +-- +-- TOC entry 3783 (class 1259 OID 20989) +-- Name: UQE_user_role_org_id_user_id_role_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "UQE_user_role_org_id_user_id_role_id" ON public.user_role USING btree (org_id, user_id, role_id); + + +-- Completed on 2024-05-15 16:02:53 + +-- +-- PostgreSQL database dump complete +-- + diff --git a/demo-docker/postgres_seed/metabaseappdb.sql b/demo-docker/postgres_seed/metabaseappdb.sql new file mode 100644 index 00000000..3b4127f6 --- /dev/null +++ b/demo-docker/postgres_seed/metabaseappdb.sql @@ -0,0 +1,8675 @@ +-- +-- PostgreSQL database dump +-- + +-- Dumped from database version 14.1 +-- Dumped by pg_dump version 14.1 + +SET statement_timeout = 0; +SET lock_timeout = 0; +SET idle_in_transaction_session_timeout = 0; +SET client_encoding = 'UTF8'; +SET standard_conforming_strings = on; +SELECT pg_catalog.set_config('search_path', '', false); +SET check_function_bodies = false; +SET xmloption = content; +SET client_min_messages = warning; +SET row_security = off; + +-- +-- Name: citext; Type: EXTENSION; Schema: -; Owner: - +-- + +CREATE EXTENSION IF NOT EXISTS citext WITH SCHEMA public; + + +-- +-- Name: EXTENSION citext; Type: COMMENT; Schema: -; Owner: +-- + +COMMENT ON EXTENSION citext IS 'data type for case-insensitive character strings'; + + +SET default_tablespace = ''; + +SET default_table_access_method = heap; + +-- +-- Name: action; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.action ( + id integer NOT NULL, + created_at timestamp with time zone DEFAULT now() NOT NULL, + updated_at timestamp with time zone DEFAULT now() NOT NULL, + type text NOT NULL, + model_id integer NOT NULL, + name character varying(254) NOT NULL, + description text, + parameters text, + parameter_mappings text, + visualization_settings text, + public_uuid character(36), + made_public_by_id integer, + creator_id integer, + archived boolean DEFAULT false NOT NULL, + entity_id character(21) +); + + +ALTER TABLE public.action OWNER TO postgres; + +-- +-- Name: TABLE action; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public.action IS 'An action is something you can do, such as run a readwrite query'; + + +-- +-- Name: COLUMN action.created_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.created_at IS 'The timestamp of when the action was created'; + + +-- +-- Name: COLUMN action.updated_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.updated_at IS 'The timestamp of when the action was updated'; + + +-- +-- Name: COLUMN action.type; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.type IS 'Type of action'; + + +-- +-- Name: COLUMN action.model_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.model_id IS 'The associated model'; + + +-- +-- Name: COLUMN action.name; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.name IS 'The name of the action'; + + +-- +-- Name: COLUMN action.description; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.description IS 'The description of the action'; + + +-- +-- Name: COLUMN action.parameters; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.parameters IS 'The saved parameters for this action'; + + +-- +-- Name: COLUMN action.parameter_mappings; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.parameter_mappings IS 'The saved parameter mappings for this action'; + + +-- +-- Name: COLUMN action.visualization_settings; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.visualization_settings IS 'The UI visualization_settings for this action'; + + +-- +-- Name: COLUMN action.public_uuid; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.public_uuid IS 'Unique UUID used to in publically-accessible links to this Action.'; + + +-- +-- Name: COLUMN action.made_public_by_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.made_public_by_id IS 'The ID of the User who first publically shared this Action.'; + + +-- +-- Name: COLUMN action.creator_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.creator_id IS 'The user who created the action'; + + +-- +-- Name: COLUMN action.archived; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.archived IS 'Whether or not the action has been archived'; + + +-- +-- Name: COLUMN action.entity_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.action.entity_id IS 'Random NanoID tag for unique identity.'; + + +-- +-- Name: action_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.action ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.action_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: activity; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.activity ( + id integer NOT NULL, + topic character varying(32) NOT NULL, + "timestamp" timestamp with time zone NOT NULL, + user_id integer, + model character varying(32), + model_id integer, + database_id integer, + table_id integer, + custom_id character varying(48), + details text NOT NULL +); + + +ALTER TABLE public.activity OWNER TO postgres; + +-- +-- Name: activity_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.activity ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.activity_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: api_key; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.api_key ( + id integer NOT NULL, + user_id integer NOT NULL, + key character varying(254) NOT NULL, + key_prefix character varying(7) NOT NULL, + creator_id integer NOT NULL, + created_at timestamp with time zone DEFAULT now() NOT NULL, + updated_at timestamp with time zone DEFAULT now() NOT NULL, + name character varying(254) NOT NULL, + updated_by_id integer NOT NULL +); + + +ALTER TABLE public.api_key OWNER TO postgres; + +-- +-- Name: TABLE api_key; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public.api_key IS 'An API Key'; + + +-- +-- Name: COLUMN api_key.id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.api_key.id IS 'The ID of the API Key itself'; + + +-- +-- Name: COLUMN api_key.user_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.api_key.user_id IS 'The ID of the user who this API Key acts as'; + + +-- +-- Name: COLUMN api_key.key; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.api_key.key IS 'The hashed API key'; + + +-- +-- Name: COLUMN api_key.key_prefix; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.api_key.key_prefix IS 'The first 7 characters of the unhashed key'; + + +-- +-- Name: COLUMN api_key.creator_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.api_key.creator_id IS 'The ID of the user that created this API key'; + + +-- +-- Name: COLUMN api_key.created_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.api_key.created_at IS 'The timestamp when the key was created'; + + +-- +-- Name: COLUMN api_key.updated_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.api_key.updated_at IS 'The timestamp when the key was last updated'; + + +-- +-- Name: COLUMN api_key.name; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.api_key.name IS 'The user-defined name of the API key.'; + + +-- +-- Name: COLUMN api_key.updated_by_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.api_key.updated_by_id IS 'The ID of the user that last updated this API key'; + + +-- +-- Name: api_key_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.api_key ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.api_key_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: application_permissions_revision; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.application_permissions_revision ( + id integer NOT NULL, + before text NOT NULL, + after text NOT NULL, + user_id integer NOT NULL, + created_at timestamp with time zone NOT NULL, + remark text +); + + +ALTER TABLE public.application_permissions_revision OWNER TO postgres; + +-- +-- Name: application_permissions_revision_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.application_permissions_revision ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.application_permissions_revision_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: audit_log; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.audit_log ( + id integer NOT NULL, + topic character varying(32) NOT NULL, + "timestamp" timestamp with time zone NOT NULL, + end_timestamp timestamp with time zone, + user_id integer, + model character varying(32), + model_id integer, + details text NOT NULL +); + + +ALTER TABLE public.audit_log OWNER TO postgres; + +-- +-- Name: TABLE audit_log; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public.audit_log IS 'Used to store application events for auditing use cases'; + + +-- +-- Name: COLUMN audit_log.topic; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.audit_log.topic IS 'The topic of a given audit event'; + + +-- +-- Name: COLUMN audit_log."timestamp"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.audit_log."timestamp" IS 'The time an event was recorded'; + + +-- +-- Name: COLUMN audit_log.end_timestamp; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.audit_log.end_timestamp IS 'The time an event ended, if applicable'; + + +-- +-- Name: COLUMN audit_log.user_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.audit_log.user_id IS 'The user who performed an action or triggered an event'; + + +-- +-- Name: COLUMN audit_log.model; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.audit_log.model IS 'The name of the model this event applies to (e.g. Card, Dashboard), if applicable'; + + +-- +-- Name: COLUMN audit_log.model_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.audit_log.model_id IS 'The ID of the model this event applies to, if applicable'; + + +-- +-- Name: COLUMN audit_log.details; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.audit_log.details IS 'A JSON map with metadata about the event'; + + +-- +-- Name: audit_log_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.audit_log ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.audit_log_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: bookmark_ordering; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.bookmark_ordering ( + id integer NOT NULL, + user_id integer NOT NULL, + type character varying(255) NOT NULL, + item_id integer NOT NULL, + ordering integer NOT NULL +); + + +ALTER TABLE public.bookmark_ordering OWNER TO postgres; + +-- +-- Name: bookmark_ordering_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.bookmark_ordering ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.bookmark_ordering_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: card_bookmark; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.card_bookmark ( + id integer NOT NULL, + user_id integer NOT NULL, + card_id integer NOT NULL, + created_at timestamp with time zone DEFAULT now() NOT NULL +); + + +ALTER TABLE public.card_bookmark OWNER TO postgres; + +-- +-- Name: card_bookmark_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.card_bookmark ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.card_bookmark_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: card_label; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.card_label ( + id integer NOT NULL, + card_id integer NOT NULL, + label_id integer NOT NULL +); + + +ALTER TABLE public.card_label OWNER TO postgres; + +-- +-- Name: card_label_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.card_label ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.card_label_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: collection; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.collection ( + id integer NOT NULL, + name text NOT NULL, + description text, + archived boolean DEFAULT false NOT NULL, + location character varying(254) DEFAULT '/'::character varying NOT NULL, + personal_owner_id integer, + slug character varying(510) NOT NULL, + namespace character varying(254), + authority_level character varying(255), + entity_id character(21), + created_at timestamp with time zone DEFAULT now() NOT NULL, + type character varying(256) +); + + +ALTER TABLE public.collection OWNER TO postgres; + +-- +-- Name: COLUMN collection.created_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.collection.created_at IS 'Timestamp of when this Collection was created.'; + + +-- +-- Name: COLUMN collection.type; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.collection.type IS 'This is used to differentiate instance-analytics collections from all other collections.'; + + +-- +-- Name: collection_bookmark; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.collection_bookmark ( + id integer NOT NULL, + user_id integer NOT NULL, + collection_id integer NOT NULL, + created_at timestamp with time zone DEFAULT now() NOT NULL +); + + +ALTER TABLE public.collection_bookmark OWNER TO postgres; + +-- +-- Name: collection_bookmark_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.collection_bookmark ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.collection_bookmark_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: collection_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.collection ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.collection_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: collection_permission_graph_revision; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.collection_permission_graph_revision ( + id integer NOT NULL, + before text NOT NULL, + after text NOT NULL, + user_id integer NOT NULL, + created_at timestamp with time zone NOT NULL, + remark text +); + + +ALTER TABLE public.collection_permission_graph_revision OWNER TO postgres; + +-- +-- Name: collection_permission_graph_revision_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.collection_permission_graph_revision ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.collection_permission_graph_revision_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: connection_impersonations; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.connection_impersonations ( + id integer NOT NULL, + db_id integer NOT NULL, + group_id integer NOT NULL, + attribute text +); + + +ALTER TABLE public.connection_impersonations OWNER TO postgres; + +-- +-- Name: TABLE connection_impersonations; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public.connection_impersonations IS 'Table for holding connection impersonation policies'; + + +-- +-- Name: COLUMN connection_impersonations.db_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.connection_impersonations.db_id IS 'ID of the database this connection impersonation policy affects'; + + +-- +-- Name: COLUMN connection_impersonations.group_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.connection_impersonations.group_id IS 'ID of the permissions group this connection impersonation policy affects'; + + +-- +-- Name: COLUMN connection_impersonations.attribute; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.connection_impersonations.attribute IS 'User attribute associated with the database role to use for this connection impersonation policy'; + + +-- +-- Name: connection_impersonations_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.connection_impersonations ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.connection_impersonations_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: core_session; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.core_session ( + id character varying(254) NOT NULL, + user_id integer NOT NULL, + created_at timestamp with time zone NOT NULL, + anti_csrf_token text +); + + +ALTER TABLE public.core_session OWNER TO postgres; + +-- +-- Name: core_user; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.core_user ( + id integer NOT NULL, + email public.citext NOT NULL, + first_name character varying(254), + last_name character varying(254), + password character varying(254), + password_salt character varying(254) DEFAULT 'default'::character varying, + date_joined timestamp with time zone NOT NULL, + last_login timestamp with time zone, + is_superuser boolean DEFAULT false NOT NULL, + is_active boolean DEFAULT true NOT NULL, + reset_token character varying(254), + reset_triggered bigint, + is_qbnewb boolean DEFAULT true NOT NULL, + login_attributes text, + updated_at timestamp with time zone, + sso_source character varying(254), + locale character varying(5), + is_datasetnewb boolean DEFAULT true NOT NULL, + settings text, + type character varying(64) DEFAULT 'personal'::character varying NOT NULL +); + + +ALTER TABLE public.core_user OWNER TO postgres; + +-- +-- Name: COLUMN core_user.type; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.core_user.type IS 'The type of user'; + + +-- +-- Name: core_user_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.core_user ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.core_user_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: dashboard_bookmark; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.dashboard_bookmark ( + id integer NOT NULL, + user_id integer NOT NULL, + dashboard_id integer NOT NULL, + created_at timestamp with time zone DEFAULT now() NOT NULL +); + + +ALTER TABLE public.dashboard_bookmark OWNER TO postgres; + +-- +-- Name: dashboard_bookmark_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.dashboard_bookmark ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.dashboard_bookmark_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: dashboard_favorite; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.dashboard_favorite ( + id integer NOT NULL, + user_id integer NOT NULL, + dashboard_id integer NOT NULL +); + + +ALTER TABLE public.dashboard_favorite OWNER TO postgres; + +-- +-- Name: dashboard_favorite_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.dashboard_favorite ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.dashboard_favorite_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: dashboard_tab; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.dashboard_tab ( + id integer NOT NULL, + dashboard_id integer NOT NULL, + name text NOT NULL, + "position" integer NOT NULL, + entity_id character(21), + created_at timestamp with time zone DEFAULT now() NOT NULL, + updated_at timestamp with time zone DEFAULT now() NOT NULL +); + + +ALTER TABLE public.dashboard_tab OWNER TO postgres; + +-- +-- Name: TABLE dashboard_tab; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public.dashboard_tab IS 'Join table connecting dashboard to dashboardcards'; + + +-- +-- Name: COLUMN dashboard_tab.dashboard_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.dashboard_tab.dashboard_id IS 'The dashboard that a tab is on'; + + +-- +-- Name: COLUMN dashboard_tab.name; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.dashboard_tab.name IS 'Displayed name of the tab'; + + +-- +-- Name: COLUMN dashboard_tab."position"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.dashboard_tab."position" IS 'Position of the tab with respect to others tabs in dashboard'; + + +-- +-- Name: COLUMN dashboard_tab.entity_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.dashboard_tab.entity_id IS 'Random NanoID tag for unique identity.'; + + +-- +-- Name: COLUMN dashboard_tab.created_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.dashboard_tab.created_at IS 'The timestamp at which the tab was created'; + + +-- +-- Name: COLUMN dashboard_tab.updated_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.dashboard_tab.updated_at IS 'The timestamp at which the tab was last updated'; + + +-- +-- Name: dashboard_tab_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.dashboard_tab ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.dashboard_tab_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: dashboardcard_series; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.dashboardcard_series ( + id integer NOT NULL, + dashboardcard_id integer NOT NULL, + card_id integer NOT NULL, + "position" integer NOT NULL +); + + +ALTER TABLE public.dashboardcard_series OWNER TO postgres; + +-- +-- Name: dashboardcard_series_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.dashboardcard_series ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.dashboardcard_series_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: databasechangelog; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.databasechangelog ( + id character varying(255) NOT NULL, + author character varying(255) NOT NULL, + filename character varying(255) NOT NULL, + dateexecuted timestamp without time zone NOT NULL, + orderexecuted integer NOT NULL, + exectype character varying(10) NOT NULL, + md5sum character varying(35), + description character varying(255), + comments character varying(255), + tag character varying(255), + liquibase character varying(20), + contexts character varying(255), + labels character varying(255), + deployment_id character varying(10) +); + + +ALTER TABLE public.databasechangelog OWNER TO postgres; + +-- +-- Name: databasechangeloglock; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.databasechangeloglock ( + id integer NOT NULL, + locked boolean NOT NULL, + lockgranted timestamp without time zone, + lockedby character varying(255) +); + + +ALTER TABLE public.databasechangeloglock OWNER TO postgres; + +-- +-- Name: dependency; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.dependency ( + id integer NOT NULL, + model character varying(32) NOT NULL, + model_id integer NOT NULL, + dependent_on_model character varying(32) NOT NULL, + dependent_on_id integer NOT NULL, + created_at timestamp with time zone NOT NULL +); + + +ALTER TABLE public.dependency OWNER TO postgres; + +-- +-- Name: dependency_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.dependency ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.dependency_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: dimension; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.dimension ( + id integer NOT NULL, + field_id integer NOT NULL, + name character varying(254) NOT NULL, + type character varying(254) NOT NULL, + human_readable_field_id integer, + created_at timestamp with time zone NOT NULL, + updated_at timestamp with time zone NOT NULL, + entity_id character(21) +); + + +ALTER TABLE public.dimension OWNER TO postgres; + +-- +-- Name: dimension_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.dimension ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.dimension_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: sandboxes; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.sandboxes ( + id integer NOT NULL, + group_id integer NOT NULL, + table_id integer NOT NULL, + card_id integer, + attribute_remappings text, + permission_id integer +); + + +ALTER TABLE public.sandboxes OWNER TO postgres; + +-- +-- Name: COLUMN sandboxes.permission_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.sandboxes.permission_id IS 'The ID of the corresponding permissions path for this sandbox'; + + +-- +-- Name: group_table_access_policy_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.sandboxes ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.group_table_access_policy_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: http_action; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.http_action ( + action_id integer NOT NULL, + template text NOT NULL, + response_handle text, + error_handle text +); + + +ALTER TABLE public.http_action OWNER TO postgres; + +-- +-- Name: TABLE http_action; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public.http_action IS 'An http api call type of action'; + + +-- +-- Name: COLUMN http_action.action_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.http_action.action_id IS 'The related action'; + + +-- +-- Name: COLUMN http_action.template; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.http_action.template IS 'A template that defines method,url,body,headers required to make an api call'; + + +-- +-- Name: COLUMN http_action.response_handle; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.http_action.response_handle IS 'A program to take an api response and transform to an appropriate response for emitters'; + + +-- +-- Name: COLUMN http_action.error_handle; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.http_action.error_handle IS 'A program to take an api response to determine if an error occurred'; + + +-- +-- Name: implicit_action; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.implicit_action ( + action_id integer NOT NULL, + kind text NOT NULL +); + + +ALTER TABLE public.implicit_action OWNER TO postgres; + +-- +-- Name: TABLE implicit_action; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public.implicit_action IS 'An action with dynamic parameters based on the underlying model'; + + +-- +-- Name: COLUMN implicit_action.action_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.implicit_action.action_id IS 'The associated action'; + + +-- +-- Name: COLUMN implicit_action.kind; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.implicit_action.kind IS 'The kind of implicit action create/update/delete'; + + +-- +-- Name: label; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.label ( + id integer NOT NULL, + name character varying(254) NOT NULL, + slug character varying(254) NOT NULL, + icon character varying(128) +); + + +ALTER TABLE public.label OWNER TO postgres; + +-- +-- Name: label_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.label ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.label_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: login_history; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.login_history ( + id integer NOT NULL, + "timestamp" timestamp with time zone DEFAULT now() NOT NULL, + user_id integer NOT NULL, + session_id character varying(254), + device_id character(36) NOT NULL, + device_description text NOT NULL, + ip_address text NOT NULL +); + + +ALTER TABLE public.login_history OWNER TO postgres; + +-- +-- Name: login_history_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.login_history ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.login_history_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: metabase_database; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.metabase_database ( + id integer NOT NULL, + created_at timestamp with time zone DEFAULT now() NOT NULL, + updated_at timestamp with time zone DEFAULT now() NOT NULL, + name character varying(254) NOT NULL, + description text, + details text NOT NULL, + engine character varying(254) NOT NULL, + is_sample boolean DEFAULT false NOT NULL, + is_full_sync boolean DEFAULT true NOT NULL, + points_of_interest text, + caveats text, + metadata_sync_schedule character varying(254) DEFAULT '0 50 * * * ? *'::character varying NOT NULL, + cache_field_values_schedule character varying(254) DEFAULT NULL::character varying, + timezone character varying(254), + is_on_demand boolean DEFAULT false NOT NULL, + auto_run_queries boolean DEFAULT true NOT NULL, + refingerprint boolean, + cache_ttl integer, + initial_sync_status character varying(32) DEFAULT 'complete'::character varying NOT NULL, + creator_id integer, + settings text, + dbms_version text, + is_audit boolean DEFAULT false NOT NULL +); + + +ALTER TABLE public.metabase_database OWNER TO postgres; + +-- +-- Name: COLUMN metabase_database.dbms_version; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.metabase_database.dbms_version IS 'A JSON object describing the flavor and version of the DBMS.'; + + +-- +-- Name: COLUMN metabase_database.is_audit; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.metabase_database.is_audit IS 'Only the app db, visible to admins via auditing should have this set true.'; + + +-- +-- Name: metabase_database_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.metabase_database ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.metabase_database_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: metabase_field; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.metabase_field ( + id integer NOT NULL, + created_at timestamp with time zone NOT NULL, + updated_at timestamp with time zone NOT NULL, + name character varying(254) NOT NULL, + base_type character varying(255) NOT NULL, + semantic_type character varying(255), + active boolean DEFAULT true NOT NULL, + description text, + preview_display boolean DEFAULT true NOT NULL, + "position" integer DEFAULT 0 NOT NULL, + table_id integer NOT NULL, + parent_id integer, + display_name character varying(254), + visibility_type character varying(32) DEFAULT 'normal'::character varying NOT NULL, + fk_target_field_id integer, + last_analyzed timestamp with time zone, + points_of_interest text, + caveats text, + fingerprint text, + fingerprint_version integer DEFAULT 0 NOT NULL, + database_type text NOT NULL, + has_field_values text, + settings text, + database_position integer DEFAULT 0 NOT NULL, + custom_position integer DEFAULT 0 NOT NULL, + effective_type character varying(255), + coercion_strategy character varying(255), + nfc_path character varying(254), + database_required boolean DEFAULT false NOT NULL, + json_unfolding boolean DEFAULT false NOT NULL, + database_is_auto_increment boolean DEFAULT false NOT NULL, + database_indexed boolean, + database_partitioned boolean +); + + +ALTER TABLE public.metabase_field OWNER TO postgres; + +-- +-- Name: COLUMN metabase_field.json_unfolding; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.metabase_field.json_unfolding IS 'Enable/disable JSON unfolding for a field'; + + +-- +-- Name: COLUMN metabase_field.database_is_auto_increment; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.metabase_field.database_is_auto_increment IS 'Indicates this field is auto incremented'; + + +-- +-- Name: COLUMN metabase_field.database_indexed; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.metabase_field.database_indexed IS 'If the database supports indexing, this column indicate whether or not a field is indexed, or is the 1st column in a composite index'; + + +-- +-- Name: COLUMN metabase_field.database_partitioned; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.metabase_field.database_partitioned IS 'Whether the table is partitioned by this field'; + + +-- +-- Name: metabase_field_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.metabase_field ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.metabase_field_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: metabase_fieldvalues; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.metabase_fieldvalues ( + id integer NOT NULL, + created_at timestamp with time zone NOT NULL, + updated_at timestamp with time zone NOT NULL, + "values" text, + human_readable_values text, + field_id integer NOT NULL, + has_more_values boolean DEFAULT false, + type character varying(32) DEFAULT 'full'::character varying NOT NULL, + hash_key text, + last_used_at timestamp with time zone DEFAULT now() NOT NULL +); + + +ALTER TABLE public.metabase_fieldvalues OWNER TO postgres; + +-- +-- Name: COLUMN metabase_fieldvalues.last_used_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.metabase_fieldvalues.last_used_at IS 'Timestamp of when these FieldValues were last used.'; + + +-- +-- Name: metabase_fieldvalues_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.metabase_fieldvalues ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.metabase_fieldvalues_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: metabase_table; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.metabase_table ( + id integer NOT NULL, + created_at timestamp with time zone NOT NULL, + updated_at timestamp with time zone NOT NULL, + name character varying(256) NOT NULL, + description text, + entity_type character varying(254), + active boolean NOT NULL, + db_id integer NOT NULL, + display_name character varying(256), + visibility_type character varying(254), + schema character varying(254), + points_of_interest text, + caveats text, + show_in_getting_started boolean DEFAULT false NOT NULL, + field_order character varying(254) DEFAULT 'database'::character varying NOT NULL, + initial_sync_status character varying(32) DEFAULT 'complete'::character varying NOT NULL, + is_upload boolean DEFAULT false NOT NULL, + database_require_filter boolean +); + + +ALTER TABLE public.metabase_table OWNER TO postgres; + +-- +-- Name: COLUMN metabase_table.is_upload; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.metabase_table.is_upload IS 'Was the table created from user-uploaded (i.e., from a CSV) data?'; + + +-- +-- Name: COLUMN metabase_table.database_require_filter; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.metabase_table.database_require_filter IS 'If true, the table requires a filter to be able to query it'; + + +-- +-- Name: metabase_table_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.metabase_table ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.metabase_table_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: metric; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.metric ( + id integer NOT NULL, + table_id integer NOT NULL, + creator_id integer NOT NULL, + name character varying(254) NOT NULL, + description text, + archived boolean DEFAULT false NOT NULL, + definition text NOT NULL, + created_at timestamp with time zone NOT NULL, + updated_at timestamp with time zone NOT NULL, + points_of_interest text, + caveats text, + how_is_this_calculated text, + show_in_getting_started boolean DEFAULT false NOT NULL, + entity_id character(21) +); + + +ALTER TABLE public.metric OWNER TO postgres; + +-- +-- Name: metric_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.metric ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.metric_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: metric_important_field; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.metric_important_field ( + id integer NOT NULL, + metric_id integer NOT NULL, + field_id integer NOT NULL +); + + +ALTER TABLE public.metric_important_field OWNER TO postgres; + +-- +-- Name: metric_important_field_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.metric_important_field ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.metric_important_field_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: model_index; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.model_index ( + id integer NOT NULL, + model_id integer, + pk_ref text NOT NULL, + value_ref text NOT NULL, + schedule text NOT NULL, + state text NOT NULL, + indexed_at timestamp with time zone, + error text, + created_at timestamp with time zone DEFAULT now() NOT NULL, + creator_id integer NOT NULL +); + + +ALTER TABLE public.model_index OWNER TO postgres; + +-- +-- Name: TABLE model_index; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public.model_index IS 'Used to keep track of which models have indexed columns.'; + + +-- +-- Name: COLUMN model_index.model_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.model_index.model_id IS 'The ID of the indexed model.'; + + +-- +-- Name: COLUMN model_index.pk_ref; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.model_index.pk_ref IS 'Serialized JSON of the primary key field ref.'; + + +-- +-- Name: COLUMN model_index.value_ref; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.model_index.value_ref IS 'Serialized JSON of the label field ref.'; + + +-- +-- Name: COLUMN model_index.schedule; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.model_index.schedule IS 'The cron schedule for when value syncing should happen.'; + + +-- +-- Name: COLUMN model_index.state; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.model_index.state IS 'The status of the index: initializing, indexed, error, overflow.'; + + +-- +-- Name: COLUMN model_index.indexed_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.model_index.indexed_at IS 'When the status changed'; + + +-- +-- Name: COLUMN model_index.error; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.model_index.error IS 'The error message if the status is error.'; + + +-- +-- Name: COLUMN model_index.created_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.model_index.created_at IS 'The timestamp of when these changes were made.'; + + +-- +-- Name: COLUMN model_index.creator_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.model_index.creator_id IS 'ID of the user who created the event'; + + +-- +-- Name: model_index_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.model_index ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.model_index_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: model_index_value; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.model_index_value ( + model_index_id integer, + model_pk integer NOT NULL, + name text NOT NULL +); + + +ALTER TABLE public.model_index_value OWNER TO postgres; + +-- +-- Name: TABLE model_index_value; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public.model_index_value IS 'Used to keep track of the values indexed in a model'; + + +-- +-- Name: COLUMN model_index_value.model_index_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.model_index_value.model_index_id IS 'The ID of the indexed model.'; + + +-- +-- Name: COLUMN model_index_value.model_pk; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.model_index_value.model_pk IS 'The primary key of the indexed value'; + + +-- +-- Name: COLUMN model_index_value.name; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.model_index_value.name IS 'The label to display identifying the indexed value.'; + + +-- +-- Name: moderation_review; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.moderation_review ( + id integer NOT NULL, + updated_at timestamp with time zone DEFAULT now() NOT NULL, + created_at timestamp with time zone DEFAULT now() NOT NULL, + status character varying(255), + text text, + moderated_item_id integer NOT NULL, + moderated_item_type character varying(255) NOT NULL, + moderator_id integer NOT NULL, + most_recent boolean NOT NULL +); + + +ALTER TABLE public.moderation_review OWNER TO postgres; + +-- +-- Name: moderation_review_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.moderation_review ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.moderation_review_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: native_query_snippet; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.native_query_snippet ( + id integer NOT NULL, + name character varying(254) NOT NULL, + description text, + content text NOT NULL, + creator_id integer NOT NULL, + archived boolean DEFAULT false NOT NULL, + created_at timestamp with time zone DEFAULT now() NOT NULL, + updated_at timestamp with time zone DEFAULT now() NOT NULL, + collection_id integer, + entity_id character(21) +); + + +ALTER TABLE public.native_query_snippet OWNER TO postgres; + +-- +-- Name: native_query_snippet_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.native_query_snippet ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.native_query_snippet_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: parameter_card; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.parameter_card ( + id integer NOT NULL, + updated_at timestamp with time zone DEFAULT now() NOT NULL, + created_at timestamp with time zone DEFAULT now() NOT NULL, + card_id integer NOT NULL, + parameterized_object_type character varying(32) NOT NULL, + parameterized_object_id integer NOT NULL, + parameter_id character varying(36) NOT NULL +); + + +ALTER TABLE public.parameter_card OWNER TO postgres; + +-- +-- Name: TABLE parameter_card; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public.parameter_card IS 'Join table connecting cards to entities (dashboards, other cards, etc.) that use the values generated by the card for filter values'; + + +-- +-- Name: COLUMN parameter_card.updated_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.parameter_card.updated_at IS 'most recent modification time'; + + +-- +-- Name: COLUMN parameter_card.created_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.parameter_card.created_at IS 'creation time'; + + +-- +-- Name: COLUMN parameter_card.card_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.parameter_card.card_id IS 'ID of the card generating the values'; + + +-- +-- Name: COLUMN parameter_card.parameterized_object_type; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.parameter_card.parameterized_object_type IS 'Type of the entity consuming the values (dashboard, card, etc.)'; + + +-- +-- Name: COLUMN parameter_card.parameterized_object_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.parameter_card.parameterized_object_id IS 'ID of the entity consuming the values'; + + +-- +-- Name: COLUMN parameter_card.parameter_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.parameter_card.parameter_id IS 'The parameter ID'; + + +-- +-- Name: parameter_card_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.parameter_card ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.parameter_card_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: permissions; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.permissions ( + id integer NOT NULL, + object character varying(254) NOT NULL, + group_id integer NOT NULL +); + + +ALTER TABLE public.permissions OWNER TO postgres; + +-- +-- Name: permissions_group; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.permissions_group ( + id integer NOT NULL, + name character varying(255) NOT NULL +); + + +ALTER TABLE public.permissions_group OWNER TO postgres; + +-- +-- Name: permissions_group_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.permissions_group ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.permissions_group_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: permissions_group_membership; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.permissions_group_membership ( + id integer NOT NULL, + user_id integer NOT NULL, + group_id integer NOT NULL, + is_group_manager boolean DEFAULT false NOT NULL +); + + +ALTER TABLE public.permissions_group_membership OWNER TO postgres; + +-- +-- Name: permissions_group_membership_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.permissions_group_membership ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.permissions_group_membership_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: permissions_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.permissions ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.permissions_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: permissions_revision; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.permissions_revision ( + id integer NOT NULL, + before text NOT NULL, + after text NOT NULL, + user_id integer NOT NULL, + created_at timestamp with time zone NOT NULL, + remark text +); + + +ALTER TABLE public.permissions_revision OWNER TO postgres; + +-- +-- Name: permissions_revision_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.permissions_revision ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.permissions_revision_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: persisted_info; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.persisted_info ( + id integer NOT NULL, + database_id integer NOT NULL, + card_id integer NOT NULL, + question_slug text NOT NULL, + table_name text NOT NULL, + definition text, + query_hash text, + active boolean DEFAULT false NOT NULL, + state text NOT NULL, + refresh_begin timestamp with time zone NOT NULL, + refresh_end timestamp with time zone, + state_change_at timestamp with time zone, + error text, + created_at timestamp with time zone DEFAULT now() NOT NULL, + creator_id integer +); + + +ALTER TABLE public.persisted_info OWNER TO postgres; + +-- +-- Name: persisted_info_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.persisted_info ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.persisted_info_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: pulse; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.pulse ( + id integer NOT NULL, + creator_id integer NOT NULL, + name character varying(254), + created_at timestamp with time zone NOT NULL, + updated_at timestamp with time zone NOT NULL, + skip_if_empty boolean DEFAULT false NOT NULL, + alert_condition character varying(254), + alert_first_only boolean, + alert_above_goal boolean, + collection_id integer, + collection_position smallint, + archived boolean DEFAULT false, + dashboard_id integer, + parameters text NOT NULL, + entity_id character(21) +); + + +ALTER TABLE public.pulse OWNER TO postgres; + +-- +-- Name: pulse_card; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.pulse_card ( + id integer NOT NULL, + pulse_id integer NOT NULL, + card_id integer NOT NULL, + "position" integer NOT NULL, + include_csv boolean DEFAULT false NOT NULL, + include_xls boolean DEFAULT false NOT NULL, + dashboard_card_id integer, + entity_id character(21), + format_rows boolean DEFAULT true +); + + +ALTER TABLE public.pulse_card OWNER TO postgres; + +-- +-- Name: COLUMN pulse_card.format_rows; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.pulse_card.format_rows IS 'Whether or not to apply formatting to the rows of the export'; + + +-- +-- Name: pulse_card_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.pulse_card ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.pulse_card_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: pulse_channel; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.pulse_channel ( + id integer NOT NULL, + pulse_id integer NOT NULL, + channel_type character varying(32) NOT NULL, + details text NOT NULL, + schedule_type character varying(32) NOT NULL, + schedule_hour integer, + schedule_day character varying(64), + created_at timestamp with time zone NOT NULL, + updated_at timestamp with time zone NOT NULL, + schedule_frame character varying(32), + enabled boolean DEFAULT true NOT NULL, + entity_id character(21) +); + + +ALTER TABLE public.pulse_channel OWNER TO postgres; + +-- +-- Name: pulse_channel_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.pulse_channel ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.pulse_channel_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: pulse_channel_recipient; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.pulse_channel_recipient ( + id integer NOT NULL, + pulse_channel_id integer NOT NULL, + user_id integer NOT NULL +); + + +ALTER TABLE public.pulse_channel_recipient OWNER TO postgres; + +-- +-- Name: pulse_channel_recipient_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.pulse_channel_recipient ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.pulse_channel_recipient_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: pulse_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.pulse ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.pulse_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: qrtz_blob_triggers; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.qrtz_blob_triggers ( + sched_name character varying(120) NOT NULL, + trigger_name character varying(200) NOT NULL, + trigger_group character varying(200) NOT NULL, + blob_data bytea +); + + +ALTER TABLE public.qrtz_blob_triggers OWNER TO postgres; + +-- +-- Name: qrtz_calendars; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.qrtz_calendars ( + sched_name character varying(120) NOT NULL, + calendar_name character varying(200) NOT NULL, + calendar bytea NOT NULL +); + + +ALTER TABLE public.qrtz_calendars OWNER TO postgres; + +-- +-- Name: qrtz_cron_triggers; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.qrtz_cron_triggers ( + sched_name character varying(120) NOT NULL, + trigger_name character varying(200) NOT NULL, + trigger_group character varying(200) NOT NULL, + cron_expression character varying(120) NOT NULL, + time_zone_id character varying(80) +); + + +ALTER TABLE public.qrtz_cron_triggers OWNER TO postgres; + +-- +-- Name: qrtz_fired_triggers; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.qrtz_fired_triggers ( + sched_name character varying(120) NOT NULL, + entry_id character varying(95) NOT NULL, + trigger_name character varying(200) NOT NULL, + trigger_group character varying(200) NOT NULL, + instance_name character varying(200) NOT NULL, + fired_time bigint NOT NULL, + sched_time bigint, + priority integer NOT NULL, + state character varying(16) NOT NULL, + job_name character varying(200), + job_group character varying(200), + is_nonconcurrent boolean, + requests_recovery boolean +); + + +ALTER TABLE public.qrtz_fired_triggers OWNER TO postgres; + +-- +-- Name: qrtz_job_details; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.qrtz_job_details ( + sched_name character varying(120) NOT NULL, + job_name character varying(200) NOT NULL, + job_group character varying(200) NOT NULL, + description character varying(250), + job_class_name character varying(250) NOT NULL, + is_durable boolean NOT NULL, + is_nonconcurrent boolean NOT NULL, + is_update_data boolean NOT NULL, + requests_recovery boolean NOT NULL, + job_data bytea +); + + +ALTER TABLE public.qrtz_job_details OWNER TO postgres; + +-- +-- Name: qrtz_locks; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.qrtz_locks ( + sched_name character varying(120) NOT NULL, + lock_name character varying(40) NOT NULL +); + + +ALTER TABLE public.qrtz_locks OWNER TO postgres; + +-- +-- Name: qrtz_paused_trigger_grps; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.qrtz_paused_trigger_grps ( + sched_name character varying(120) NOT NULL, + trigger_group character varying(200) NOT NULL +); + + +ALTER TABLE public.qrtz_paused_trigger_grps OWNER TO postgres; + +-- +-- Name: qrtz_scheduler_state; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.qrtz_scheduler_state ( + sched_name character varying(120) NOT NULL, + instance_name character varying(200) NOT NULL, + last_checkin_time bigint NOT NULL, + checkin_interval bigint NOT NULL +); + + +ALTER TABLE public.qrtz_scheduler_state OWNER TO postgres; + +-- +-- Name: qrtz_simple_triggers; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.qrtz_simple_triggers ( + sched_name character varying(120) NOT NULL, + trigger_name character varying(200) NOT NULL, + trigger_group character varying(200) NOT NULL, + repeat_count bigint NOT NULL, + repeat_interval bigint NOT NULL, + times_triggered bigint NOT NULL +); + + +ALTER TABLE public.qrtz_simple_triggers OWNER TO postgres; + +-- +-- Name: qrtz_simprop_triggers; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.qrtz_simprop_triggers ( + sched_name character varying(120) NOT NULL, + trigger_name character varying(200) NOT NULL, + trigger_group character varying(200) NOT NULL, + str_prop_1 character varying(512), + str_prop_2 character varying(512), + str_prop_3 character varying(512), + int_prop_1 integer, + int_prop_2 integer, + long_prop_1 bigint, + long_prop_2 bigint, + dec_prop_1 numeric(13,4), + dec_prop_2 numeric(13,4), + bool_prop_1 boolean, + bool_prop_2 boolean +); + + +ALTER TABLE public.qrtz_simprop_triggers OWNER TO postgres; + +-- +-- Name: qrtz_triggers; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.qrtz_triggers ( + sched_name character varying(120) NOT NULL, + trigger_name character varying(200) NOT NULL, + trigger_group character varying(200) NOT NULL, + job_name character varying(200) NOT NULL, + job_group character varying(200) NOT NULL, + description character varying(250), + next_fire_time bigint, + prev_fire_time bigint, + priority integer, + trigger_state character varying(16) NOT NULL, + trigger_type character varying(8) NOT NULL, + start_time bigint NOT NULL, + end_time bigint, + calendar_name character varying(200), + misfire_instr smallint, + job_data bytea +); + + +ALTER TABLE public.qrtz_triggers OWNER TO postgres; + +-- +-- Name: query; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.query ( + query_hash bytea NOT NULL, + average_execution_time integer NOT NULL, + query text +); + + +ALTER TABLE public.query OWNER TO postgres; + +-- +-- Name: query_action; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.query_action ( + action_id integer NOT NULL, + database_id integer NOT NULL, + dataset_query text NOT NULL +); + + +ALTER TABLE public.query_action OWNER TO postgres; + +-- +-- Name: TABLE query_action; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public.query_action IS 'A readwrite query type of action'; + + +-- +-- Name: COLUMN query_action.action_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.query_action.action_id IS 'The related action'; + + +-- +-- Name: COLUMN query_action.database_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.query_action.database_id IS 'The associated database'; + + +-- +-- Name: COLUMN query_action.dataset_query; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.query_action.dataset_query IS 'The MBQL writeback query'; + + +-- +-- Name: query_cache; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.query_cache ( + query_hash bytea NOT NULL, + updated_at timestamp with time zone NOT NULL, + results bytea NOT NULL +); + + +ALTER TABLE public.query_cache OWNER TO postgres; + +-- +-- Name: query_execution; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.query_execution ( + id integer NOT NULL, + hash bytea NOT NULL, + started_at timestamp with time zone NOT NULL, + running_time integer NOT NULL, + result_rows integer NOT NULL, + native boolean NOT NULL, + context character varying(32), + error text, + executor_id integer, + card_id integer, + dashboard_id integer, + pulse_id integer, + database_id integer, + cache_hit boolean, + action_id integer, + is_sandboxed boolean, + cache_hash bytea +); + + +ALTER TABLE public.query_execution OWNER TO postgres; + +-- +-- Name: COLUMN query_execution.action_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.query_execution.action_id IS 'The ID of the action associated with this query execution, if any.'; + + +-- +-- Name: COLUMN query_execution.is_sandboxed; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.query_execution.is_sandboxed IS 'Is query from a sandboxed user'; + + +-- +-- Name: COLUMN query_execution.cache_hash; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.query_execution.cache_hash IS 'Hash of normalized query, calculated in middleware.cache'; + + +-- +-- Name: query_execution_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.query_execution ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.query_execution_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: recent_views; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.recent_views ( + id integer NOT NULL, + user_id integer NOT NULL, + model character varying(16) NOT NULL, + model_id integer NOT NULL, + "timestamp" timestamp with time zone NOT NULL +); + + +ALTER TABLE public.recent_views OWNER TO postgres; + +-- +-- Name: TABLE recent_views; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public.recent_views IS 'Used to store recently viewed objects for each user'; + + +-- +-- Name: COLUMN recent_views.user_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.recent_views.user_id IS 'The user associated with this view'; + + +-- +-- Name: COLUMN recent_views.model; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.recent_views.model IS 'The name of the model that was viewed'; + + +-- +-- Name: COLUMN recent_views.model_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.recent_views.model_id IS 'The ID of the model that was viewed'; + + +-- +-- Name: COLUMN recent_views."timestamp"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.recent_views."timestamp" IS 'The time a view was recorded'; + + +-- +-- Name: recent_views_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.recent_views ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.recent_views_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: report_card; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.report_card ( + id integer NOT NULL, + created_at timestamp with time zone NOT NULL, + updated_at timestamp with time zone NOT NULL, + name character varying(254) NOT NULL, + description text, + display character varying(254) NOT NULL, + dataset_query text NOT NULL, + visualization_settings text NOT NULL, + creator_id integer NOT NULL, + database_id integer NOT NULL, + table_id integer, + query_type character varying(16), + archived boolean DEFAULT false NOT NULL, + collection_id integer, + public_uuid character(36), + made_public_by_id integer, + enable_embedding boolean DEFAULT false NOT NULL, + embedding_params text, + cache_ttl integer, + result_metadata text, + collection_position smallint, + dataset boolean DEFAULT false NOT NULL, + entity_id character(21), + parameters text, + parameter_mappings text, + collection_preview boolean DEFAULT true NOT NULL, + metabase_version character varying(100), + type character varying(16) DEFAULT 'question'::character varying NOT NULL, + initially_published_at timestamp with time zone +); + + +ALTER TABLE public.report_card OWNER TO postgres; + +-- +-- Name: COLUMN report_card.metabase_version; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.report_card.metabase_version IS 'Metabase version used to create the card.'; + + +-- +-- Name: COLUMN report_card.type; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.report_card.type IS 'The type of card, could be ''question'', ''model'', ''metric'''; + + +-- +-- Name: COLUMN report_card.initially_published_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.report_card.initially_published_at IS 'The timestamp when the card was first published in a static embed'; + + +-- +-- Name: report_card_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.report_card ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.report_card_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: report_cardfavorite; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.report_cardfavorite ( + id integer NOT NULL, + created_at timestamp with time zone NOT NULL, + updated_at timestamp with time zone NOT NULL, + card_id integer NOT NULL, + owner_id integer NOT NULL +); + + +ALTER TABLE public.report_cardfavorite OWNER TO postgres; + +-- +-- Name: report_cardfavorite_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.report_cardfavorite ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.report_cardfavorite_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: report_dashboard; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.report_dashboard ( + id integer NOT NULL, + created_at timestamp with time zone NOT NULL, + updated_at timestamp with time zone NOT NULL, + name character varying(254) NOT NULL, + description text, + creator_id integer NOT NULL, + parameters text NOT NULL, + points_of_interest text, + caveats text, + show_in_getting_started boolean DEFAULT false NOT NULL, + public_uuid character(36), + made_public_by_id integer, + enable_embedding boolean DEFAULT false NOT NULL, + embedding_params text, + archived boolean DEFAULT false NOT NULL, + "position" integer, + collection_id integer, + collection_position smallint, + cache_ttl integer, + entity_id character(21), + auto_apply_filters boolean DEFAULT true NOT NULL, + width character varying(16) DEFAULT 'fixed'::character varying NOT NULL, + initially_published_at timestamp with time zone +); + + +ALTER TABLE public.report_dashboard OWNER TO postgres; + +-- +-- Name: COLUMN report_dashboard.auto_apply_filters; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.report_dashboard.auto_apply_filters IS 'Whether or not to auto-apply filters on a dashboard'; + + +-- +-- Name: COLUMN report_dashboard.width; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.report_dashboard.width IS 'The value of the dashboard''s width setting can be fixed or full. New dashboards will be set to fixed'; + + +-- +-- Name: COLUMN report_dashboard.initially_published_at; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.report_dashboard.initially_published_at IS 'The timestamp when the dashboard was first published in a static embed'; + + +-- +-- Name: report_dashboard_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.report_dashboard ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.report_dashboard_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: report_dashboardcard; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.report_dashboardcard ( + id integer NOT NULL, + created_at timestamp with time zone DEFAULT now() NOT NULL, + updated_at timestamp with time zone DEFAULT now() NOT NULL, + size_x integer NOT NULL, + size_y integer NOT NULL, + "row" integer NOT NULL, + col integer NOT NULL, + card_id integer, + dashboard_id integer NOT NULL, + parameter_mappings text NOT NULL, + visualization_settings text NOT NULL, + entity_id character(21), + action_id integer, + dashboard_tab_id integer +); + + +ALTER TABLE public.report_dashboardcard OWNER TO postgres; + +-- +-- Name: COLUMN report_dashboardcard.action_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.report_dashboardcard.action_id IS 'The related action'; + + +-- +-- Name: COLUMN report_dashboardcard.dashboard_tab_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.report_dashboardcard.dashboard_tab_id IS 'The referenced tab id that dashcard is on, it''s nullable for dashboard with no tab'; + + +-- +-- Name: report_dashboardcard_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.report_dashboardcard ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.report_dashboardcard_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: revision; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.revision ( + id integer NOT NULL, + model character varying(16) NOT NULL, + model_id integer NOT NULL, + user_id integer NOT NULL, + "timestamp" timestamp with time zone NOT NULL, + object text NOT NULL, + is_reversion boolean DEFAULT false NOT NULL, + is_creation boolean DEFAULT false NOT NULL, + message text, + most_recent boolean DEFAULT false NOT NULL, + metabase_version character varying(100) +); + + +ALTER TABLE public.revision OWNER TO postgres; + +-- +-- Name: COLUMN revision.most_recent; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.revision.most_recent IS 'Whether a revision is the most recent one'; + + +-- +-- Name: COLUMN revision.metabase_version; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.revision.metabase_version IS 'Metabase version used to create the revision.'; + + +-- +-- Name: revision_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.revision ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.revision_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: secret; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.secret ( + id integer NOT NULL, + version integer DEFAULT 1 NOT NULL, + creator_id integer, + created_at timestamp with time zone NOT NULL, + updated_at timestamp with time zone, + name character varying(254) NOT NULL, + kind character varying(254) NOT NULL, + source character varying(254), + value bytea NOT NULL +); + + +ALTER TABLE public.secret OWNER TO postgres; + +-- +-- Name: secret_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.secret ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.secret_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: segment; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.segment ( + id integer NOT NULL, + table_id integer NOT NULL, + creator_id integer NOT NULL, + name character varying(254) NOT NULL, + description text, + archived boolean DEFAULT false NOT NULL, + definition text NOT NULL, + created_at timestamp with time zone NOT NULL, + updated_at timestamp with time zone NOT NULL, + points_of_interest text, + caveats text, + show_in_getting_started boolean DEFAULT false NOT NULL, + entity_id character(21) +); + + +ALTER TABLE public.segment OWNER TO postgres; + +-- +-- Name: segment_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.segment ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.segment_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: setting; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.setting ( + key character varying(254) NOT NULL, + value text NOT NULL +); + + +ALTER TABLE public.setting OWNER TO postgres; + +-- +-- Name: table_privileges; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.table_privileges ( + table_id integer NOT NULL, + role character varying(255), + "select" boolean DEFAULT false NOT NULL, + update boolean DEFAULT false NOT NULL, + insert boolean DEFAULT false NOT NULL, + delete boolean DEFAULT false NOT NULL +); + + +ALTER TABLE public.table_privileges OWNER TO postgres; + +-- +-- Name: TABLE table_privileges; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public.table_privileges IS 'Table for user and role privileges by table'; + + +-- +-- Name: COLUMN table_privileges.table_id; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.table_privileges.table_id IS 'Table ID'; + + +-- +-- Name: COLUMN table_privileges.role; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.table_privileges.role IS 'Role name. NULL indicates the privileges are the current user''s'; + + +-- +-- Name: COLUMN table_privileges."select"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.table_privileges."select" IS 'Privilege to select from the table'; + + +-- +-- Name: COLUMN table_privileges.update; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.table_privileges.update IS 'Privilege to update records in the table'; + + +-- +-- Name: COLUMN table_privileges.insert; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.table_privileges.insert IS 'Privilege to insert records into the table'; + + +-- +-- Name: COLUMN table_privileges.delete; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.table_privileges.delete IS 'Privilege to delete records from the table'; + + +-- +-- Name: task_history; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.task_history ( + id integer NOT NULL, + task character varying(254) NOT NULL, + db_id integer, + started_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP NOT NULL, + ended_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP NOT NULL, + duration integer NOT NULL, + task_details text +); + + +ALTER TABLE public.task_history OWNER TO postgres; + +-- +-- Name: task_history_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.task_history ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.task_history_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: timeline; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.timeline ( + id integer NOT NULL, + name character varying(255) NOT NULL, + description character varying(255), + icon character varying(128) NOT NULL, + collection_id integer, + archived boolean DEFAULT false NOT NULL, + creator_id integer NOT NULL, + created_at timestamp with time zone DEFAULT now() NOT NULL, + updated_at timestamp with time zone DEFAULT now() NOT NULL, + "default" boolean DEFAULT false NOT NULL, + entity_id character(21) +); + + +ALTER TABLE public.timeline OWNER TO postgres; + +-- +-- Name: timeline_event; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.timeline_event ( + id integer NOT NULL, + timeline_id integer NOT NULL, + name character varying(255) NOT NULL, + description character varying(255), + "timestamp" timestamp with time zone NOT NULL, + time_matters boolean NOT NULL, + timezone character varying(255) NOT NULL, + icon character varying(128) NOT NULL, + archived boolean DEFAULT false NOT NULL, + creator_id integer NOT NULL, + created_at timestamp with time zone DEFAULT now() NOT NULL, + updated_at timestamp with time zone DEFAULT now() NOT NULL +); + + +ALTER TABLE public.timeline_event OWNER TO postgres; + +-- +-- Name: timeline_event_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.timeline_event ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.timeline_event_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: timeline_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.timeline ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.timeline_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Name: v_alerts; Type: VIEW; Schema: public; Owner: postgres +-- + +CREATE VIEW public.v_alerts AS + WITH agg_recipients AS ( + SELECT pulse_channel_recipient.pulse_channel_id, + string_agg((core_user.email)::text, ','::text) AS recipients + FROM (public.pulse_channel_recipient + LEFT JOIN public.core_user ON ((pulse_channel_recipient.user_id = core_user.id))) + GROUP BY pulse_channel_recipient.pulse_channel_id + ) + SELECT pulse.id AS entity_id, + ('pulse_'::text || pulse.id) AS entity_qualified_id, + pulse.created_at, + pulse.updated_at, + pulse.creator_id, + pulse_card.card_id, + ('card_'::text || pulse_card.card_id) AS card_qualified_id, + pulse.alert_condition, + pulse_channel.schedule_type, + pulse_channel.schedule_day, + pulse_channel.schedule_hour, + pulse.archived, + pulse_channel.channel_type AS recipient_type, + agg_recipients.recipients, + pulse_channel.details AS recipient_external + FROM (((public.pulse + LEFT JOIN public.pulse_card ON ((pulse.id = pulse_card.pulse_id))) + LEFT JOIN public.pulse_channel ON ((pulse.id = pulse_channel.pulse_id))) + LEFT JOIN agg_recipients ON ((pulse_channel.id = agg_recipients.pulse_channel_id))) + WHERE (pulse.alert_condition IS NOT NULL); + + +ALTER TABLE public.v_alerts OWNER TO postgres; + +-- +-- Name: v_audit_log; Type: VIEW; Schema: public; Owner: postgres +-- + +CREATE VIEW public.v_audit_log AS + SELECT audit_log.id, + CASE + WHEN ((audit_log.topic)::text = 'card-create'::text) THEN 'card-create'::character varying + WHEN ((audit_log.topic)::text = 'card-delete'::text) THEN 'card-delete'::character varying + WHEN ((audit_log.topic)::text = 'card-update'::text) THEN 'card-update'::character varying + WHEN ((audit_log.topic)::text = 'pulse-create'::text) THEN 'subscription-create'::character varying + WHEN ((audit_log.topic)::text = 'pulse-delete'::text) THEN 'subscription-delete'::character varying + ELSE audit_log.topic + END AS topic, + audit_log."timestamp", + NULL::text AS end_timestamp, + COALESCE(audit_log.user_id, 0) AS user_id, + lower((audit_log.model)::text) AS entity_type, + audit_log.model_id AS entity_id, + CASE + WHEN ((audit_log.model)::text = 'Dataset'::text) THEN ('card_'::text || audit_log.model_id) + WHEN (audit_log.model_id IS NULL) THEN NULL::text + ELSE ((lower((audit_log.model)::text) || '_'::text) || audit_log.model_id) + END AS entity_qualified_id, + audit_log.details + FROM public.audit_log + WHERE ((audit_log.topic)::text <> ALL ((ARRAY['card-read'::character varying, 'card-query'::character varying, 'dashboard-read'::character varying, 'dashboard-query'::character varying, 'table-read'::character varying])::text[])); + + +ALTER TABLE public.v_audit_log OWNER TO postgres; + +-- +-- Name: v_content; Type: VIEW; Schema: public; Owner: postgres +-- + +CREATE VIEW public.v_content AS + SELECT action.id AS entity_id, + ('action_'::text || action.id) AS entity_qualified_id, + 'action'::text AS entity_type, + action.created_at, + action.updated_at, + action.creator_id, + action.name, + action.description, + NULL::integer AS collection_id, + action.made_public_by_id AS made_public_by_user, + NULL::boolean AS is_embedding_enabled, + action.archived, + action.type AS action_type, + action.model_id AS action_model_id, + NULL::boolean AS collection_is_official, + NULL::boolean AS collection_is_personal, + NULL::text AS question_viz_type, + NULL::text AS question_database_id, + NULL::boolean AS question_is_native, + NULL::timestamp without time zone AS event_timestamp + FROM public.action +UNION + SELECT collection.id AS entity_id, + ('collection_'::text || collection.id) AS entity_qualified_id, + 'collection'::text AS entity_type, + collection.created_at, + NULL::timestamp with time zone AS updated_at, + NULL::integer AS creator_id, + collection.name, + collection.description, + NULL::integer AS collection_id, + NULL::integer AS made_public_by_user, + NULL::boolean AS is_embedding_enabled, + collection.archived, + NULL::text AS action_type, + NULL::integer AS action_model_id, + CASE + WHEN ((collection.authority_level)::text = 'official'::text) THEN true + ELSE false + END AS collection_is_official, + CASE + WHEN (collection.personal_owner_id IS NOT NULL) THEN true + ELSE false + END AS collection_is_personal, + NULL::text AS question_viz_type, + NULL::text AS question_database_id, + NULL::boolean AS question_is_native, + NULL::timestamp without time zone AS event_timestamp + FROM public.collection +UNION + SELECT report_card.id AS entity_id, + ('card_'::text || report_card.id) AS entity_qualified_id, + CASE + WHEN report_card.dataset THEN 'model'::text + ELSE 'question'::text + END AS entity_type, + report_card.created_at, + report_card.updated_at, + report_card.creator_id, + report_card.name, + report_card.description, + report_card.collection_id, + report_card.made_public_by_id AS made_public_by_user, + report_card.enable_embedding AS is_embedding_enabled, + report_card.archived, + NULL::text AS action_type, + NULL::integer AS action_model_id, + NULL::boolean AS collection_is_official, + NULL::boolean AS collection_is_personal, + report_card.display AS question_viz_type, + ('database_'::text || report_card.database_id) AS question_database_id, + CASE + WHEN ((report_card.query_type)::text = 'native'::text) THEN true + ELSE false + END AS question_is_native, + NULL::timestamp without time zone AS event_timestamp + FROM public.report_card +UNION + SELECT report_dashboard.id AS entity_id, + ('dashboard_'::text || report_dashboard.id) AS entity_qualified_id, + 'dashboard'::text AS entity_type, + report_dashboard.created_at, + report_dashboard.updated_at, + report_dashboard.creator_id, + report_dashboard.name, + report_dashboard.description, + report_dashboard.collection_id, + report_dashboard.made_public_by_id AS made_public_by_user, + report_dashboard.enable_embedding AS is_embedding_enabled, + report_dashboard.archived, + NULL::text AS action_type, + NULL::integer AS action_model_id, + NULL::boolean AS collection_is_official, + NULL::boolean AS collection_is_personal, + NULL::text AS question_viz_type, + NULL::text AS question_database_id, + NULL::boolean AS question_is_native, + NULL::timestamp without time zone AS event_timestamp + FROM public.report_dashboard +UNION + SELECT event.id AS entity_id, + ('event_'::text || event.id) AS entity_qualified_id, + 'event'::text AS entity_type, + event.created_at, + event.updated_at, + event.creator_id, + event.name, + event.description, + timeline.collection_id, + NULL::integer AS made_public_by_user, + NULL::boolean AS is_embedding_enabled, + event.archived, + NULL::text AS action_type, + NULL::integer AS action_model_id, + NULL::boolean AS collection_is_official, + NULL::boolean AS collection_is_personal, + NULL::text AS question_viz_type, + NULL::text AS question_database_id, + NULL::boolean AS question_is_native, + event."timestamp" AS event_timestamp + FROM (public.timeline_event event + LEFT JOIN public.timeline ON ((event.timeline_id = timeline.id))); + + +ALTER TABLE public.v_content OWNER TO postgres; + +-- +-- Name: v_dashboardcard; Type: VIEW; Schema: public; Owner: postgres +-- + +CREATE VIEW public.v_dashboardcard AS + SELECT report_dashboardcard.id AS entity_id, + concat('dashboardcard_', report_dashboardcard.id) AS entity_qualified_id, + concat('dashboard_', report_dashboardcard.dashboard_id) AS dashboard_qualified_id, + concat('dashboardtab_', report_dashboardcard.dashboard_tab_id) AS dashboardtab_id, + concat('card_', report_dashboardcard.card_id) AS card_qualified_id, + report_dashboardcard.created_at, + report_dashboardcard.updated_at, + report_dashboardcard.size_x, + report_dashboardcard.size_y, + report_dashboardcard.visualization_settings, + report_dashboardcard.parameter_mappings + FROM public.report_dashboardcard; + + +ALTER TABLE public.v_dashboardcard OWNER TO postgres; + +-- +-- Name: v_databases; Type: VIEW; Schema: public; Owner: postgres +-- + +CREATE VIEW public.v_databases AS + SELECT metabase_database.id AS entity_id, + concat('database_', metabase_database.id) AS entity_qualified_id, + metabase_database.created_at, + metabase_database.updated_at, + metabase_database.name, + metabase_database.description, + metabase_database.engine AS database_type, + metabase_database.metadata_sync_schedule, + metabase_database.cache_field_values_schedule, + metabase_database.timezone, + metabase_database.is_on_demand, + metabase_database.auto_run_queries, + metabase_database.cache_ttl, + metabase_database.creator_id, + metabase_database.dbms_version AS db_version + FROM public.metabase_database + WHERE (metabase_database.id <> 13371337); + + +ALTER TABLE public.v_databases OWNER TO postgres; + +-- +-- Name: v_fields; Type: VIEW; Schema: public; Owner: postgres +-- + +CREATE VIEW public.v_fields AS + SELECT metabase_field.id AS entity_id, + ('field_'::text || metabase_field.id) AS entity_qualified_id, + metabase_field.created_at, + metabase_field.updated_at, + metabase_field.name, + metabase_field.display_name, + metabase_field.description, + metabase_field.base_type, + metabase_field.visibility_type, + metabase_field.fk_target_field_id, + metabase_field.has_field_values, + metabase_field.active, + metabase_field.table_id + FROM public.metabase_field; + + +ALTER TABLE public.v_fields OWNER TO postgres; + +-- +-- Name: v_group_members; Type: VIEW; Schema: public; Owner: postgres +-- + +CREATE VIEW public.v_group_members AS + SELECT permissions_group_membership.user_id, + permissions_group.id AS group_id, + permissions_group.name AS group_name + FROM (public.permissions_group_membership + LEFT JOIN public.permissions_group ON ((permissions_group_membership.group_id = permissions_group.id))) +UNION + SELECT 0 AS user_id, + 0 AS group_id, + 'Anonymous users'::character varying AS group_name; + + +ALTER TABLE public.v_group_members OWNER TO postgres; + +-- +-- Name: v_query_log; Type: VIEW; Schema: public; Owner: postgres +-- + +CREATE VIEW public.v_query_log AS + SELECT query_execution.id AS entity_id, + query_execution.started_at, + ((query_execution.running_time)::double precision / (1000)::double precision) AS running_time_seconds, + query_execution.result_rows, + query_execution.native AS is_native, + query_execution.context AS query_source, + query_execution.error, + COALESCE(query_execution.executor_id, 0) AS user_id, + query_execution.card_id, + ('card_'::text || query_execution.card_id) AS card_qualified_id, + query_execution.dashboard_id, + ('dashboard_'::text || query_execution.dashboard_id) AS dashboard_qualified_id, + query_execution.pulse_id, + query_execution.database_id, + ('database_'::text || query_execution.database_id) AS database_qualified_id, + query_execution.cache_hit, + query_execution.action_id, + ('action_'::text || query_execution.action_id) AS action_qualified_id, + query.query + FROM (public.query_execution + LEFT JOIN public.query ON ((query_execution.hash = query.query_hash))); + + +ALTER TABLE public.v_query_log OWNER TO postgres; + +-- +-- Name: v_subscriptions; Type: VIEW; Schema: public; Owner: postgres +-- + +CREATE VIEW public.v_subscriptions AS + WITH agg_recipients AS ( + SELECT pulse_channel_recipient.pulse_channel_id, + string_agg((core_user.email)::text, ','::text) AS recipients + FROM (public.pulse_channel_recipient + LEFT JOIN public.core_user ON ((pulse_channel_recipient.user_id = core_user.id))) + GROUP BY pulse_channel_recipient.pulse_channel_id + ) + SELECT pulse.id AS entity_id, + ('pulse_'::text || pulse.id) AS entity_qualified_id, + pulse.created_at, + pulse.updated_at, + pulse.creator_id, + pulse.archived, + ('dashboard_'::text || pulse.dashboard_id) AS dashboard_qualified_id, + pulse_channel.schedule_type, + pulse_channel.schedule_day, + pulse_channel.schedule_hour, + pulse_channel.channel_type AS recipient_type, + agg_recipients.recipients, + pulse_channel.details AS recipient_external, + pulse.parameters + FROM ((public.pulse + LEFT JOIN public.pulse_channel ON ((pulse.id = pulse_channel.pulse_id))) + LEFT JOIN agg_recipients ON ((pulse_channel.id = agg_recipients.pulse_channel_id))) + WHERE (pulse.alert_condition IS NULL); + + +ALTER TABLE public.v_subscriptions OWNER TO postgres; + +-- +-- Name: v_tables; Type: VIEW; Schema: public; Owner: postgres +-- + +CREATE VIEW public.v_tables AS + SELECT metabase_table.id AS entity_id, + ('table_'::text || metabase_table.id) AS entity_qualified_id, + metabase_table.created_at, + metabase_table.updated_at, + metabase_table.name, + metabase_table.display_name, + metabase_table.description, + metabase_table.active, + metabase_table.db_id AS database_id, + metabase_table.schema, + metabase_table.is_upload + FROM public.metabase_table; + + +ALTER TABLE public.v_tables OWNER TO postgres; + +-- +-- Name: v_tasks; Type: VIEW; Schema: public; Owner: postgres +-- + +CREATE VIEW public.v_tasks AS + SELECT task_history.id, + task_history.task, + ('database_'::text || task_history.db_id) AS database_qualified_id, + task_history.started_at, + task_history.ended_at, + ((task_history.duration)::double precision / (1000)::double precision) AS duration_seconds, + task_history.task_details AS details + FROM public.task_history; + + +ALTER TABLE public.v_tasks OWNER TO postgres; + +-- +-- Name: v_users; Type: VIEW; Schema: public; Owner: postgres +-- + +CREATE VIEW public.v_users AS + SELECT core_user.id AS user_id, + ('user_'::text || core_user.id) AS entity_qualified_id, + core_user.type, + CASE + WHEN ((core_user.type)::text = 'api-key'::text) THEN NULL::public.citext + ELSE core_user.email + END AS email, + core_user.first_name, + core_user.last_name, + (((core_user.first_name)::text || ' '::text) || (core_user.last_name)::text) AS full_name, + core_user.date_joined, + core_user.last_login, + core_user.updated_at, + core_user.is_superuser AS is_admin, + core_user.is_active, + core_user.sso_source, + core_user.locale + FROM public.core_user +UNION + SELECT 0 AS user_id, + 'user_0'::text AS entity_qualified_id, + 'anonymous'::character varying AS type, + NULL::public.citext AS email, + 'External'::character varying AS first_name, + 'User'::character varying AS last_name, + 'External User'::text AS full_name, + NULL::timestamp with time zone AS date_joined, + NULL::timestamp with time zone AS last_login, + NULL::timestamp with time zone AS updated_at, + false AS is_admin, + NULL::boolean AS is_active, + NULL::character varying AS sso_source, + NULL::character varying AS locale; + + +ALTER TABLE public.v_users OWNER TO postgres; + +-- +-- Name: view_log; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public.view_log ( + id integer NOT NULL, + user_id integer, + model character varying(16) NOT NULL, + model_id integer NOT NULL, + "timestamp" timestamp with time zone NOT NULL, + metadata text, + has_access boolean, + context character varying(32) +); + + +ALTER TABLE public.view_log OWNER TO postgres; + +-- +-- Name: COLUMN view_log.has_access; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.view_log.has_access IS 'Whether the user who initiated the view had read access to the item being viewed.'; + + +-- +-- Name: COLUMN view_log.context; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public.view_log.context IS 'The context of the view, can be collection, question, or dashboard. Only for cards.'; + + +-- +-- Name: v_view_log; Type: VIEW; Schema: public; Owner: postgres +-- + +CREATE VIEW public.v_view_log AS + SELECT view_log.id, + view_log."timestamp", + COALESCE(view_log.user_id, 0) AS user_id, + view_log.model AS entity_type, + view_log.model_id AS entity_id, + (((view_log.model)::text || '_'::text) || view_log.model_id) AS entity_qualified_id + FROM public.view_log; + + +ALTER TABLE public.v_view_log OWNER TO postgres; + +-- +-- Name: view_log_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres +-- + +ALTER TABLE public.view_log ALTER COLUMN id ADD GENERATED BY DEFAULT AS IDENTITY ( + SEQUENCE NAME public.view_log_id_seq + START WITH 1 + INCREMENT BY 1 + NO MINVALUE + NO MAXVALUE + CACHE 1 +); + + +-- +-- Data for Name: action; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.action (id, created_at, updated_at, type, model_id, name, description, parameters, parameter_mappings, visualization_settings, public_uuid, made_public_by_id, creator_id, archived, entity_id) FROM stdin; +\. + + +-- +-- Data for Name: activity; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.activity (id, topic, "timestamp", user_id, model, model_id, database_id, table_id, custom_id, details) FROM stdin; +\. + + +-- +-- Data for Name: api_key; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.api_key (id, user_id, key, key_prefix, creator_id, created_at, updated_at, name, updated_by_id) FROM stdin; +\. + + +-- +-- Data for Name: application_permissions_revision; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.application_permissions_revision (id, before, after, user_id, created_at, remark) FROM stdin; +\. + + +-- +-- Data for Name: audit_log; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.audit_log (id, topic, "timestamp", end_timestamp, user_id, model, model_id, details) FROM stdin; +\. + + +-- +-- Data for Name: bookmark_ordering; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.bookmark_ordering (id, user_id, type, item_id, ordering) FROM stdin; +\. + + +-- +-- Data for Name: card_bookmark; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.card_bookmark (id, user_id, card_id, created_at) FROM stdin; +\. + + +-- +-- Data for Name: card_label; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.card_label (id, card_id, label_id) FROM stdin; +\. + + +-- +-- Data for Name: collection; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.collection (id, name, description, archived, location, personal_owner_id, slug, namespace, authority_level, entity_id, created_at, type) FROM stdin; +1 json scada's Personal Collection \N f / 1 json_scada_s_personal_collection \N \N 0Dovi9AG6bONjOMWsHqE5 2024-05-15 23:30:05.211817+00 \N +\. + + +-- +-- Data for Name: collection_bookmark; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.collection_bookmark (id, user_id, collection_id, created_at) FROM stdin; +\. + + +-- +-- Data for Name: collection_permission_graph_revision; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.collection_permission_graph_revision (id, before, after, user_id, created_at, remark) FROM stdin; +\. + + +-- +-- Data for Name: connection_impersonations; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.connection_impersonations (id, db_id, group_id, attribute) FROM stdin; +\. + + +-- +-- Data for Name: core_session; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.core_session (id, user_id, created_at, anti_csrf_token) FROM stdin; +98e6a739-cf04-4892-a075-1b67114f745b 1 2024-05-15 23:29:59.213772+00 \N +\. + + +-- +-- Data for Name: core_user; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.core_user (id, email, first_name, last_name, password, password_salt, date_joined, last_login, is_superuser, is_active, reset_token, reset_triggered, is_qbnewb, login_attributes, updated_at, sso_source, locale, is_datasetnewb, settings, type) FROM stdin; +1 json@scada.com json scada $2a$10$B3Ry.EIj6a0mN9tqirpU7OBc5D7aB8LnsMB8mCXvHSpRxW/s0i/4e 42637ed4-9e64-4cdb-b9cc-0add943bcb18 2024-05-15 23:29:59.213772+00 2024-05-15 23:29:59.907161+00 t t \N \N t \N 2024-05-15 23:29:59.907161+00 \N \N t {"last-acknowledged-version":"v0.49.10"} personal +\. + + +-- +-- Data for Name: dashboard_bookmark; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.dashboard_bookmark (id, user_id, dashboard_id, created_at) FROM stdin; +\. + + +-- +-- Data for Name: dashboard_favorite; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.dashboard_favorite (id, user_id, dashboard_id) FROM stdin; +\. + + +-- +-- Data for Name: dashboard_tab; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.dashboard_tab (id, dashboard_id, name, "position", entity_id, created_at, updated_at) FROM stdin; +\. + + +-- +-- Data for Name: dashboardcard_series; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.dashboardcard_series (id, dashboardcard_id, card_id, "position") FROM stdin; +\. + + +-- +-- Data for Name: databasechangelog; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.databasechangelog (id, author, filename, dateexecuted, orderexecuted, exectype, md5sum, description, comments, tag, liquibase, contexts, labels, deployment_id) FROM stdin; +v00.00-000 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:37.821891 1 EXECUTED 9:e346841fa1cd9d142e1237b37fdc8a20 sqlFile path=initialization/metabase_postgres.sql; sqlFile path=initialization/metabase_mysql.sql; sqlFile path=initialization/metabase_h2.sql Initialze metabase \N 4.25.1 \N \N 5815171543 +v45.00-001 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:37.958609 2 EXECUTED 9:15c13a8aa3fdc72ef0c54f4cccfc39e1 createTable tableName=action Added 0.44.0 - writeback \N 4.25.1 \N \N 5815171543 +v45.00-002 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:37.991828 3 EXECUTED 9:d2c9f50f5a29947a07e4808957d63ab6 createTable tableName=query_action Added 0.44.0 - writeback \N 4.25.1 \N \N 5815171543 +v45.00-003 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:38.0293 4 EXECUTED 9:dafaaf7c9f0efbf92670ea93c001f7a1 addPrimaryKey constraintName=pk_query_action, tableName=query_action Added 0.44.0 - writeback \N 4.25.1 \N \N 5815171543 +v45.00-011 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:38.045443 5 EXECUTED 9:c539f152aa1c2287c5b602c7a395f9e8 addColumn tableName=report_card Added 0.44.0 - writeback \N 4.25.1 \N \N 5815171543 +v45.00-012 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:38.095949 6 EXECUTED 9:b872219f47d12ec80db8f1731be4ce94 createTable tableName=http_action Added 0.44.0 - writeback \N 4.25.1 \N \N 5815171543 +v45.00-013 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:38.128379 7 EXECUTED 9:54c5d6a9659b7ae62e8c42f60f9620d2 addPrimaryKey constraintName=pk_http_action, tableName=http_action Added 0.44.0 - writeback \N 4.25.1 \N \N 5815171543 +v45.00-022 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:38.207163 8 EXECUTED 9:06e8a3ba8c4c5e5cf8e6aa3f35081cac createTable tableName=app Added 0.45.0 - add app container \N 4.25.1 \N \N 5815171543 +v45.00-023 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:38.248719 9 EXECUTED 9:082d296233ee6dbbf2871b9d93c3a6a4 addForeignKeyConstraint baseTableName=app, constraintName=fk_app_ref_dashboard_id, referencedTableName=report_dashboard Added 0.45.0 - add app container \N 4.25.1 \N \N 5815171543 +v45.00-025 metamben migrations/001_update_migrations.yaml 2024-05-15 20:19:38.266078 10 EXECUTED 9:2214b0d71acc8a8cf90781a2aca98664 addColumn tableName=report_dashboard Added 0.45.0 - mark app pages \N 4.25.1 \N \N 5815171543 +v45.00-026 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:38.28199 11 EXECUTED 9:9f2ce2d2d79d0dce365ddf3464d1f648 addColumn tableName=report_dashboardcard Added 0.45.0 - apps add action_id to report_dashboardcard \N 4.25.1 \N \N 5815171543 +v45.00-027 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:38.305216 12 EXECUTED 9:73718f7b7c3fb4ef30f71dc6e6170528 addForeignKeyConstraint baseTableName=report_dashboardcard, constraintName=fk_report_dashboardcard_ref_action_id, referencedTableName=action Added 0.45.0 - apps add fk for action_id to report_dashboardcard \N 4.25.1 \N \N 5815171543 +v45.00-028 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.315104 13 EXECUTED 9:883315d70f3fc10b07858aa0e48ed9da renameColumn newColumnName=size_x, oldColumnName=sizeX, tableName=report_dashboardcard Added 0.45.0 -- rename DashboardCard sizeX to size_x. See https://github.com/metabase/metabase/issues/16344 \N 4.25.1 \N \N 5815171543 +v45.00-029 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.335113 14 EXECUTED 9:fe3b8aca811ef5b541f922a83c7ded8c renameColumn newColumnName=size_y, oldColumnName=sizeY, tableName=report_dashboardcard Added 0.45.0 -- rename DashboardCard size_y to size_y. See https://github.com/metabase/metabase/issues/16344 \N 4.25.1 \N \N 5815171543 +v45.00-030 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.3545 15 EXECUTED 9:63da8f2f82baf396ad30f3fd451c501d addDefaultValue columnName=size_x, tableName=report_dashboardcard Added 0.45.0 -- add default value to DashboardCard size_x -- this was previously done by Toucan \N 4.25.1 \N \N 5815171543 +v45.00-031 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.409778 16 EXECUTED 9:3628c1c692bec0f7258ea983b18340b5 addDefaultValue columnName=size_y, tableName=report_dashboardcard Added 0.45.0 -- add default value to DashboardCard size_y -- this was previously done by Toucan \N 4.25.1 \N \N 5815171543 +v45.00-032 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.430357 17 EXECUTED 9:7a6f0320210b82c5eafe836ea98f477d addDefaultValue columnName=created_at, tableName=report_dashboardcard Added 0.45.0 -- add default value for DashboardCard created_at (Postgres/H2) \N 4.25.1 \N \N 5815171543 +v45.00-033 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.510047 18 MARK_RAN 9:b93dab321e4a1fcaeb74d12b52867fd4 sql Added 0.45.0 -- add default value for DashboardCard created_at (MySQL/MariaDB) \N 4.25.1 \N \N 5815171543 +v45.00-034 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.530844 19 EXECUTED 9:39c965f9dc521d2a1e196f645d11de9e addDefaultValue columnName=updated_at, tableName=report_dashboardcard Added 0.45.0 -- add default value for DashboardCard updated_at (Postgres/H2) \N 4.25.1 \N \N 5815171543 +v45.00-035 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.534705 20 MARK_RAN 9:207984e21c44681a6135592cab3d0f3f sql Added 0.45.0 -- add default value for DashboardCard updated_at (MySQL/MariaDB) \N 4.25.1 \N \N 5815171543 +v45.00-036 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:38.637101 21 EXECUTED 9:8632f7a046e1094399c517b05f0feea3 createTable tableName=model_action Added 0.45.0 - add model action table \N 4.25.1 \N \N 5815171543 +v45.00-037 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:38.662133 22 EXECUTED 9:6600702fb0cc9dcd8628fca8df9c0b39 addUniqueConstraint constraintName=unique_model_action_card_id_slug, tableName=model_action Added 0.45.0 - model action \N 4.25.1 \N \N 5815171543 +v45.00-038 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.672395 23 EXECUTED 9:5ae52c12861e5eec6a2a9a8c5a442826 addDefaultValue columnName=created_at, tableName=metabase_database Added 0.45.0 -- add default value for Database created_at (Postgres/H2) \N 4.25.1 \N \N 5815171543 +v45.00-039 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.69368 24 MARK_RAN 9:7b331f47a0260218275c58fa21fdcc60 sql Added 0.45.0 -- add default value for Database created_at (MySQL/MariaDB) \N 4.25.1 \N \N 5815171543 +v45.00-040 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.710582 25 EXECUTED 9:6d6fb2c7cd62868b9878a951c8596cec addDefaultValue columnName=updated_at, tableName=metabase_database Added 0.45.0 -- add default value for Database updated_at (Postgres/H2) \N 4.25.1 \N \N 5815171543 +v45.00-041 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.717019 26 MARK_RAN 9:84d479472b81809b8067f72b28934954 sql Added 0.45.0 -- add default value for Database updated_at (MySQL/MariaDB) \N 4.25.1 \N \N 5815171543 +v45.00-042 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.7399 27 EXECUTED 9:f600f2e052bf44938d081165c8d87364 sql Added 0.45.0 -- add default value for Database with NULL details \N 4.25.1 \N \N 5815171543 +v45.00-043 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.799967 28 EXECUTED 9:f97ef9506c96084958075bb7c8d67b37 addNotNullConstraint columnName=details, tableName=metabase_database Added 0.45.0 -- make Database details NOT NULL \N 4.25.1 \N \N 5815171543 +v45.00-044 metamben migrations/001_update_migrations.yaml 2024-05-15 20:19:38.885764 29 EXECUTED 9:3a2bdd2e615d4577394828afda7fe61b createTable tableName=app_permission_graph_revision Added 0.45.0 -- create app permission graph revision table \N 4.25.1 \N \N 5815171543 +v45.00-048 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.90916 30 EXECUTED 9:20fea59b307a381f506485c07b3434f0 addColumn tableName=collection Added 0.45.0 -- add created_at to Collection \N 4.25.1 \N \N 5815171543 +v45.00-049 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:38.938969 31 EXECUTED 9:525cdee9190fec1c22f431bbc4c33165 sql; sql; sql Added 0.45.0 -- set Collection.created_at to User.date_joined for Personal Collections \N 4.25.1 \N \N 5815171543 +v45.00-050 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:39.038679 32 EXECUTED 9:6a28bbf7cf34c8730e1d3151fcc5b090 sql; sql; sql Added 0.45.0 -- seed Collection.created_at with value of oldest item for non-Personal Collections \N 4.25.1 \N \N 5815171543 +v45.00-051 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:39.060767 33 MARK_RAN 9:21a53bba289feab23d8a322e28c1e281 modifyDataType columnName=after, tableName=collection_permission_graph_revision Added 0.45.0 - modify type of collection_permission_graph_revision.after from text to text on mysql,mariadb \N 4.25.1 \N \N 5815171543 +v45.00-052 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:39.090517 34 MARK_RAN 9:6cbe88994cc644d01d336851484f7d04 modifyDataType columnName=before, tableName=collection_permission_graph_revision Added 0.45.0 - modify type of collection_permission_graph_revision.before from text to text on mysql,mariadb \N 4.25.1 \N \N 5815171543 +v45.00-053 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:39.102836 35 MARK_RAN 9:ea7fc60a2091ce7a78266b6b2a0f91ef modifyDataType columnName=remark, tableName=collection_permission_graph_revision Added 0.45.0 - modify type of collection_permission_graph_revision.remark from text to text on mysql,mariadb \N 4.25.1 \N \N 5815171543 +v45.00-054 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:39.112604 36 MARK_RAN 9:b150b811b511b9a2f9a063f1e72e144b modifyDataType columnName=after, tableName=permissions_revision Added 0.45.0 - modify type of permissions_revision.after from text to text on mysql,mariadb \N 4.25.1 \N \N 5815171543 +v45.00-055 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:39.131557 37 MARK_RAN 9:b0e45cae16c5f3ba5b3becf3b767dced modifyDataType columnName=before, tableName=permissions_revision Added 0.45.0 - modify type of permissions_revision.before from text to text on mysql,mariadb \N 4.25.1 \N \N 5815171543 +v45.00-056 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:39.141232 38 MARK_RAN 9:2b7e01dd0c5f8d720cbc346526f712ae modifyDataType columnName=remark, tableName=permissions_revision Added 0.45.0 - modify type of permissions_revision.remark from text to text on mysql,mariadb \N 4.25.1 \N \N 5815171543 +v45.00-057 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:39.146176 39 MARK_RAN 9:d1125daee3e40f7a316c59c6b7a0fb1b modifyDataType columnName=value, tableName=secret Added 0.45.0 - modify type of secret.value from blob to longblob on mysql,mariadb \N 4.25.1 \N \N 5815171543 +v46.00-000 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.185341 40 EXECUTED 9:ebf6161a0fd64634e0032cf8c44e2c64 createTable tableName=implicit_action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-001 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.207147 41 EXECUTED 9:9a3a543cd836c34d8131b6c929061425 addColumn tableName=action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-002 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.243666 42 EXECUTED 9:a352e46d75236605148308fc7e95cfe6 addColumn tableName=action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-003 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.26026 43 EXECUTED 9:c9ae88de84e869dbda6681c543d9701c addColumn tableName=action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-004 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.279248 44 EXECUTED 9:f7b94fa036afd26110610156dc0054ea addColumn tableName=action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-005 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.316588 45 EXECUTED 9:60be619c1c562da167a15ea8cc7421b3 addColumn tableName=action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-006 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.334761 46 EXECUTED 9:3c24b56f156b5891db5ee8a3b0a68195 addColumn tableName=action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-007 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.356651 47 EXECUTED 9:604733020cb8d94b0b21728393b9227a addForeignKeyConstraint baseTableName=action, constraintName=fk_action_model_id, referencedTableName=report_card Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-008 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.381181 48 EXECUTED 9:24adc5d36405f95e479157afa6ac7090 addColumn tableName=query_action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-009 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.41366 49 EXECUTED 9:a54fda21eeecdf97eab5c25e7ad616be addColumn tableName=query_action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-010 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.427163 50 EXECUTED 9:17661d9a15cea0e046aa22bbe05f8ca9 addForeignKeyConstraint baseTableName=query_action, constraintName=fk_query_action_database_id, referencedTableName=metabase_database Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-011 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.505663 51 EXECUTED 9:704a13bc4f66dba37ce7fbf130c2d207 sql; sql; sql Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-012 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.523789 52 EXECUTED 9:f5e43052660cb6fd61dca7385a41690f dropNotNullConstraint columnName=card_id, tableName=query_action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-013 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.579519 53 EXECUTED 9:12bf37b0e6732f2f09122f76cb8b59b5 sql Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-014 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.610028 54 EXECUTED 9:f5856fab23b69dbc669c354d5cb14d36 dropForeignKeyConstraint baseTableName=query_action, constraintName=fk_query_action_ref_card_id Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-015 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.619869 55 EXECUTED 9:1ef231990b57b1f8496070f5f63f4579 dropColumn columnName=card_id, tableName=query_action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-016 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.62923 56 EXECUTED 9:cf5ae825070bb05fd046b0a22f299403 sql Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-017 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.643573 57 EXECUTED 9:7428779ccdce61097d0fe5e761e05b18 dropColumn columnName=name, tableName=http_action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-018 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.654599 58 EXECUTED 9:1ae9ab13080fc2dd4df6ccdeb28baf72 dropColumn columnName=description, tableName=http_action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-019 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.664467 59 EXECUTED 9:ffa18e1fb9a06d0a673a1d6aab1edfbc dropColumn columnName=is_write, tableName=report_card Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-020 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.67771 60 EXECUTED 9:f96413cb1260923de7be41fd0a665543 addNotNullConstraint columnName=database_id, tableName=query_action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-021 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.689498 61 EXECUTED 9:92176e007f82994418edd21c13ea648d addNotNullConstraint columnName=dataset_query, tableName=query_action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-022 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.702661 62 EXECUTED 9:92176e007f82994418edd21c13ea648d addNotNullConstraint columnName=dataset_query, tableName=query_action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-023 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.721823 63 EXECUTED 9:072dea52b8b04cbb2829741c8523d768 addNotNullConstraint columnName=model_id, tableName=action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-024 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.736145 64 EXECUTED 9:92798789cb9756596896f74e7055988d addNotNullConstraint columnName=name, tableName=action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-025 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.804763 65 EXECUTED 9:cedeeebf30271f749b77f79609b197ba dropTable tableName=model_action Added 0.46.0 - Unify action representation \N 4.25.1 \N \N 5815171543 +v46.00-026 metamben migrations/001_update_migrations.yaml 2024-05-15 20:19:39.874036 66 EXECUTED 9:2466f8ea4308426e2dfaa1a0f89d2807 addColumn tableName=metabase_database Added 0.46.0 -- add field for tracking DBMS versions \N 4.25.1 \N \N 5815171543 +v46.00-027 snoe migrations/001_update_migrations.yaml 2024-05-15 20:19:39.902726 67 EXECUTED 9:1450a0a51d88a368393d2202a8e194fd addColumn tableName=metabase_fieldvalues Added 0.46.0 -- add last_used_at to FieldValues \N 4.25.1 \N \N 5815171543 +v46.00-028 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:39.954519 68 EXECUTED 9:cc1b9daf6ce06234decfadd3a2629a80 createTable tableName=parameter_card Added 0.46.0 -- Join table connecting cards to dashboards/cards's parameters that need custom filter values from the card \N 4.25.1 \N \N 5815171543 +v46.00-029 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:39.990857 69 EXECUTED 9:c95d07d656ec9c2d06e9d83ab14e5170 dropUniqueConstraint constraintName=unique_dimension_field_id_name, tableName=dimension Make Dimension <=> Field a 1t1 relationship. Drop unique constraint on field_id + name. (1/3) \N 4.25.1 \N \N 5815171543 +v46.00-030 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:40.017135 70 EXECUTED 9:3342b8ad5e8160325705f4df619c1416 sql Make Dimension <=> Field a 1t1 relationship. Delete duplicate entries. (2/3) \N 4.25.1 \N \N 5815171543 +v46.00-031 camsaul migrations/001_update_migrations.yaml 2024-05-15 20:19:40.039205 71 EXECUTED 9:5822fde920ae9c048d75e951674c6570 addUniqueConstraint constraintName=unique_dimension_field_id, tableName=dimension Make Dimension <=> Field a 1t1 relationship. Add unique constraint on field_id. (3/3) \N 4.25.1 \N \N 5815171543 +v46.00-032 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:40.056599 72 EXECUTED 9:2e882eb92ce78edf23d417dcbc7c4f03 addUniqueConstraint constraintName=unique_parameterized_object_card_parameter, tableName=parameter_card Added 0.46.0 -- Unique parameter_card \N 4.25.1 \N \N 5815171543 +v46.00-033 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:40.076873 73 EXECUTED 9:2ca24580b18e8a0736cc1c0b463d43a6 createIndex indexName=idx_parameter_card_parameterized_object_id, tableName=parameter_card Added 0.46.0 -- parameter_card index on connected object \N 4.25.1 \N \N 5815171543 +v46.00-034 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:40.1006 74 EXECUTED 9:654f10ff8db9163f27f87fc7da686912 createIndex indexName=idx_parameter_card_card_id, tableName=parameter_card Added 0.46.0 -- parameter_card index on connected card \N 4.25.1 \N \N 5815171543 +v46.00-035 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:40.127756 75 EXECUTED 9:54d48bc5d1b60faa10ba000c3409c973 addForeignKeyConstraint baseTableName=parameter_card, constraintName=fk_parameter_card_ref_card_id, referencedTableName=report_card Added 0.46.0 - parameter_card.card_id foreign key \N 4.25.1 \N \N 5815171543 +v46.00-036 metamben migrations/001_update_migrations.yaml 2024-05-15 20:19:40.150767 76 EXECUTED 9:5e155b0c1edc895bddf0e5de96def85e dropTable tableName=app_permission_graph_revision App containers are removed in 0.46.0 \N 4.25.1 \N \N 5815171543 +v46.00-037 metamben migrations/001_update_migrations.yaml 2024-05-15 20:19:40.164587 77 EXECUTED 9:ba61742e04377180572fb011d5ad3263 dropColumn columnName=is_app_page, tableName=report_dashboard App pages are removed in 0.46.0 \N 4.25.1 \N \N 5815171543 +v46.00-038 metamben migrations/001_update_migrations.yaml 2024-05-15 20:19:40.188452 78 EXECUTED 9:a45d7cfa18714cd1d536bd17b927e3ac dropTable tableName=app App containers are removed in 0.46.0 \N 4.25.1 \N \N 5815171543 +v46.00-039 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:40.215157 79 EXECUTED 9:a850f5255ad1f2abb52d4a7c93fa68a0 addColumn tableName=parameter_card Added 0.46.0 - add entity_id to parameter_card \N 4.25.1 \N \N 5815171543 +v46.00-040 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:40.226179 80 EXECUTED 9:400fe00b6e522509e4949a71cc12e196 addDefaultValue columnName=size_x, tableName=report_dashboardcard Added 0.46.0 -- Bump default dashcard size to 4x4 \N 4.25.1 \N \N 5815171543 +v46.00-041 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:40.238832 81 EXECUTED 9:0f7635baf2acb131464865f2a94a17ed addDefaultValue columnName=size_y, tableName=report_dashboardcard Added 0.46.0 -- Bump default dashcard size to 4x4 \N 4.25.1 \N \N 5815171543 +v46.00-042 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:40.263656 82 EXECUTED 9:6b99f953adbc8c3f536c7d729ef780a2 createIndex indexName=idx_query_execution_executor_id, tableName=query_execution Added 0.46.0 -- index query_execution.executor_id \N 4.25.1 \N \N 5815171543 +v46.00-043 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:40.283377 83 EXECUTED 9:6fd04070a9c19ac34c15a5cbe27def47 createIndex indexName=idx_query_execution_context, tableName=query_execution Added 0.46.0 -- index query_execution.context \N 4.25.1 \N \N 5815171543 +v46.00-045 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:40.309023 84 EXECUTED 9:1f61e64d7ce15c315ff530ef8a2dc7f3 addColumn tableName=action Added 0.46.0 -- add public_uuid to action. \N 4.25.1 \N \N 5815171543 +v46.00-051 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:40.324262 85 EXECUTED 9:7f54a26b4edf1aa4bc86b95f9c316dea dropDefaultValue columnName=row, tableName=report_dashboardcard Added 0.46.0 -- drop defaults for dashcard's position and size \N 4.25.1 \N \N 5815171543 +v46.00-052 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:40.336797 86 EXECUTED 9:4fc7e45d19ab28e91bd27325d23afd83 dropDefaultValue columnName=col, tableName=report_dashboardcard Added 0.46.0 -- drop defaults for dashcard's position and size \N 4.25.1 \N \N 5815171543 +v46.00-053 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:40.352177 87 EXECUTED 9:2d2836a1c76d1c5db400219364aa070e dropDefaultValue columnName=size_x, tableName=report_dashboardcard Added 0.46.0 -- drop defaults for dashcard's position and size \N 4.25.1 \N \N 5815171543 +v46.00-054 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:40.36592 88 EXECUTED 9:60b7a066e6ca1826efcb8b562b33f331 dropDefaultValue columnName=size_y, tableName=report_dashboardcard Added 0.46.0 -- drop defaults for dashcard's position and size \N 4.25.1 \N \N 5815171543 +v46.00-055 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:40.388289 89 EXECUTED 9:5b583b1b5eac915914f40a27163263b3 addColumn tableName=action Added 0.46.0 -- add made_public_by_id \N 4.25.1 \N \N 5815171543 +v46.00-056 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:40.410027 90 EXECUTED 9:9e37acc40f5685ec3992dff91bbfa618 createIndex indexName=idx_action_public_uuid, tableName=action Added 0.46.0 -- add public_uuid and made_public_by_id to action. public_uuid is indexed \N 4.25.1 \N \N 5815171543 +v46.00-057 dpsutton migrations/001_update_migrations.yaml 2024-05-15 20:19:40.43464 91 EXECUTED 9:86b2d39951f748b94abd2e1c7b68144a modifyDataType columnName=parameter_id, tableName=parameter_card Added 0.46.0 -- parameter_card.parameter_id long enough to hold a uuid \N 4.25.1 \N \N 5815171543 +v46.00-058 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:40.451167 92 EXECUTED 9:7458ddbf194a385219df05900d78185d addForeignKeyConstraint baseTableName=action, constraintName=fk_action_made_public_by_id, referencedTableName=core_user Added 0.46.0 -- add FK constraint for action.made_public_by_id with core_user.id \N 4.25.1 \N \N 5815171543 +v46.00-059 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:40.465122 93 EXECUTED 9:55a077fb646639308046b80c3f64267e addColumn tableName=action Added 0.46.0 -- add actions.creator_id \N 4.25.1 \N \N 5815171543 +v46.00-060 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:40.483324 94 EXECUTED 9:a0726ea2ef7c354af8b60a8ab37d24bd createIndex indexName=idx_action_creator_id, tableName=action Added 0.46.0 -- action.creator_id index \N 4.25.1 \N \N 5815171543 +v46.00-061 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:40.496651 95 EXECUTED 9:7497cc10ea1fdad211179b36d53bde6a addForeignKeyConstraint baseTableName=action, constraintName=fk_action_creator_id, referencedTableName=core_user Added 0.46.0 -- action.creator_id index \N 4.25.1 \N \N 5815171543 +v46.00-062 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:40.510306 96 EXECUTED 9:35cc67731bc19abd498bcdbb0aeb688e addColumn tableName=action Added 0.46.0 -- add actions.archived \N 4.25.1 \N \N 5815171543 +v46.00-064 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:40.521053 97 EXECUTED 9:a73357bb088af23043336f048172a1f3 renameTable newTableName=sandboxes, oldTableName=group_table_access_policy Added 0.46.0 -- rename `group_table_access_policy` to `sandboxes` \N 4.25.1 \N \N 5815171543 +v46.00-065 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:40.533778 98 EXECUTED 9:b5b5d61c3e6f7daa528acce1a52b6f75 addColumn tableName=sandboxes Added 0.46.0 -- add `permission_id` to `sandboxes` \N 4.25.1 \N \N 5815171543 +v46.00-070 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:40.560962 99 EXECUTED 9:e52174e49aa14e61eb922ba200cfc002 addColumn tableName=action Added 0.46.0 - add entity_id column to action \N 4.25.1 \N \N 5815171543 +v46.00-074 metamben migrations/001_update_migrations.yaml 2024-05-15 20:19:40.571901 100 EXECUTED 9:c2c5004951b49617a624ba2cf79fb617 modifyDataType columnName=updated_at, tableName=report_card Added 0.46.0 -- increase precision of updated_at of report_card \N 4.25.1 \N \N 5815171543 +v46.00-079 john-metabase migrations/001_update_migrations.yaml 2024-05-15 20:19:40.581408 101 EXECUTED 9:e5ce98dd7ac26fb102db98625e10dfab sql Added 0.46.0 -- migrates Databases using deprecated and removed presto driver to presto-jdbc \N 4.25.1 \N \N 5815171543 +v46.00-080 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:40.87235 102 EXECUTED 9:742aaa27012538f89770095551808dbc customChange Migrate data permission paths from v1 to v2 (splitting them into separate data and query permissions) \N 4.25.1 \N \N 5815171543 +v46.00-084 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:40.893583 103 EXECUTED 9:ec26e53892d1293ef822005b0e2d5d0d dropForeignKeyConstraint baseTableName=action, constraintName=fk_action_model_id Added 0.46.0 - CASCADE delete for action.model_id \N 4.25.1 \N \N 5815171543 +v46.00-085 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:40.908211 104 EXECUTED 9:013d55806a3c819a2e94ff2d5cb71df2 addForeignKeyConstraint baseTableName=action, constraintName=fk_action_model_id, referencedTableName=report_card Added 0.46.0 - CASCADE delete for action.model_id \N 4.25.1 \N \N 5815171543 +v46.00-086 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:41.50719 105 EXECUTED 9:3029f7b7b204834ce65fc573378b3425 customChange Added 0.46.0 - Delete the abandonment email task \N 4.25.1 \N \N 5815171543 +v46.00-088 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:41.547663 106 EXECUTED 9:c38b799746664b436dc8c63f2c6214c6 sql Added 0.46.5 -- backfill `permission_id` values in `sandboxes`. This is a fixed verison of v46.00-066 which has been removed, since it had a bug that blocked a customer from upgrading. \N 4.25.1 \N \N 5815171543 +v46.00-089 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:41.567475 107 EXECUTED 9:7a7761ef80cae24914abb65143fb0503 sql Added 0.46.5 -- remove orphaned entries in `sandboxes` \N 4.25.1 \N \N 5815171543 +v46.00-090 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:42.425287 108 EXECUTED 9:d17eaed2e43c5589332682c53e4a6458 addForeignKeyConstraint baseTableName=sandboxes, constraintName=fk_sandboxes_ref_permissions, referencedTableName=permissions Add foreign key constraint on sandboxes.permission_id \N 4.25.1 \N \N 5815171543 +v47.00-001 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:42.454725 109 EXECUTED 9:b655eb44da8863f3021bd71dc14e69b3 sql Added 0.47.0 -- set base-type to type/JSON for JSON database-types for postgres and mysql \N 4.25.1 \N \N 5815171543 +v47.00-002 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:42.465218 110 EXECUTED 9:1983e3e2e005932513c2146770aa7f37 addColumn tableName=metabase_field Added 0.47.0 - Add json_unfolding column to metabase_field \N 4.25.1 \N \N 5815171543 +v47.00-003 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:42.492795 111 EXECUTED 9:a3cdc062588a6c5c4459d48dc1b76519 sql Added 0.47.0 - Populate metabase_field.json_unfolding based on base_type \N 4.25.1 \N \N 5815171543 +v47.00-004 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:42.606143 112 EXECUTED 9:9457f62a9c6533da79c4881ca21d727f addColumn tableName=metabase_field Added 0.47.0 - Add auto_incremented to metabase_field \N 4.25.1 \N \N 5815171543 +v47.00-005 winlost migrations/001_update_migrations.yaml 2024-05-15 20:19:42.636494 113 EXECUTED 9:afc9309217305117e3b9e88018c5437e addColumn tableName=report_dashboard Added 0.47.0 - Add auto_apply_filters to dashboard \N 4.25.1 \N \N 5815171543 +v47.00-006 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:42.717321 114 EXECUTED 9:98647900eba8f78d7bef0678415ebe2a createTable tableName=dashboard_tab Added 0.47.0 - Add dashboard_tab table \N 4.25.1 \N \N 5815171543 +v47.00-007 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:42.729169 115 EXECUTED 9:7e6c0250df2957d89875cd0d14d271ee addColumn tableName=report_dashboardcard Added 0.47.0 -- add report_dashboardcard.dashboard_tab_id \N 4.25.1 \N \N 5815171543 +v47.00-008 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:42.74902 116 EXECUTED 9:606ece18373d1e534db0714add1c41e8 addForeignKeyConstraint baseTableName=report_dashboardcard, constraintName=fk_report_dashboardcard_ref_dashboard_tab_id, referencedTableName=dashboard_tab Added 0.47.0 -- add report_dashboardcard.dashboard_tab_id fk constraint \N 4.25.1 \N \N 5815171543 +v47.00-009 qwef migrations/001_update_migrations.yaml 2024-05-15 20:19:42.757209 117 EXECUTED 9:738a13b99f62269ff366f57c09652ebc sql Added 0.47.0 - Replace user google_auth and ldap_auth columns with sso_source values \N 4.25.1 \N \N 5815171543 +v47.00-010 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:42.781773 118 EXECUTED 9:5d9a509a79dedadff743042b6f82ddbe modifyDataType columnName=name, tableName=metabase_table Added 0.47.0 - Make metabase_table.name long enough for H2 names \N 4.25.1 \N \N 5815171543 +v47.00-011 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:42.790887 119 EXECUTED 9:7a6a06886b1428bf54d5105d1d4fcf0a modifyDataType columnName=display_name, tableName=metabase_table Added 0.47.0 - Make metabase_table.display_name long enough for H2 names \N 4.25.1 \N \N 5815171543 +v47.00-012 qwef migrations/001_update_migrations.yaml 2024-05-15 20:19:42.800827 120 EXECUTED 9:42ca291fec3fb0a7bdd74dd17d03339a dropColumn columnName=google_auth, tableName=core_user Added 0.47.0 - Replace user google_auth and ldap_auth columns with sso_source values \N 4.25.1 \N \N 5815171543 +v47.00-013 qwef migrations/001_update_migrations.yaml 2024-05-15 20:19:42.80971 121 EXECUTED 9:fcc22e7f3fd2f6e52739a8b9778f8e50 sql Added 0.47.0 - Replace user google_auth and ldap_auth columns with sso_source values \N 4.25.1 \N \N 5815171543 +v47.00-014 qwef migrations/001_update_migrations.yaml 2024-05-15 20:19:42.822984 122 EXECUTED 9:e8309c65ac1f122f944e64d702409377 dropColumn columnName=ldap_auth, tableName=core_user Added 0.47.0 - Replace user google_auth and ldap_auth columns with sso_source values \N 4.25.1 \N \N 5815171543 +v47.00-015 escherize migrations/001_update_migrations.yaml 2024-05-15 20:19:42.833057 123 EXECUTED 9:a05fe66edd2512f17a9fc7f9ff122669 addColumn tableName=metabase_database added 0.47.0 - Add is_audit to metabase_database \N 4.25.1 \N \N 5815171543 +v47.00-016 calherres migrations/001_update_migrations.yaml 2024-05-15 20:19:42.858202 124 EXECUTED 9:dbd88ce575f7976114e5b8c7e0382a5a customChange Added 0.47.0 - Migrate the report_card.visualization_settings.column_settings field refs from legacy format \N 4.25.1 \N \N 5815171543 +v47.00-018 dpsutton migrations/001_update_migrations.yaml 2024-05-15 20:19:42.902652 125 EXECUTED 9:ec0895ba935e438f7cd104534b3b13f4 createTable tableName=model_index Indexed Entities information table \N 4.25.1 \N \N 5815171543 +v47.00-019 dpsutton migrations/001_update_migrations.yaml 2024-05-15 20:19:42.935948 126 EXECUTED 9:d3d383af3f3c901efdd891a405c2639b createTable tableName=model_index_value Indexed Entities values table \N 4.25.1 \N \N 5815171543 +v47.00-020 dpsutton migrations/001_update_migrations.yaml 2024-05-15 20:19:42.954667 127 EXECUTED 9:96991ffa2c754f2f70d61928c7574e31 addUniqueConstraint constraintName=unique_model_index_value_model_index_id_model_pk, tableName=model_index_value Add unique constraint on index_id and pk \N 4.25.1 \N \N 5815171543 +v47.00-023 dpsutton migrations/001_update_migrations.yaml 2024-05-15 20:19:42.984674 128 EXECUTED 9:ab9a7a030405fc844b36f10d77fef039 createIndex indexName=idx_model_index_model_id, tableName=model_index Added 0.47.0 -- model_index index \N 4.25.1 \N \N 5815171543 +v47.00-024 dpsutton migrations/001_update_migrations.yaml 2024-05-15 20:19:43.003249 129 EXECUTED 9:ab4cd02348503fcaa7cedd49d11d217d addForeignKeyConstraint baseTableName=model_index, constraintName=fk_model_index_model_id, referencedTableName=report_card Added 0.47.0 -- model_index foriegn key to report_card \N 4.25.1 \N \N 5815171543 +v47.00-025 dpsutton migrations/001_update_migrations.yaml 2024-05-15 20:19:43.026476 130 EXECUTED 9:e002aab419bb327f68a09b604eb24fa5 addForeignKeyConstraint baseTableName=model_index_value, constraintName=fk_model_index_value_model_id, referencedTableName=model_index Added 0.47.0 -- model_index_value foriegn key to model_index \N 4.25.1 \N \N 5815171543 +v47.00-026 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:43.080569 131 EXECUTED 9:cd23ef8fb587021b6a7190811db35b90 createTable tableName=connection_impersonations Added 0.47.0 - New table for connection impersonation policies \N 4.25.1 \N \N 5815171543 +v47.00-027 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:43.104161 132 EXECUTED 9:a40730a20a1f9ae345d15f9c2bfa443e customChange Added 0.47.0 - Migrate field_ref in report_card.result_metadata from legacy format \N 4.25.1 \N \N 5815171543 +v47.00-028 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:43.12027 133 EXECUTED 9:66ec973062109ac00d89c8bb1a867d1e customChange Added 0.47.0 - Add join-alias to the report_card.visualization_settings.column_settings field refs \N 4.25.1 \N \N 5815171543 +v47.00-029 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.134174 134 EXECUTED 9:4e63a84adeeacdbe8ecf771e3f6cf65e customChange Added 0.47.0 - Stack cards vertically for dashboard with tabs on downgrade \N 4.25.1 \N \N 5815171543 +v47.00-030 escherize migrations/001_update_migrations.yaml 2024-05-15 20:19:43.144444 135 EXECUTED 9:e6d3c56859e8c41a5c5f6b7ebcc489d7 addColumn tableName=collection Added 0.47.0 - Type column for collections for instance-analytics \N 4.25.1 \N \N 5815171543 +v47.00-031 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.158691 136 EXECUTED 9:6c0047955d2fc52cd25e4e4aabdc7143 sql; sql Added 0.47.0 - migrate dashboard grid size from 18 to 24 \N 4.25.1 \N \N 5815171543 +v47.00-032 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.180317 137 EXECUTED 9:e9621439a79c5255a2cfe540c1e8df73 customChange Added 0.47.0 - migrate dashboard grid size from 18 to 24 for revisions \N 4.25.1 \N \N 5815171543 +v47.00-033 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:43.203626 138 EXECUTED 9:ef48cabec16353dc09a6297d06e27a9f customChange Added 0.47.0 - Migrate field refs in visualization_settings.column_settings keys from legacy format \N 4.25.1 \N \N 5815171543 +v47.00-034 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:43.222006 139 EXECUTED 9:9032d7052ab38a476e7f83d9486e8609 customChange Added 0.47.0 - Add join-alias to the visualization_settings.column_settings field refs in card revisions \N 4.25.1 \N \N 5815171543 +v47.00-035 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:43.232924 140 EXECUTED 9:57f53ab4caba81bea788f23487b6888a dropForeignKeyConstraint baseTableName=implicit_action, constraintName=fk_implicit_action_action_id Added 0.47.0 - Drop foreign key constraint on implicit_action.action_id \N 4.25.1 \N \N 5815171543 +v47.00-036 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:43.256531 141 EXECUTED 9:c45b0246a2068f7bed037662a25e52c0 addPrimaryKey constraintName=pk_implicit_action, tableName=implicit_action Added 0.47.0 - Set primary key to action_id for implicit_action table \N 4.25.1 \N \N 5815171543 +v47.00-037 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:43.26677 142 EXECUTED 9:8a7a6c51a3f52acb8b69bf10782e3a6e addForeignKeyConstraint baseTableName=implicit_action, constraintName=fk_implicit_action_action_id, referencedTableName=action Added 0.47.0 - Add foreign key constraint on implicit_action.action_id \N 4.25.1 \N \N 5815171543 +v47.00-043 calherres migrations/001_update_migrations.yaml 2024-05-15 20:19:43.292291 143 EXECUTED 9:d7a6e633d99b064539cbc7563c7f1905 customChange Added 0.47.0 - Migrate report_dashboardcard.visualization_settings.column_settings field refs from legacy format \N 4.25.1 \N \N 5815171543 +v47.00-044 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:43.318416 144 EXECUTED 9:905e1385202b3626c9e67e4645b44375 customChange Added 0.47.0 - Add join-alias to the report_dashboardcard.visualization_settings.column_settings field refs \N 4.25.1 \N \N 5815171543 +v47.00-045 calherres migrations/001_update_migrations.yaml 2024-05-15 20:19:43.34413 145 EXECUTED 9:ad1660852fc3eacd2c35e164d3c97609 customChange Added 0.47.0 - Migrate dashboard revision dashboard cards' visualization_settings.column_settings field refs from legacy format \N 4.25.1 \N \N 5815171543 +v47.00-046 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:43.362904 146 EXECUTED 9:e0cd8b50dc855ce3362b562dc80afbb0 customChange Added 0.47.0 - Add join-alias to dashboard revision dashboard cards' visualization_settings.column_settings field refs \N 4.25.1 \N \N 5815171543 +v47.00-050 tsmacdonald migrations/001_update_migrations.yaml 2024-05-15 20:19:43.380806 147 EXECUTED 9:8e9aad6950c3b6f4799f51f0a7277457 addColumn tableName=metabase_table Added 0.47.0 - table.is_upload \N 4.25.1 \N \N 5815171543 +v47.00-051 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:43.402231 148 EXECUTED 9:ec914ed2458e64fdd021bc6ca19e85c1 dropForeignKeyConstraint baseTableName=connection_impersonations, constraintName=fk_conn_impersonation_db_id Added 0.47.0 - Drop foreign key constraint on connection_impersonations.db_id \N 4.25.1 \N \N 5815171543 +v47.00-052 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:43.417501 149 EXECUTED 9:9dc7bed69c542749be182f5d76233488 dropForeignKeyConstraint baseTableName=connection_impersonations, constraintName=fk_conn_impersonation_group_id Added 0.47.0 - Drop foreign key constraint on connection_impersonations.group_id \N 4.25.1 \N \N 5815171543 +v47.00-053 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:43.456225 150 EXECUTED 9:91a175d49e28b1653ac8a7bad2a8204f createIndex indexName=idx_conn_impersonations_db_id, tableName=connection_impersonations Added 0.47.0 -- connection_impersonations index for db_id column \N 4.25.1 \N \N 5815171543 +v47.00-054 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:43.495049 151 EXECUTED 9:5245b1f06e5d1ae3a4c929f6cfcde9d4 createIndex indexName=idx_conn_impersonations_group_id, tableName=connection_impersonations Added 0.47.0 -- connection_impersonations index for group_id column \N 4.25.1 \N \N 5815171543 +v47.00-055 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:43.522873 152 EXECUTED 9:aef0d48122a09e653a9683d3b7074165 addUniqueConstraint constraintName=conn_impersonation_unique_group_id_db_id, tableName=connection_impersonations Added 0.47.0 - unique constraint for connection impersonations \N 4.25.1 \N \N 5815171543 +v47.00-056 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:43.562539 153 EXECUTED 9:bac4590e83ce8522e9fad8703aa88295 addForeignKeyConstraint baseTableName=connection_impersonations, constraintName=fk_conn_impersonation_db_id, referencedTableName=metabase_database Added 0.47.0 - re-add foreign key constraint on connection_impersonations.db_id \N 4.25.1 \N \N 5815171543 +v47.00-057 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:43.586725 154 EXECUTED 9:21e3b2ee3c1ae91f35c7c1fbd0f82dac addForeignKeyConstraint baseTableName=connection_impersonations, constraintName=fk_conn_impersonation_group_id, referencedTableName=permissions_group Added 0.47.0 - re-add foreign key constraint on connection_impersonations.group_id \N 4.25.1 \N \N 5815171543 +v47.00-058 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.616932 155 EXECUTED 9:d268796eef28773e767c286904f50cee dropColumn columnName=entity_id, tableName=parameter_card Drop parameter_card.entity_id \N 4.25.1 \N \N 5815171543 +v47.00-059 piranha migrations/001_update_migrations.yaml 2024-05-15 20:19:43.625985 156 EXECUTED 9:087e632c348027aeb01bc49bb428f67a dropNotNullConstraint columnName=entity_id, tableName=dashboard_tab Drops not null from dashboard_tab.entity_id since it breaks drop-entity-ids command \N 4.25.1 \N \N 5815171543 +v48.00-001 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.660415 157 EXECUTED 9:2dd9aa417cd83b00a59b5eb1deb9ae55 customChange Added 0.47.0 - Migrate database.options to database.settings \N 4.25.1 \N \N 5815171543 +v48.00-002 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.672513 158 EXECUTED 9:7a9312346a8d041d62726cd99d27e02b dropColumn columnName=options, tableName=metabase_database Added 0.47.0 - drop metabase_database.options \N 4.25.1 \N \N 5815171543 +v48.00-003 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.692514 159 EXECUTED 9:b623ee408e368c53ef1865af15a5edac dropTable tableName=computation_job_result Added 0.48.0 - drop computation_job_result table \N 4.25.1 \N \N 5815171543 +v48.00-004 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.715935 160 EXECUTED 9:e9bdc7a7ca09fe29d5b3479d9925bbd7 dropTable tableName=computation_job Added 0.48.0 - drop computation_job table \N 4.25.1 \N \N 5815171543 +v48.00-005 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.739877 161 EXECUTED 9:46dbd09ead2298f0e37d28f011b8986e addColumn tableName=query_execution Added 0.48.0 - Add query_execution.action_id \N 4.25.1 \N \N 5815171543 +v48.00-006 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.770341 162 EXECUTED 9:87cb5019893ddcb08ce06856825f1e6a createIndex indexName=idx_query_execution_action_id, tableName=query_execution Added 0.48.0 - Index query_execution.action_id \N 4.25.1 \N \N 5815171543 +v48.00-007 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.790094 163 EXECUTED 9:efa5dcca04d3887bca0eafc95754b9ee addColumn tableName=revision Added 0.48.0 - Add revision.most_recent \N 4.25.1 \N \N 5815171543 +v48.00-008 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.798147 164 EXECUTED 9:ad3f69be24960003ce545c16ac7922eb sql; sql Set revision.most_recent = true for latest revisions \N 4.25.1 \N \N 5815171543 +v48.00-009 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:43.824602 165 EXECUTED 9:4243d81311d2dc265d687e4b665215dc createTable tableName=table_privileges Added 0.48.0 - Create table_privileges table \N 4.25.1 \N \N 5815171543 +v48.00-010 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.830033 166 MARK_RAN 9:79908afdc739c3e9dbdddd1e29a20e5d sql Remove ON UPDATE for revision.timestamp on mysql, mariadb \N 4.25.1 \N \N 5815171543 +v48.00-011 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:43.97735 167 EXECUTED 9:2da4950057f3a912cd044bd95a189087 createIndex indexName=idx_revision_most_recent, tableName=revision Index revision.most_recent \N 4.25.1 \N \N 5815171543 +v48.00-013 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:44.317444 168 EXECUTED 9:9478b5f507bc34df51aaa4d719fc1c37 sql Index unindexed FKs for postgres \N 4.25.1 \N \N 5815171543 +v48.00-014 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:44.339218 169 EXECUTED 9:f22e8ba6b47eaa27344835a6f5069c7f createIndex indexName=idx_table_privileges_table_id, tableName=table_privileges Added 0.48.0 - Create table_privileges.table_id index \N 4.25.1 \N \N 5815171543 +v48.00-015 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:44.364823 170 EXECUTED 9:7ce7965ef94006d568d2298c4e5e007c createIndex indexName=idx_table_privileges_role, tableName=table_privileges Added 0.48.0 - Create table_privileges.role index \N 4.25.1 \N \N 5815171543 +v48.00-016 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:44.374543 171 EXECUTED 9:99bac12bbd1ff64b35f0c48f5f9bf824 modifyDataType columnName=slug, tableName=collection Added 0.48.0 - Change the type of collection.slug to varchar(510) \N 4.25.1 \N \N 5815171543 +v48.00-018 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:44.414688 172 EXECUTED 9:7e190e044ea31c175d382aa6eb2b80c4 createTable tableName=recent_views Add new recent_views table \N 4.25.1 \N \N 5815171543 +v48.00-019 nemanjaglumac migrations/001_update_migrations.yaml 2024-05-15 20:19:44.428326 173 EXECUTED 9:3af8327e2dab1b5344292966c4e1d8e0 dropColumn columnName=color, tableName=collection Collection color is removed in 0.48.0 \N 4.25.1 \N \N 5815171543 +v48.00-020 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:44.458368 174 EXECUTED 9:53aa607fc4b962053bffbca4e4283391 createIndex indexName=idx_recent_views_user_id, tableName=recent_views Added 0.48.0 - Create recent_views.user_id index \N 4.25.1 \N \N 5815171543 +v48.00-021 piranha migrations/001_update_migrations.yaml 2024-05-15 20:19:44.471805 175 EXECUTED 9:8fd8b97bfbae458ea7eb91e117cabc33 addColumn tableName=report_card Cards store Metabase version used to create them \N 4.25.1 \N \N 5815171543 +v48.00-022 johnswanson migrations/001_update_migrations.yaml 2024-05-15 20:19:44.511712 176 EXECUTED 9:0f826a4d0f9f512ca63fb667409ad999 customChange Migrate migrate-click-through to a custom migration \N 4.25.1 \N \N 5815171543 +v48.00-023 piranha migrations/001_update_migrations.yaml 2024-05-15 20:19:44.63143 177 EXECUTED 9:6ee76f86f68f7a2120cf8160cb34fd99 customChange Data migration migrate-remove-admin-from-group-mapping-if-needed \N 4.25.1 \N \N 5815171543 +v48.00-024 piranha migrations/001_update_migrations.yaml 2024-05-15 20:19:44.648693 178 EXECUTED 9:87ed320552869766323c1d12f7969b17 dropTable tableName=data_migrations All data migrations were transferred to custom_migrations! \N 4.25.1 \N \N 5815171543 +v48.00-025 piranha migrations/001_update_migrations.yaml 2024-05-15 20:19:44.659714 179 EXECUTED 9:0e54628ce18964128e827ad05ab2a448 addColumn tableName=revision Revisions store Metabase version used to create them \N 4.25.1 \N \N 5815171543 +v48.00-026 lbrdnk migrations/001_update_migrations.yaml 2024-05-15 20:19:44.669188 180 EXECUTED 9:d1ce706fe25d39767a77089171859856 update tableName=metabase_field Set semantic_type with value type/Number to null (#18754) \N 4.25.1 \N \N 5815171543 +v48.00-027 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:44.678261 181 EXECUTED 9:0a7ed49c904abc7110aa09324b49f106 sql No op migration \N 4.25.1 \N \N 5815171543 +v48.00-028 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:44.735276 182 EXECUTED 9:9340f3026bae444e9e98bc714a17a2d0 createTable tableName=audit_log Add new audit_log table \N 4.25.1 \N \N 5815171543 +v48.00-029 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:44.794255 183 EXECUTED 9:0ea006a4b23969abbb4574f1e7fc35c0 sqlFile path=instance_analytics_views/audit_log/v1/postgres-audit_log.sql; sqlFile path=instance_analytics_views/audit_log/v1/mysql-audit_log.sql; sqlFile path=instance_analytics_views/audit_log/v1/h2-audit_log.sql Added 0.48.0 - new view v_audit_log \N 4.25.1 \N \N 5815171543 +v48.00-030 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:44.821369 184 EXECUTED 9:d59b20e1ab52d390d4bd9577b9a54439 sqlFile path=instance_analytics_views/content/v1/postgres-content.sql; sqlFile path=instance_analytics_views/content/v1/mysql-content.sql; sqlFile path=instance_analytics_views/content/v1/h2-content.sql Added 0.48.0 - new view v_content \N 4.25.1 \N \N 5815171543 +v48.00-031 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:44.845223 185 EXECUTED 9:4493c1a05ff71a8cf629c2e469e63b29 sqlFile path=instance_analytics_views/dashboardcard/v1/dashboardcard.sql Added 0.48.0 - new view v_dashboardcard \N 4.25.1 \N \N 5815171543 +v48.00-032 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:44.868589 186 EXECUTED 9:c73d37997ac7c32b730b761bd1a7ecc0 sqlFile path=instance_analytics_views/group_members/v1/group_members.sql Added 0.48.0 - new view v_group_members \N 4.25.1 \N \N 5815171543 +v48.00-033 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:44.907743 187 EXECUTED 9:5b0b30fbf86a695d93e04de3131294c4 sqlFile path=instance_analytics_views/subscriptions/v1/postgres-subscriptions.sql; sqlFile path=instance_analytics_views/subscriptions/v1/mysql-subscriptions.sql; sqlFile path=instance_analytics_views/subscriptions/v1/h2-subscriptions.sql Added 0.48.0 - new view v_subscriptions for postgres \N 4.25.1 \N \N 5815171543 +v48.00-034 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:44.926288 188 EXECUTED 9:0e64a610c2a763eb8366d8619b60b6fa sqlFile path=instance_analytics_views/users/v1/postgres-users.sql; sqlFile path=instance_analytics_views/users/v1/mysql-users.sql; sqlFile path=instance_analytics_views/users/v1/h2-users.sql Added 0.48.0 - new view v_users \N 4.25.1 \N \N 5815171543 +v48.00-035 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:44.941446 189 EXECUTED 9:54569b1677c151e2fd052cef8c9d69cc sqlFile path=instance_analytics_views/alerts/v1/postgres-alerts.sql; sqlFile path=instance_analytics_views/alerts/v1/mysql-alerts.sql; sqlFile path=instance_analytics_views/alerts/v1/h2-alerts.sql Added 0.48.0 - new view v_alerts \N 4.25.1 \N \N 5815171543 +v48.00-036 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:44.959772 190 EXECUTED 9:4a4b8b9d1d537618546664e041121858 sqlFile path=instance_analytics_views/databases/v1/databases.sql Added 0.48.0 - new view v_databases \N 4.25.1 \N \N 5815171543 +v48.00-037 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:44.977409 191 EXECUTED 9:a304624882c0f8bd2fd4241786376989 sqlFile path=instance_analytics_views/fields/v1/postgres-fields.sql; sqlFile path=instance_analytics_views/fields/v1/mysql-fields.sql; sqlFile path=instance_analytics_views/fields/v1/h2-fields.sql Added 0.48.0 - new view v_fields \N 4.25.1 \N \N 5815171543 +v48.00-038 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:44.990686 192 EXECUTED 9:a305f2ec4549f7d5afb8cd2318e87e4b sqlFile path=instance_analytics_views/query_log/v1/postgres-query_log.sql; sqlFile path=instance_analytics_views/query_log/v1/mysql-query_log.sql; sqlFile path=instance_analytics_views/query_log/v1/h2-query_log.sql Added 0.48.0 - new view v_query_log \N 4.25.1 \N \N 5815171543 +v48.00-039 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.012913 193 EXECUTED 9:71d9d867d7798a728baf858802d6c255 sqlFile path=instance_analytics_views/tables/v1/postgres-tables.sql; sqlFile path=instance_analytics_views/tables/v1/mysql-tables.sql; sqlFile path=instance_analytics_views/tables/v1/h2-tables.sql Added 0.48.0 - new view v_tables \N 4.25.1 \N \N 5815171543 +v48.00-040 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.040331 194 EXECUTED 9:8e4eba04e03bb4edb326f7d4389e9dbb sqlFile path=instance_analytics_views/view_log/v1/postgres-view_log.sql; sqlFile path=instance_analytics_views/view_log/v1/mysql-view_log.sql; sqlFile path=instance_analytics_views/view_log/v1/h2-view_log.sql Added 0.48.0 - new view v_view_log \N 4.25.1 \N \N 5815171543 +v48.00-045 qwef migrations/001_update_migrations.yaml 2024-05-15 20:19:45.051339 195 EXECUTED 9:3a8a23ac9c57ddb43351c8a0d57edbb7 addColumn tableName=query_execution Added 0.48.0 - add is_sandboxed to query_execution \N 4.25.1 \N \N 5815171543 +v48.00-046 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.206411 196 EXECUTED 9:6015a45ac465e5430f7482280427b182 sqlFile path=instance_analytics_views/indexes/v1/postgres-indexes.sql; sqlFile path=instance_analytics_views/indexes/v1/mysql-indexes.sql; sqlFile path=instance_analytics_views/indexes/v1/mariadb-indexes.sql; sqlFile path=instance_analytics_views/... Added 0.48.0 - new indexes to optimize audit v2 queries \N 4.25.1 \N \N 5815171543 +v48.00-047 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.248514 197 EXECUTED 9:83099e323661cb585639e5ee8d48d7bf dropForeignKeyConstraint baseTableName=recent_views, constraintName=fk_recent_views_ref_user_id Drop foreign key on recent_views so that it can be recreated with onDelete policy \N 4.25.1 \N \N 5815171543 +v48.00-048 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.277031 198 EXECUTED 9:1ccb1544d732d0c6944ee1c4ac998801 addForeignKeyConstraint baseTableName=recent_views, constraintName=fk_recent_views_ref_user_id, referencedTableName=core_user Add foreign key on recent_views with onDelete CASCADE \N 4.25.1 \N \N 5815171543 +v48.00-049 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.307081 199 EXECUTED 9:0064304265cd53bb1965e6956bbe410e sql; sql; sql Migrate data from activity to audit_log \N 4.25.1 \N \N 5815171543 +v48.00-050 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.317123 200 EXECUTED 9:d41d8cd98f00b204e9800998ecf8427e empty Added 0.48.0 - no-op migration to remove audit DB and collection on downgrade \N 4.25.1 \N \N 5815171543 +v48.00-051 calherries migrations/001_update_migrations.yaml 2024-05-15 20:19:45.331269 201 EXECUTED 9:ed306ef18d2546ccbe84f621fed21f1a sql; sql Migrate metabase_field when the fk target field is inactive \N 4.25.1 \N \N 5815171543 +v48.00-053 johnswanson migrations/001_update_migrations.yaml 2024-05-15 20:19:45.379975 202 EXECUTED 9:7997563ebc2f57b53a1f19679d89b3b7 modifyDataType columnName=model, tableName=activity Increase length of `activity.model` to fit longer model names \N 4.25.1 \N \N 5815171543 +v48.00-054 escherize migrations/001_update_migrations.yaml 2024-05-15 20:19:45.391636 203 EXECUTED 9:d41d8cd98f00b204e9800998ecf8427e empty Added 0.48.0 - no-op migration to remove Internal Metabase User on downgrade \N 4.25.1 \N \N 5815171543 +v48.00-055 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.408188 204 EXECUTED 9:6c1a8ab293774009e006e0c629513fe5 sqlFile path=instance_analytics_views/tasks/v1/postgres-tasks.sql; sqlFile path=instance_analytics_views/tasks/v1/mysql-tasks.sql; sqlFile path=instance_analytics_views/tasks/v1/h2-tasks.sql Added 0.48.0 - new view v_tasks \N 4.25.1 \N \N 5815171543 +v48.00-056 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.41955 205 EXECUTED 9:cd66e7282ad1d92ae91d2694906f8762 addColumn tableName=view_log Adjust view_log schema for Audit Log v2 \N 4.25.1 \N \N 5815171543 +v48.00-057 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.440241 206 EXECUTED 9:24967224f6153a884f8f588772dfaf7d addColumn tableName=view_log Adjust view_log schema for Audit Log v2 \N 4.25.1 \N \N 5815171543 +v48.00-059 qwef migrations/001_update_migrations.yaml 2024-05-15 20:19:45.456006 207 EXECUTED 9:aac112e35358d50dd099737f32e491bc sql Update the namespace of any audit collections that are already loaded \N 4.25.1 \N \N 5815171543 +v48.00-060 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.480869 208 EXECUTED 9:97dc864df6ae5bca6e14ff4b1a455030 createIndex indexName=idx_task_history_started_at, tableName=task_history Added 0.48.0 - task_history.started_at \N 4.25.1 \N \N 5815171543 +v48.00-061 piranha migrations/001_update_migrations.yaml 2024-05-15 20:19:45.49745 209 EXECUTED 9:5afa172dba1d6093b94356463912628b addColumn tableName=query_execution Adds query_execution.cache_hash -> query_cache.query_hash \N 4.25.1 \N \N 5815171543 +v48.00-067 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:45.53375 210 EXECUTED 9:77853099d1da534596765591803a5d4c addUniqueConstraint constraintName=idx_databasechangelog_id_author_filename, tableName=databasechangelog Add unique constraint idx_databasechangelog_id_author_filename \N 4.25.1 \N \N 5815171543 +v49.00-000 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:45.552762 211 EXECUTED 9:a6eaedb204bd70b999a7b7ed7524b904 sql Remove leagcy pulses \N 4.25.1 \N \N 5815171543 +v49.00-003 johnswanson migrations/001_update_migrations.yaml 2024-05-15 20:19:45.568458 212 EXECUTED 9:6c49190e041265b22255a447302236b8 addColumn tableName=core_user Add a `type` to users \N 4.25.1 \N \N 5815171543 +v49.00-004 johnswanson migrations/001_update_migrations.yaml 2024-05-15 20:19:45.616901 213 EXECUTED 9:d3d62eb2ff5b27040c5e4d1f5a263b4c createTable tableName=api_key Add a table for API keys \N 4.25.1 \N \N 5815171543 +v49.00-005 johnswanson migrations/001_update_migrations.yaml 2024-05-15 20:19:45.638279 214 EXECUTED 9:790e75675265f53ca11f32994b9d1d12 createIndex indexName=idx_api_key_created_by, tableName=api_key Add an index on `api_key.created_by` \N 4.25.1 \N \N 5815171543 +v49.00-006 johnswanson migrations/001_update_migrations.yaml 2024-05-15 20:19:45.656724 215 EXECUTED 9:46cfb5a9bab696272d0211d7f34870ef createIndex indexName=idx_api_key_user_id, tableName=api_key Add an index on `api_key.user_id` \N 4.25.1 \N \N 5815171543 +v49.00-007 johnswanson migrations/001_update_migrations.yaml 2024-05-15 20:19:45.664984 216 EXECUTED 9:638a7394870315abd52742b739ee49ff sql Set the `type` of the internal user \N 4.25.1 \N \N 5815171543 +v49.00-008 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:45.679377 217 EXECUTED 9:381669dee234455e2d6e975afb9e95b0 addColumn tableName=metabase_field Add metabase_field.database_indexed \N 4.25.1 \N \N 5815171543 +v49.00-009 adam-james migrations/001_update_migrations.yaml 2024-05-15 20:19:45.702402 218 EXECUTED 9:20b6791390f852c195f25bfcfb9a77a2 sql; sql Migrate pulse_card.include_csv to 'true' when the joined card.display is 'table' \N 4.25.1 \N \N 5815171543 +v49.00-010 johnswanson migrations/001_update_migrations.yaml 2024-05-15 20:19:45.732721 219 EXECUTED 9:c618fafea8561e66c97ac5d9a56106f3 addColumn tableName=api_key Add a name to API Keys \N 4.25.1 \N \N 5815171543 +v49.00-011 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:45.745955 220 EXECUTED 9:9dae0a3606d63cc6c47ec94f181d203c addColumn tableName=metabase_table Add metabase_table.database_require_filter \N 4.25.1 \N \N 5815171543 +v49.00-012 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:45.762739 221 EXECUTED 9:129b215b73fec358adbd3cf9ba478515 addColumn tableName=metabase_field Add metabase_field.database_partitioned \N 4.25.1 \N \N 5815171543 +v49.00-013 johnswanson migrations/001_update_migrations.yaml 2024-05-15 20:19:45.780582 222 EXECUTED 9:fd99fac43bba1d45dfa8f17cd635e55b addColumn tableName=api_key Add `api_key.updated_by_id` \N 4.25.1 \N \N 5815171543 +v49.00-014 johnswanson migrations/001_update_migrations.yaml 2024-05-15 20:19:45.798919 223 EXECUTED 9:ab6ff0fa8e1088222e01466c38295012 createIndex indexName=idx_api_key_updated_by_id, tableName=api_key Add an index on `api_key.updated_by_id` \N 4.25.1 \N \N 5815171543 +v49.00-015 johnswanson migrations/001_update_migrations.yaml 2024-05-15 20:19:45.808591 224 EXECUTED 9:85e3063c4b008044fe6729789af4d2d0 renameColumn newColumnName=creator_id, oldColumnName=created_by, tableName=api_key Rename `created_by` to `creator_id` \N 4.25.1 \N \N 5815171543 +v49.00-017 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.811571 225 MARK_RAN 9:add3e47d69b3c7c7a407a186bba06564 addNotNullConstraint columnName=archived, tableName=action Add NOT NULL constraint to action.archived \N 4.25.1 \N \N 5815171543 +v49.00-018 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.819201 226 MARK_RAN 9:dfa7799dd05f439f01c646f35810d37a addDefaultValue columnName=archived, tableName=action Add default value to action.archived \N 4.25.1 \N \N 5815171543 +v49.00-020 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.824037 227 MARK_RAN 9:3ed2c593b8e803a416caa3f66c791c18 addNotNullConstraint columnName=json_unfolding, tableName=metabase_field Add NOT NULL constraint to metabase_field.json_unfolding \N 4.25.1 \N \N 5815171543 +v49.00-021 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.828701 228 MARK_RAN 9:eda3e041b4def2f0c9188b131330a743 addDefaultValue columnName=json_unfolding, tableName=metabase_field Add default value to metabase_field.json_unfolding \N 4.25.1 \N \N 5815171543 +v49.00-023 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.837643 229 MARK_RAN 9:8a8187fb01a8e5e2e23be4d64a068f54 addNotNullConstraint columnName=database_is_auto_increment, tableName=metabase_field Add NOT NULL constraint to metabase_field.database_is_auto_increment \N 4.25.1 \N \N 5815171543 +v49.00-024 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.842787 230 MARK_RAN 9:438a77b956692c7e3703d96b913e5566 addDefaultValue columnName=database_is_auto_increment, tableName=metabase_field Add default value to metabase_field.database_is_auto_increment \N 4.25.1 \N \N 5815171543 +v49.00-026 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.850885 231 MARK_RAN 9:7432b8bccc366fdeb6611b7899140ee7 addNotNullConstraint columnName=auto_apply_filters, tableName=report_dashboard Add NOT NULL constraint to report_dashboard.auto_apply_filters \N 4.25.1 \N \N 5815171543 +v49.00-027 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.859891 232 MARK_RAN 9:e8e27cec1e1cb5801ddfca828e3404a2 addDefaultValue columnName=auto_apply_filters, tableName=report_dashboard Add default value to report_dashboard.auto_apply_filters \N 4.25.1 \N \N 5815171543 +v49.00-029 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.869186 233 MARK_RAN 9:69f4b29b93422535b22df7ceb4c9dfb5 addNotNullConstraint columnName=is_audit, tableName=metabase_database Add NOT NULL constraint to metabase_database.is_audit \N 4.25.1 \N \N 5815171543 +v49.00-030 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.875146 234 MARK_RAN 9:93140751149cec3fdf7a186e6bac564a addDefaultValue columnName=is_audit, tableName=metabase_database Add default value to metabase_database.is_audit \N 4.25.1 \N \N 5815171543 +v49.00-032 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.879475 235 MARK_RAN 9:bd9098a5361f7ab1aa631615e39e7eea addNotNullConstraint columnName=is_upload, tableName=metabase_table Add NOT NULL constraint to metabase_table.is_upload \N 4.25.1 \N \N 5815171543 +v49.00-033 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.885143 236 MARK_RAN 9:75f535cee2ac99c5eabfd8d23007cec5 addDefaultValue columnName=is_upload, tableName=metabase_table Add default value to metabase_table.is_upload \N 4.25.1 \N \N 5815171543 +v49.00-036 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.892123 237 MARK_RAN 9:e2f3bc795300e8cba1ce4f594624eb98 addNotNullConstraint columnName=most_recent, tableName=revision Add NOT NULL constraint to revision.most_recent \N 4.25.1 \N \N 5815171543 +v49.00-037 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.897445 238 MARK_RAN 9:ddaf7704e565f42c3599823018f7f0cd addDefaultValue columnName=most_recent, tableName=revision Add default value to revision.most_recent \N 4.25.1 \N \N 5815171543 +v49.00-039 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.903361 239 MARK_RAN 9:e085f675a04674caa7eefae9555faa98 addNotNullConstraint columnName=select, tableName=table_privileges Add NOT NULL constraint to table_privileges.select \N 4.25.1 \N \N 5815171543 +v49.00-040 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.908732 240 MARK_RAN 9:a429c76f53ca1f6e40cb97e10f5bbb13 addDefaultValue columnName=select, tableName=table_privileges Add default value to table_privileges.select \N 4.25.1 \N \N 5815171543 +v49.00-042 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.913442 241 MARK_RAN 9:a2a53332a9e16f2510537f27694f177f addNotNullConstraint columnName=update, tableName=table_privileges Add NOT NULL constraint to table_privileges.update \N 4.25.1 \N \N 5815171543 +v49.00-043 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.918466 242 MARK_RAN 9:1a18955a2d01bb8fb1b7edfc74f5d976 addDefaultValue columnName=update, tableName=table_privileges Add default value to table_privileges.update \N 4.25.1 \N \N 5815171543 +v49.00-045 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.923884 243 MARK_RAN 9:9ecb48a04626476919f49615614a1166 addNotNullConstraint columnName=insert, tableName=table_privileges Add NOT NULL constraint to table_privileges.insert \N 4.25.1 \N \N 5815171543 +v49.00-046 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.929901 244 MARK_RAN 9:32c3a206904e45e4d6b3d639a2477d4e addDefaultValue columnName=insert, tableName=table_privileges Add default value to table_privileges.insert \N 4.25.1 \N \N 5815171543 +v49.00-048 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.934459 245 MARK_RAN 9:8f313a8ba8b16a19466d75d93df683f2 addNotNullConstraint columnName=delete, tableName=table_privileges Add NOT NULL constraint to table_privileges.delete \N 4.25.1 \N \N 5815171543 +v49.00-049 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:45.93947 246 MARK_RAN 9:fa6e7cafdbbf7880ddd8eef9b1cd33c9 addDefaultValue columnName=delete, tableName=table_privileges Add default value to table_privileges.delete \N 4.25.1 \N \N 5815171543 +v49.00-059 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:46.351337 247 EXECUTED 9:4046506923db48fd7a7c11021b58a4b5 customChange Added 0.49.0 - unify type of time columns \N 4.25.1 \N \N 5815171543 +v49.2023-01-24T12:00:00 piranha migrations/001_update_migrations.yaml 2024-05-15 20:19:46.376008 248 EXECUTED 9:6f381d427bef9022f3ac00618af2112b createIndex indexName=idx_field_name_lower, tableName=metabase_field This significantly speeds up api.database/autocomplete-fields query and is an improvement for issue 30588. H2 does not support this: https://github.com/h2database/h2database/issues/3535 Mariadb does not support this. Mysql says it does, but report... \N 4.25.1 \N \N 5815171543 +v49.2024-01-22T11:50:00 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:46.389742 249 EXECUTED 9:643a028e650ad7fcd6789a702249a179 addColumn tableName=report_card Add `report_card.type` \N 4.25.1 \N \N 5815171543 +v49.2024-01-22T11:51:00 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:46.400033 250 EXECUTED 9:6e53593c40c63e38d6c1ffd0331753c5 sql Backfill `report_card.type` \N 4.25.1 \N \N 5815171543 +v49.2024-01-22T11:52:00 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:46.41406 251 EXECUTED 9:7d260ed302016469ea5950bba09cb471 customChange Backfill `report_card.type` \N 4.25.1 \N \N 5815171543 +v49.2024-01-29T19:26:40 adam-james migrations/001_update_migrations.yaml 2024-05-15 20:19:46.428276 252 EXECUTED 9:04671d8b09ff919ab5154604377ba247 addColumn tableName=report_dashboard Add width setting to Dashboards \N 4.25.1 \N \N 5815171543 +v49.2024-01-29T19:30:00 adam-james migrations/001_update_migrations.yaml 2024-05-15 20:19:46.443047 253 EXECUTED 9:856b864c837cd25b3de595691f2b5712 update tableName=report_dashboard Update existing report_dashboard width values to full \N 4.25.1 \N \N 5815171543 +v49.2024-01-29T19:56:40 adam-james migrations/001_update_migrations.yaml 2024-05-15 20:19:46.454545 254 EXECUTED 9:c092ab859ee6994fcd3b4719872abb97 addNotNullConstraint columnName=width, tableName=report_dashboard Dashboard width setting must have a value \N 4.25.1 \N \N 5815171543 +v49.2024-01-29T19:59:12 adam-james migrations/001_update_migrations.yaml 2024-05-15 20:19:46.459837 255 MARK_RAN 9:663770b688f1ec9aee90d067d789ddbe addDefaultValue columnName=width, tableName=report_dashboard Add default value to report_dashboard.width for mysql and mariadb \N 4.25.1 \N \N 5815171543 +v49.2024-02-02T11:27:49 oisincoveney migrations/001_update_migrations.yaml 2024-05-15 20:19:46.486087 256 EXECUTED 9:b98d0471c408e0c13d3e6760275a7252 addColumn tableName=report_card Add report_card.initially_published_at \N 4.25.1 \N \N 5815171543 +v49.2024-02-02T11:28:36 oisincoveney migrations/001_update_migrations.yaml 2024-05-15 20:19:46.526123 257 EXECUTED 9:749dba47625d9fdb89d366e3c43dc510 addColumn tableName=report_dashboard Add report_dashboard.initially_published_at \N 4.25.1 \N \N 5815171543 +v49.2024-02-07T21:52:01 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:46.563023 258 EXECUTED 9:147145d4f57327ceeddf6c0e64605488 sqlFile path=instance_analytics_views/view_log/v2/postgres-view_log.sql; sqlFile path=instance_analytics_views/view_log/v2/mysql-view_log.sql; sqlFile path=instance_analytics_views/view_log/v2/h2-view_log.sql Added 0.49.0 - updated view v_view_log \N 4.25.1 \N \N 5815171543 +v49.2024-02-07T21:52:02 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:46.581279 259 EXECUTED 9:ad858cd4bea316258d9a3894f2ef27d3 sqlFile path=instance_analytics_views/audit_log/v2/postgres-audit_log.sql; sqlFile path=instance_analytics_views/audit_log/v2/mysql-audit_log.sql; sqlFile path=instance_analytics_views/audit_log/v2/h2-audit_log.sql Added 0.49.0 - updated view v_audit_log \N 4.25.1 \N \N 5815171543 +v49.2024-02-07T21:52:03 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:46.627983 260 EXECUTED 9:9072a2d1352e44778ba6ecda18ba2177 sqlFile path=instance_analytics_views/group_members/v2/group_members.sql Added 0.49.0 - updated view v_group_members \N 4.25.1 \N \N 5815171543 +v49.2024-02-07T21:52:04 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:46.64973 261 EXECUTED 9:f89937596b5e1dc112bdd6f142dbce78 sqlFile path=instance_analytics_views/query_log/v2/postgres-query_log.sql; sqlFile path=instance_analytics_views/query_log/v2/mysql-query_log.sql; sqlFile path=instance_analytics_views/query_log/v2/h2-query_log.sql Added 0.49.0 - updated view v_query_log \N 4.25.1 \N \N 5815171543 +v49.2024-02-07T21:52:05 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:46.670905 262 EXECUTED 9:55199a2ff1141c96910ba3e171da5d34 sqlFile path=instance_analytics_views/users/v2/postgres-users.sql; sqlFile path=instance_analytics_views/users/v2/mysql-users.sql; sqlFile path=instance_analytics_views/users/v2/h2-users.sql Added 0.49.0 - updated view v_users \N 4.25.1 \N \N 5815171543 +v49.2024-02-09T13:55:26 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:46.711673 263 MARK_RAN 9:d6f29528c18573873a35c84be228238a sql; sql; sql Set default value for enable-public-sharing to `false` for existing instances with users, if not already set \N 4.25.1 \N \N 5815171543 +v49.2024-03-26T10:23:12 adam-james migrations/001_update_migrations.yaml 2024-05-15 20:19:46.724503 264 EXECUTED 9:32218014a4cff780ad4c8e042fc98f23 addColumn tableName=pulse_card Add pulse_card.format_rows \N 4.25.1 \N \N 5815171543 +v49.2024-03-26T20:27:58 noahmoss migrations/001_update_migrations.yaml 2024-05-15 20:19:46.883298 265 EXECUTED 9:469ae1b8af4545f2f48d9505fd34059d customChange Added 0.46.0 - Delete the truncate audit log task (renamed to truncate audit tables) \N 4.25.1 \N \N 5815171543 +v49.2024-04-09T10:00:00 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:46.898885 266 EXECUTED 9:0584ae323d98a60f80b433bedab2a0a2 dropNotNullConstraint columnName=cache_field_values_schedule, tableName=metabase_database Drop not null constraint on metabase_database.cache_field_values_schedule \N 4.25.1 \N \N 5815171543 +v49.2024-04-09T10:00:01 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:46.919428 267 EXECUTED 9:68341c448ecdca425eae019974b64c09 dropDefaultValue columnName=cache_field_values_schedule, tableName=metabase_database Drop default value on metabase_database.cache_field_values_schedule \N 4.25.1 \N \N 5815171543 +v49.2024-04-09T10:00:02 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:46.935956 268 EXECUTED 9:adb15f2d80ea2b037b44d1eb2dbcb3c5 addDefaultValue columnName=cache_field_values_schedule, tableName=metabase_database Add null as default value for metabase_database.cache_field_values_schedule \N 4.25.1 \N \N 5815171543 +v49.2024-04-09T10:00:03 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:47.045361 269 EXECUTED 9:fb84fa8ea82ea520edae45164aa167d9 customChange This clears the schedule for caching field values for databases with period scanning disabled. \N 4.25.1 \N \N 5815171543 +v49.2024-05-07T10:00:00 qnkhuat migrations/001_update_migrations.yaml 2024-05-15 20:19:47.073162 270 MARK_RAN 9:d41d8cd98f00b204e9800998ecf8427e sql Set revision.most_recent = true to latest revision and false to others. A redo of v48.00-008 for mysql \N 4.25.1 \N \N 5815171543 +\. + + +-- +-- Data for Name: databasechangeloglock; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.databasechangeloglock (id, locked, lockgranted, lockedby) FROM stdin; +1 f \N \N +\. + + +-- +-- Data for Name: dependency; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.dependency (id, model, model_id, dependent_on_model, dependent_on_id, created_at) FROM stdin; +\. + + +-- +-- Data for Name: dimension; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.dimension (id, field_id, name, type, human_readable_field_id, created_at, updated_at, entity_id) FROM stdin; +\. + + +-- +-- Data for Name: http_action; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.http_action (action_id, template, response_handle, error_handle) FROM stdin; +\. + + +-- +-- Data for Name: implicit_action; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.implicit_action (action_id, kind) FROM stdin; +\. + + +-- +-- Data for Name: label; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.label (id, name, slug, icon) FROM stdin; +\. + + +-- +-- Data for Name: login_history; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.login_history (id, "timestamp", user_id, session_id, device_id, device_description, ip_address) FROM stdin; +\. + + +-- +-- Data for Name: metabase_database; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.metabase_database (id, created_at, updated_at, name, description, details, engine, is_sample, is_full_sync, points_of_interest, caveats, metadata_sync_schedule, cache_field_values_schedule, timezone, is_on_demand, auto_run_queries, refingerprint, cache_ttl, initial_sync_status, creator_id, settings, dbms_version, is_audit) FROM stdin; +1 2024-05-15 23:19:48.605179+00 2024-05-15 23:19:54.658991+00 Sample Database Some example data for you to play around with. {"db":"file:C:\\\\json-scada\\\\platform-windows\\\\plugins\\\\sample-database.db;USER=GUEST;PASSWORD=guest"} h2 t t You can find all sorts of different joinable tables ranging from products to people to reviews here. You probably don't want to use this for your business-critical analyses, but hey, it's your world, we're just living in it. 0 55 * * * ? * 0 0 13 * * ? * America/Sao_Paulo f t \N \N complete \N \N {"flavor":"H2","version":"2.1.214 (2022-06-13)","semantic-version":[2,1]} f +2 2024-05-15 23:29:59.213772+00 2024-05-15 23:30:11.83242+00 jsonscada_pg \N {"ssl":false,"password":null,"port":5432,"advanced-options":false,"schema-filters-type":"all","dbname":"json_scada","host":"127.0.0.1","tunnel-enabled":false,"user":"postgres"} postgres f t \N \N 0 59 * * * ? * 0 0 18 * * ? * America/Sao_Paulo f t \N \N complete 1 \N {"flavor":"PostgreSQL","version":"14.1","semantic-version":[14,1]} f +3 2024-05-15 23:33:25.306019+00 2024-05-15 23:33:28.519209+00 jsonscada_mongo \N {"additional-options":null,"ssl":false,"use-srv":false,"let-user-control-scheduling":false,"authdb":null,"port":27017,"advanced-options":true,"dbname":"json_scada","host":"127.0.0.1","tunnel-enabled":false,"pass":null,"use-conn-uri":false,"user":null} mongo f t \N \N 0 17 * * * ? * 0 0 6 * * ? * \N f t \N \N complete 1 \N {"version":"7.0.9","semantic-version":[7,0,9,0]} f +\. + + +-- +-- Data for Name: metabase_field; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.metabase_field (id, created_at, updated_at, name, base_type, semantic_type, active, description, preview_display, "position", table_id, parent_id, display_name, visibility_type, fk_target_field_id, last_analyzed, points_of_interest, caveats, fingerprint, fingerprint_version, database_type, has_field_values, settings, database_position, custom_position, effective_type, coercion_strategy, nfc_path, database_required, json_unfolding, database_is_auto_increment, database_indexed, database_partitioned) FROM stdin; +470 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:43.697758+00 tag type/Text type/Category t \N t 61 53 \N Tag normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":3.14}}} 5 java.lang.String \N \N 61 0 type/Text \N \N f f f t \N +469 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 stateTextFalse type/Text \N t \N t 57 53 \N StateTextFalse normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":500,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":20.126}}} 5 java.lang.String auto-list \N 57 0 type/Text \N \N f f f f \N +475 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 invalidDetectTimeout type/Float \N t \N t 24 53 \N InvalidDetectTimeout normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.5473582664465949,"q3":1.0,"max":1.0,"sd":0.34099347956553716,"avg":0.866}}} 5 java.lang.Double \N \N 24 0 type/Float \N \N f f f f \N +293 2024-05-15 23:30:05.744443+00 2024-05-15 23:30:05.744443+00 owner type/* \N t \N t 1 9 \N Owner normal \N \N \N \N \N 0 name \N \N 1 0 type/* \N \N f f f \N \N +72 2024-05-15 23:30:01.594118+00 2024-05-15 23:30:10.462538+00 table_name type/* \N t \N t 3 10 \N Table Name normal \N \N \N \N \N 0 name \N \N 3 0 type/* \N \N t f f f \N +73 2024-05-15 23:30:01.594118+00 2024-05-15 23:30:10.462538+00 id type/Integer type/PK t \N t 0 10 \N ID normal \N \N \N \N \N 0 serial \N \N 0 0 type/Integer \N \N f f t t \N +125 2024-05-15 23:30:02.297154+00 2024-05-15 23:30:10.178203+00 watermark type/BigInteger \N t \N t 1 44 \N Watermark normal \N \N \N \N \N 0 int8 \N \N 1 0 type/BigInteger \N \N t f f f \N +126 2024-05-15 23:30:02.297154+00 2024-05-15 23:30:10.178203+00 hypertable_id type/Integer type/FK t \N t 0 44 \N Hypertable ID normal 146 \N \N \N \N 0 int4 \N \N 0 0 type/Integer \N \N t f f t \N +112 2024-05-15 23:30:02.187335+00 2024-05-15 23:30:11.588168+00 direct_view_schema type/* \N t \N t 7 42 \N Direct View Schema normal \N \N \N \N \N 0 name \N \N 7 0 type/* \N \N t f f f \N +113 2024-05-15 23:30:02.187335+00 2024-05-15 23:30:11.588168+00 user_view_name type/* \N t \N t 3 42 \N User View Name normal \N \N \N \N \N 0 name \N \N 3 0 type/* \N \N t f f f \N +79 2024-05-15 23:30:01.698676+00 2024-05-15 23:30:10.332948+00 dimension_slice_id type/Integer type/FK t \N t 1 13 \N Dimension Slice ID normal 142 \N \N \N \N 0 int4 \N \N 1 0 type/Integer \N \N f f f f \N +94 2024-05-15 23:30:01.95413+00 2024-05-15 23:30:10.118896+00 hypertable_index_name type/* \N t \N t 3 43 \N Hypertable Index Name normal \N \N \N \N \N 0 name \N \N 3 0 type/* \N \N t f f f \N +80 2024-05-15 23:30:01.698676+00 2024-05-15 23:30:10.332948+00 chunk_id type/Integer type/FK t \N t 0 13 \N Chunk ID normal 73 \N \N \N \N 0 int4 \N \N 0 0 type/Integer \N \N t f f t \N +81 2024-05-15 23:30:01.698676+00 2024-05-15 23:30:10.332948+00 constraint_name type/* \N t \N t 2 13 \N Constraint Name normal \N \N \N \N \N 0 name \N \N 2 0 type/* \N \N t f f f \N +82 2024-05-15 23:30:01.698676+00 2024-05-15 23:30:10.332948+00 hypertable_constraint_name type/* \N t \N t 3 13 \N Hypertable Constraint Name normal \N \N \N \N \N 0 name \N \N 3 0 type/* \N \N f f f f \N +76 2024-05-15 23:30:01.594118+00 2024-05-15 23:30:10.462538+00 schema_name type/* \N t \N t 2 10 \N Schema Name normal \N \N \N \N \N 0 name \N \N 2 0 type/* \N \N t f f t \N +20 2024-05-15 23:19:51.666891+00 2024-05-15 23:19:52.65402+00 ID type/BigInteger type/PK t \N t 0 1 \N ID normal \N \N \N \N \N 0 BIGINT \N \N 0 0 type/BigInteger \N \N t f f t \N +77 2024-05-15 23:30:01.594118+00 2024-05-15 23:30:10.462538+00 dropped type/Boolean \N t \N t 5 10 \N Dropped normal \N \N \N \N \N 0 bool \N \N 5 0 type/Boolean \N \N f f f f \N +78 2024-05-15 23:30:01.594118+00 2024-05-15 23:30:10.462538+00 status type/Integer \N t \N t 6 10 \N Status normal \N \N \N \N \N 0 int4 \N \N 6 0 type/Integer \N \N f f f f \N +24 2024-05-15 23:19:51.736034+00 2024-05-15 23:19:52.688345+00 ID type/BigInteger type/PK t \N t 0 2 \N ID normal \N \N \N \N \N 0 BIGINT \N \N 0 0 type/BigInteger \N \N t f f t \N +130 2024-05-15 23:30:02.430898+00 2024-05-15 23:30:10.564094+00 id type/Integer type/PK t \N t 0 19 \N ID normal \N \N \N \N \N 0 serial \N \N 0 0 type/Integer \N \N f f t t \N +102 2024-05-15 23:30:02.108664+00 2024-05-15 23:30:11.465397+00 compressed_toast_size type/BigInteger \N t \N t 6 37 \N Compressed Toast Size normal \N \N \N \N \N 0 int8 \N \N 6 0 type/BigInteger \N \N t f f f \N +103 2024-05-15 23:30:02.108664+00 2024-05-15 23:30:11.465397+00 numrows_pre_compression type/BigInteger \N t \N t 8 37 \N Numrows Pre Compression normal \N \N \N \N \N 0 int8 \N \N 8 0 type/BigInteger \N \N f f f f \N +104 2024-05-15 23:30:02.108664+00 2024-05-15 23:30:11.465397+00 uncompressed_index_size type/BigInteger \N t \N t 4 37 \N Uncompressed Index Size normal \N \N \N \N \N 0 int8 \N \N 4 0 type/BigInteger \N \N t f f f \N +105 2024-05-15 23:30:02.108664+00 2024-05-15 23:30:11.465397+00 chunk_id type/Integer type/FK t \N t 0 37 \N Chunk ID normal 73 \N \N \N \N 0 int4 \N \N 0 0 type/Integer \N \N t f f t \N +31 2024-05-15 23:19:51.789548+00 2024-05-15 23:19:52.792105+00 ID type/BigInteger type/PK t \N t 0 7 \N ID normal \N \N \N \N \N 0 BIGINT \N \N 0 0 type/BigInteger \N \N t f f t \N +114 2024-05-15 23:30:02.187335+00 2024-05-15 23:30:11.588168+00 materialized_only type/Boolean \N t \N t 9 42 \N Materialized Only normal \N \N \N \N \N 0 bool \N \N 9 0 type/Boolean \N \N f f f f \N +115 2024-05-15 23:30:02.187335+00 2024-05-15 23:30:11.588168+00 user_view_schema type/* \N t \N t 2 42 \N User View Schema normal \N \N \N \N \N 0 name \N \N 2 0 type/* \N \N t f f t \N +116 2024-05-15 23:30:02.187335+00 2024-05-15 23:30:11.588168+00 partial_view_schema type/* \N t \N t 4 42 \N Partial View Schema normal \N \N \N \N \N 0 name \N \N 4 0 type/* \N \N t f f t \N +33 2024-05-15 23:19:51.789548+00 2024-05-15 23:20:04.970698+00 DATE_RECEIVED type/DateTime \N t \N t 5 7 \N Date Received normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":714,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2020-09-30T00:00:00Z","latest":"2027-05-02T00:00:00Z"}}} 5 TIMESTAMP \N \N 5 0 type/DateTime \N \N f f f f \N +17 2024-05-15 23:19:51.666891+00 2024-05-15 23:20:04.970698+00 EVENT type/Text type/Category t \N t 2 1 \N Event normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":11.3906}}} 5 CHARACTER VARYING auto-list \N 2 0 type/Text \N \N f f f f \N +117 2024-05-15 23:30:02.187335+00 2024-05-15 23:30:11.588168+00 raw_hypertable_id type/Integer type/FK t \N t 1 42 \N Raw Hypertable ID normal 146 \N \N \N \N 0 int4 \N \N 1 0 type/Integer \N \N t f f t \N +118 2024-05-15 23:30:02.187335+00 2024-05-15 23:30:11.588168+00 mat_hypertable_id type/Integer type/FK t \N t 0 42 \N Mat Hypertable ID normal 146 \N \N \N \N 0 int4 \N \N 0 0 type/Integer \N \N t f f t \N +119 2024-05-15 23:30:02.187335+00 2024-05-15 23:30:11.588168+00 direct_view_name type/* \N t \N t 8 42 \N Direct View Name normal \N \N \N \N \N 0 name \N \N 8 0 type/* \N \N t f f f \N +37 2024-05-15 23:19:51.842878+00 2024-05-15 23:19:53.178133+00 ID type/BigInteger type/PK t This is a unique ID for the product. It is also called the “Invoice number” or “Confirmation number” in customer facing emails and screens. t 0 5 \N ID normal \N \N \N \N \N 0 BIGINT \N \N 0 0 type/BigInteger \N \N f f t t \N +120 2024-05-15 23:30:02.187335+00 2024-05-15 23:30:11.588168+00 bucket_width type/BigInteger \N t \N t 6 42 \N Bucket Width normal \N \N \N \N \N 0 int8 \N \N 6 0 type/BigInteger \N \N t f f f \N +121 2024-05-15 23:30:02.187335+00 2024-05-15 23:30:11.588168+00 partial_view_name type/* \N t \N t 5 42 \N Partial View Name normal \N \N \N \N \N 0 name \N \N 5 0 type/* \N \N t f f f \N +46 2024-05-15 23:19:51.892237+00 2024-05-15 23:19:53.572277+00 ID type/BigInteger type/PK t A unique identifier given to each user. t 0 3 \N ID normal \N \N \N \N \N 0 BIGINT \N \N 0 0 type/BigInteger \N \N f f t t \N +7 2024-05-15 23:19:51.489511+00 2024-05-15 23:19:52.409371+00 ID type/BigInteger type/PK t \N t 0 6 \N ID normal \N \N \N \N \N 0 BIGINT \N \N 0 0 type/BigInteger \N \N t f f t \N +399 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 w type/Float \N t \N t 19 54 \N W normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":0.0,"avg":1.0}}} 5 java.lang.Double \N \N 19 0 type/Float \N \N f f f f \N +60 2024-05-15 23:19:51.970196+00 2024-05-15 23:20:04.970698+00 VENDOR type/Text type/Company t The source of the product. t 4 8 \N Vendor normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":200,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":20.6}}} 5 CHARACTER VARYING auto-list \N 4 0 type/Text \N \N f f f f \N +68 2024-05-15 23:19:52.037423+00 2024-05-15 23:19:54.00879+00 ID type/BigInteger type/PK t A unique internal identifier for the review. Should not be used externally. t 0 4 \N ID normal \N \N \N \N \N 0 BIGINT \N \N 0 0 type/BigInteger \N \N f f t t \N +127 2024-05-15 23:30:02.338128+00 2024-05-15 23:30:10.917153+00 greatest_modified_value type/BigInteger \N t \N t 2 28 \N Greatest Modified Value normal \N \N \N \N \N 0 int8 \N \N 2 0 type/BigInteger \N \N t f f f \N +122 2024-05-15 23:30:02.240543+00 2024-05-15 23:30:11.553363+00 greatest_modified_value type/BigInteger \N t \N t 2 41 \N Greatest Modified Value normal \N \N \N \N \N 0 int8 \N \N 2 0 type/BigInteger \N \N t f f f \N +98 2024-05-15 23:30:02.031728+00 2024-05-15 23:30:10.697356+00 id type/Integer type/PK t \N t 0 22 \N ID normal \N \N \N \N \N 0 int2 \N \N 0 0 type/Integer \N \N t f f t \N +83 2024-05-15 23:30:01.773498+00 2024-05-15 23:30:10.784759+00 backend_pid type/Integer \N t \N t 1 25 \N Backend Pid normal \N \N \N \N \N 0 int4 \N \N 1 0 type/Integer \N \N t f f f \N +84 2024-05-15 23:30:01.773498+00 2024-05-15 23:30:10.784759+00 dest_node_name type/* \N t \N t 6 25 \N Dest Node Name normal \N \N \N \N \N 0 name \N \N 6 0 type/* \N \N t f f f \N +86 2024-05-15 23:30:01.773498+00 2024-05-15 23:30:10.784759+00 delete_on_source_node type/Boolean \N t \N t 7 25 \N Delete On Source Node normal \N \N \N \N \N 0 bool \N \N 7 0 type/Boolean \N \N t f f f \N +8 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 LEGACY_PLAN type/Boolean type/Category t \N t 12 6 \N Legacy Plan normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 BOOLEAN auto-list \N 12 0 type/Boolean \N \N f f f f \N +141 2024-05-15 23:30:02.497687+00 2024-05-15 23:30:10.824789+00 range_start type/BigInteger \N t \N t 2 26 \N Range Start normal \N \N \N \N \N 0 int8 \N \N 2 0 type/BigInteger \N \N t f f f \N +142 2024-05-15 23:30:02.497687+00 2024-05-15 23:30:10.824789+00 id type/Integer type/PK t \N t 0 26 \N ID normal \N \N \N \N \N 0 serial \N \N 0 0 type/Integer \N \N f f t t \N +143 2024-05-15 23:30:02.497687+00 2024-05-15 23:30:10.824789+00 dimension_id type/Integer type/FK t \N t 1 26 \N Dimension ID normal 130 \N \N \N \N 0 int4 \N \N 1 0 type/Integer \N \N t f f t \N +144 2024-05-15 23:30:02.497687+00 2024-05-15 23:30:10.824789+00 range_end type/BigInteger \N t \N t 3 26 \N Range End normal \N \N \N \N \N 0 int8 \N \N 3 0 type/BigInteger \N \N t f f f \N +128 2024-05-15 23:30:02.338128+00 2024-05-15 23:30:10.917153+00 lowest_modified_value type/BigInteger \N t \N t 1 28 \N Lowest Modified Value normal \N \N \N \N \N 0 int8 \N \N 1 0 type/BigInteger \N \N t f f f \N +62 2024-05-15 23:19:51.970196+00 2024-05-15 23:19:53.815313+00 ID type/BigInteger type/PK t The numerical product number. Only used internally. All external communication should use the title or EAN. t 0 8 \N ID normal \N \N \N \N \N 0 BIGINT \N \N 0 0 type/BigInteger \N \N f f t t \N +147 2024-05-15 23:30:02.558934+00 2024-05-15 23:30:20.337516+00 associated_table_prefix type/* type/Category t \N t 4 30 \N Associated Table Prefix normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 4 0 type/* \N \N t f f f \N +146 2024-05-15 23:30:02.558934+00 2024-05-15 23:30:11.284485+00 id type/Integer type/PK t \N t 0 30 \N ID normal \N \N \N \N \N 0 serial \N \N 0 0 type/Integer \N \N f f t t \N +148 2024-05-15 23:30:02.558934+00 2024-05-15 23:30:20.337516+00 associated_schema_name type/* type/Category t \N t 3 30 \N Associated Schema Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 3 0 type/* \N \N t f f t \N +149 2024-05-15 23:30:02.558934+00 2024-05-15 23:30:20.337516+00 chunk_sizing_func_name type/* type/Category t \N t 7 30 \N Chunk Sizing Func Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 7 0 type/* \N \N t f f f \N +99 2024-05-15 23:30:02.031728+00 2024-05-15 23:30:20.337516+00 name type/* type/Category t \N t 2 22 \N Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":5,"nil%":0.0}} 5 name auto-list \N 2 0 type/* \N \N t f f f \N +123 2024-05-15 23:30:02.240543+00 2024-05-15 23:30:11.553363+00 hypertable_id type/Integer \N t \N t 0 41 \N Hypertable ID normal \N \N \N \N \N 0 int4 \N \N 0 0 type/Integer \N \N t f f t \N +124 2024-05-15 23:30:02.240543+00 2024-05-15 23:30:11.553363+00 lowest_modified_value type/BigInteger \N t \N t 1 41 \N Lowest Modified Value normal \N \N \N \N \N 0 int8 \N \N 1 0 type/BigInteger \N \N t f f f \N +91 2024-05-15 23:30:01.87194+00 2024-05-15 23:30:11.630629+00 chunk_id type/Integer type/FK t \N t 0 47 \N Chunk ID normal 73 \N \N \N \N 0 int4 \N \N 0 0 type/Integer \N \N t f f t \N +92 2024-05-15 23:30:01.87194+00 2024-05-15 23:30:11.630629+00 node_name type/* \N t \N t 2 47 \N Node Name normal \N \N \N \N \N 0 name \N \N 2 0 type/* \N \N t f f f \N +93 2024-05-15 23:30:01.87194+00 2024-05-15 23:30:11.630629+00 node_chunk_id type/Integer \N t \N t 1 47 \N Node Chunk ID normal \N \N \N \N \N 0 int4 \N \N 1 0 type/Integer \N \N t f f t \N +157 2024-05-15 23:30:02.621132+00 2024-05-15 23:30:11.669965+00 orderby_asc type/Boolean \N t \N t 5 48 \N Orderby Asc normal \N \N \N \N \N 0 bool \N \N 5 0 type/Boolean \N \N f f f f \N +158 2024-05-15 23:30:02.621132+00 2024-05-15 23:30:11.669965+00 segmentby_column_index type/Integer \N t \N t 3 48 \N Segmentby Column Index normal \N \N \N \N \N 0 int2 \N \N 3 0 type/Integer \N \N f f f f \N +159 2024-05-15 23:30:02.621132+00 2024-05-15 23:30:11.669965+00 compression_algorithm_id type/Integer type/FK t \N t 2 48 \N Compression Algorithm ID normal 98 \N \N \N \N 0 int2 \N \N 2 0 type/Integer \N \N f f f f \N +160 2024-05-15 23:30:02.621132+00 2024-05-15 23:30:11.669965+00 orderby_column_index type/Integer \N t \N t 4 48 \N Orderby Column Index normal \N \N \N \N \N 0 int2 \N \N 4 0 type/Integer \N \N f f f f \N +161 2024-05-15 23:30:02.621132+00 2024-05-15 23:30:11.669965+00 attname type/* type/PK t \N t 1 48 \N Attname normal \N \N \N \N \N 0 name \N \N 1 0 type/* \N \N t f f f \N +425 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 kconv1 type/Float \N t \N t 26 53 \N Kconv1 normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":0.0,"avg":1.0}}} 5 java.lang.Double \N \N 26 0 type/Float \N \N f f f f \N +426 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 protocolSourceObjectAddress type/Float \N t \N t 42 53 \N ProtocolSourceObjectAddress normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":497,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":64017.150155494295,"q3":64269.74948132557,"max":154364.0,"sd":12235.65666200459,"avg":66992.01400000001}}} 5 java.lang.Double \N \N 42 0 type/Float \N \N f f f f \N +433 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 protocolSourceCommandDuration type/* type/Category t \N t 38 53 \N ProtocolSourceCommandDuration normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.396}} 5 NULL auto-list \N 38 0 type/* \N \N f f f f \N +435 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 supervisedOfCommand type/Float \N t \N t 60 53 \N SupervisedOfCommand normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":303,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":282.1908354276982,"q3":38446.34759587073,"max":40129.0,"sd":17885.79419464339,"avg":17295.47}}} 5 java.lang.Double \N \N 60 0 type/Float \N \N f f f f \N +449 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 hihihiLimit type/Float \N t \N t 19 53 \N HihihiLimit normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.008},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 19 0 type/Float \N \N f f f f \N +477 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 eventTextFalse type/Text type/Category t \N t 9 53 \N EventTextFalse normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":5,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":3.07}}} 5 java.lang.String auto-list \N 9 0 type/Text \N \N f f f f \N +481 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 lololoLimit type/Float \N t \N t 31 53 \N LololoLimit normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":41,"nil%":0.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 31 0 type/Float \N \N f f f f \N +493 2024-05-15 23:33:27.690303+00 2024-05-15 23:33:35.058176+00 asduAtSource type/Text type/Source t \N t 52 53 452 AsduAtSource normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":4,"nil%":0.994},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.144}}} 5 java.lang.String auto-list \N 52 0 type/Text \N \N f f f f \N +421 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 transient type/Boolean type/Category t \N t 63 53 \N Transient normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 63 0 type/Boolean \N \N f f f f \N +367 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 commandsEnabled type/Boolean type/Category t \N t 7 54 \N CommandsEnabled normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.1666666666666667}} 5 java.lang.Boolean auto-list \N 7 0 type/Boolean \N \N f f f f \N +21 2024-05-15 23:19:51.666891+00 2024-05-15 23:20:04.970698+00 ACCOUNT_ID type/BigInteger type/FK t \N t 1 1 \N Account ID normal 7 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":589,"nil%":0.0}} 5 BIGINT \N \N 1 0 type/BigInteger \N \N f f f t \N +32 2024-05-15 23:19:51.789548+00 2024-05-15 23:20:04.970698+00 ACCOUNT_ID type/BigInteger type/FK t \N t 1 7 \N Account ID normal 7 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":1449,"nil%":0.0}} 5 BIGINT \N \N 1 0 type/BigInteger \N \N f f f t \N +34 2024-05-15 23:19:51.789548+00 2024-05-15 23:20:04.970698+00 PAYMENT type/Float \N t \N t 2 7 \N Payment normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":707,"nil%":0.0},"type":{"type/Number":{"min":13.7,"q1":233.1870107122195,"q3":400.5965814842149,"max":33714.6,"sd":763.7961603932441,"avg":519.4153400000004}}} 5 DOUBLE PRECISION \N \N 2 0 type/Float \N \N f f f f \N +207 2024-05-15 23:30:03.462468+00 2024-05-15 23:30:03.462468+00 chunk_schema type/* \N t \N t 2 24 \N Chunk Schema normal \N \N \N \N \N 0 name \N \N 2 0 type/* \N \N f f f \N \N +208 2024-05-15 23:30:03.462468+00 2024-05-15 23:30:03.462468+00 chunk_name type/* \N t \N t 3 24 \N Chunk Name normal \N \N \N \N \N 0 name \N \N 3 0 type/* \N \N f f f \N \N +209 2024-05-15 23:30:03.462468+00 2024-05-15 23:30:03.462468+00 compression_status type/Text \N t \N t 4 24 \N Compression Status normal \N \N \N \N \N 0 text \N \N 4 0 type/Text \N \N f f f \N \N +210 2024-05-15 23:30:03.462468+00 2024-05-15 23:30:03.462468+00 hypertable_name type/* \N t \N t 1 24 \N Hypertable Name normal \N \N \N \N \N 0 name \N \N 1 0 type/* \N \N f f f \N \N +203 2024-05-15 23:30:03.330748+00 2024-05-15 23:30:10.373328+00 num_times_job_run type/Integer \N t \N t 2 14 \N Num Times Job Run normal \N \N \N \N \N 0 int4 \N \N 2 0 type/Integer \N \N f f f f \N +204 2024-05-15 23:30:03.330748+00 2024-05-15 23:30:10.373328+00 last_time_job_run type/DateTimeWithLocalTZ \N t \N t 3 14 \N Last Time Job Run normal \N \N \N \N \N 0 timestamptz \N \N 3 0 type/DateTimeWithLocalTZ \N \N f f f f \N +205 2024-05-15 23:30:03.330748+00 2024-05-15 23:30:10.373328+00 chunk_id type/Integer type/FK t \N t 1 14 \N Chunk ID normal 73 \N \N \N \N 0 int4 \N \N 1 0 type/Integer \N \N t f f f \N +196 2024-05-15 23:30:03.16859+00 2024-05-15 23:30:20.337516+00 next_start type/DateTimeWithLocalTZ type/CreationTimestamp t \N t 3 12 \N Next Start normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2024-05-16T22:32:08.087102Z","latest":"2024-05-16T22:32:08.087102Z"}}} 5 timestamptz \N \N 3 0 type/DateTimeWithLocalTZ \N \N t f f f \N +47 2024-05-15 23:19:51.892237+00 2024-05-15 23:20:04.970698+00 NAME type/Text type/Name t The name of the user who owns an account t 4 3 \N Name normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2499,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":13.532}}} 5 CHARACTER VARYING \N \N 4 0 type/Text \N \N f f f f \N +1 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 SEATS type/Integer \N t \N t 6 6 \N Seats normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":102,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":2.4309856865966593,"q3":10.553778422458695,"max":1325.0,"sd":51.198301031505444,"avg":16.21763527054108}}} 5 INTEGER auto-list \N 6 0 type/Integer \N \N f f f f \N +18 2024-05-15 23:19:51.666891+00 2024-05-15 23:20:04.970698+00 PAGE_URL type/Text type/URL t \N t 4 1 \N Page URL normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":6,"nil%":0.1302},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":22.2674}}} 5 CHARACTER VARYING auto-list \N 4 0 type/Text \N \N f f f f \N +19 2024-05-15 23:19:51.666891+00 2024-05-15 23:20:04.970698+00 BUTTON_LABEL type/Text type/Category t \N t 5 1 \N Button Label normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":6,"nil%":0.8698},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":1.0552}}} 5 CHARACTER VARYING auto-list \N 5 0 type/Text \N \N f f f f \N +26 2024-05-15 23:19:51.736034+00 2024-05-15 23:20:04.970698+00 EMAIL type/Text type/Email t \N t 2 2 \N Email normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":642,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":1.0,"percent-state":0.0,"average-length":28.327102803738317}}} 5 CHARACTER VARYING auto-list \N 2 0 type/Text \N \N f f f f \N +22 2024-05-15 23:19:51.666891+00 2024-05-15 23:20:04.970698+00 TIMESTAMP type/DateTime \N t \N t 3 1 \N Timestamp normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":8576,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2022-03-15T00:18:25Z","latest":"2022-04-11T20:24:02Z"}}} 5 TIMESTAMP \N \N 3 0 type/DateTime \N \N f f f f \N +25 2024-05-15 23:19:51.736034+00 2024-05-15 23:20:04.970698+00 ACCOUNT_ID type/BigInteger type/FK t \N t 1 2 \N Account ID normal 7 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":642,"nil%":0.0}} 5 BIGINT \N \N 1 0 type/BigInteger \N \N f f f t \N +30 2024-05-15 23:19:51.789548+00 2024-05-15 23:20:04.970698+00 PLAN type/Text type/Category t \N t 4 7 \N Plan normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":3,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":5.2931}}} 5 CHARACTER VARYING auto-list \N 4 0 type/Text \N \N f f f f \N +29 2024-05-15 23:19:51.736034+00 2024-05-15 23:20:04.970698+00 DATE_RECEIVED type/DateTime \N t \N t 3 2 \N Date Received normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":576,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2020-11-20T00:00:00Z","latest":"2031-12-01T00:00:00Z"}}} 5 TIMESTAMP \N \N 3 0 type/DateTime \N \N f f f f \N +35 2024-05-15 23:19:51.789548+00 2024-05-15 23:20:04.970698+00 EXPECTED_INVOICE type/Boolean type/Category t \N t 3 7 \N Expected Invoice normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 BOOLEAN auto-list \N 3 0 type/Boolean \N \N f f f f \N +39 2024-05-15 23:19:51.842878+00 2024-05-15 23:20:04.970698+00 QUANTITY type/Integer type/Quantity t Number of products bought. t 8 5 \N Quantity normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":62,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":1.755882607764982,"q3":4.882654507928044,"max":100.0,"sd":4.214258386403798,"avg":3.7015}}} 5 INTEGER auto-list \N 8 0 type/Integer \N \N f f f f \N +41 2024-05-15 23:19:51.842878+00 2024-05-15 23:20:04.970698+00 CREATED_AT type/DateTime type/CreationTimestamp t The date and time an order was submitted. t 7 5 \N Created At normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":10001,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2022-04-30T18:56:13.352Z","latest":"2026-04-19T14:07:15.657Z"}}} 5 TIMESTAMP \N \N 7 0 type/DateTime \N \N f f f f \N +40 2024-05-15 23:19:51.842878+00 2024-05-15 23:20:04.970698+00 PRODUCT_ID type/Integer type/FK t The product ID. This is an internal identifier for the product, NOT the SKU. t 2 5 \N Product ID normal 62 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":200,"nil%":0.0}} 5 INTEGER \N \N 2 0 type/Integer \N \N f f f t \N +48 2024-05-15 23:19:51.892237+00 2024-05-15 23:20:04.970698+00 STATE type/Text type/State t The state or province of the account’s billing address t 7 3 \N State normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":49,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":1.0,"average-length":2.0}}} 5 CHARACTER auto-list \N 7 0 type/Text \N \N f f f f \N +67 2024-05-15 23:19:52.037423+00 2024-05-15 23:20:04.970698+00 BODY type/Text type/Description t The review the user left. Limited to 2000 characters. t 4 4 \N Body normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":1112,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":177.41996402877697}}} 5 CHARACTER VARYING \N \N 4 0 type/Text \N \N f f f f \N +358 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 clientId type/Text type/Category t \N t 55 54 \N ClientId normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":6,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":4.166666666666667}}} 5 java.lang.String auto-list \N 55 0 type/Text \N \N f f f f \N +233 2024-05-15 23:30:03.632612+00 2024-05-15 23:30:03.632612+00 value type/Float \N t \N t 2 21 \N Value normal \N \N \N \N \N 0 float8 \N \N 2 0 type/Float \N \N f f f \N \N +234 2024-05-15 23:30:03.632612+00 2024-05-15 23:30:03.632612+00 flags type/* \N t \N t 5 21 \N Flags normal \N \N \N \N \N 0 bit \N \N 5 0 type/* \N \N f f f \N \N +235 2024-05-15 23:30:03.632612+00 2024-05-15 23:30:03.632612+00 time type/DateTimeWithLocalTZ \N t \N t 0 21 \N Time normal \N \N \N \N \N 0 timestamptz \N \N 0 0 type/DateTimeWithLocalTZ \N \N f f f \N \N +236 2024-05-15 23:30:03.632612+00 2024-05-15 23:30:03.632612+00 value_json type/JSON type/SerializedJSON t \N t 4 21 \N Value Json details-only \N \N \N \N \N 0 jsonb \N \N 4 0 type/JSON \N \N f t f \N \N +173 2024-05-15 23:30:02.871621+00 2024-05-15 23:30:10.730319+00 id type/Integer type/PK t \N t 0 23 \N ID normal \N \N \N \N \N 0 serial \N \N 0 0 type/Integer \N \N f f t t \N +168 2024-05-15 23:30:02.733869+00 2024-05-15 23:30:20.337516+00 include_in_telemetry type/Boolean type/Category t \N t 2 27 \N Include In Telemetry normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 bool auto-list \N 2 0 type/Boolean \N \N t f f f \N +171 2024-05-15 23:30:02.799399+00 2024-05-15 23:30:10.265037+00 remote_transaction_id type/Text type/PK t \N t 1 46 \N Remote Transaction ID normal \N \N \N \N \N 0 text \N \N 1 0 type/Text \N \N t f f t \N +164 2024-05-15 23:30:02.683781+00 2024-05-15 23:30:10.608369+00 node_name type/* \N t \N t 2 20 \N Node Name normal \N \N \N \N \N 0 name \N \N 2 0 type/* \N \N t f f f \N +165 2024-05-15 23:30:02.683781+00 2024-05-15 23:30:10.608369+00 node_hypertable_id type/Integer \N t \N t 1 20 \N Node Hypertable ID normal \N \N \N \N \N 0 int4 \N \N 1 0 type/Integer \N \N f f f t \N +174 2024-05-15 23:30:02.871621+00 2024-05-15 23:30:10.730319+00 hypertable_id type/Integer type/FK t \N t 1 23 \N Hypertable ID normal 146 \N \N \N \N 0 int4 \N \N 1 0 type/Integer \N \N t f f t \N +175 2024-05-15 23:30:02.871621+00 2024-05-15 23:30:10.730319+00 tablespace_name type/* \N t \N t 2 23 \N Tablespace Name normal \N \N \N \N \N 0 name \N \N 2 0 type/* \N \N t f f f \N +170 2024-05-15 23:30:02.733869+00 2024-05-15 23:30:10.871051+00 key type/* type/PK t \N t 0 27 \N Key normal \N \N \N \N \N 0 name \N \N 0 0 type/* \N \N t f f t \N +162 2024-05-15 23:30:02.621132+00 2024-05-15 23:30:11.669965+00 orderby_nullsfirst type/Boolean \N t \N t 6 48 \N Orderby Nullsfirst normal \N \N \N \N \N 0 bool \N \N 6 0 type/Boolean \N \N f f f f \N +42 2024-05-15 23:19:51.842878+00 2024-05-15 23:20:04.970698+00 TOTAL type/Float \N t The total billed amount. t 5 5 \N Total normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":4426,"nil%":0.0},"type":{"type/Number":{"min":8.93914247937167,"q1":51.34535490743823,"q3":110.29428389265787,"max":159.34900526552292,"sd":34.26469575709948,"avg":80.35871658771228}}} 5 DOUBLE PRECISION \N \N 5 0 type/Float \N \N f f f f \N +44 2024-05-15 23:19:51.842878+00 2024-05-15 23:20:04.970698+00 SUBTOTAL type/Float \N t The raw, pre-tax cost of the order. Note that this might be different in the future from the product price due to promotions, credits, etc. t 3 5 \N Subtotal normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":340,"nil%":0.0},"type":{"type/Number":{"min":15.691943673970439,"q1":49.74894519060184,"q3":105.42965746993103,"max":148.22900526552291,"sd":32.53705013056317,"avg":77.01295465356547}}} 5 DOUBLE PRECISION \N \N 3 0 type/Float \N \N f f f f \N +53 2024-05-15 23:19:51.892237+00 2024-05-15 23:20:04.970698+00 PASSWORD type/Text \N t This is the salted password of the user. It should not be visible t 3 3 \N Password normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2500,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":36.0}}} 5 CHARACTER VARYING \N \N 3 0 type/Text \N \N f f f f \N +64 2024-05-15 23:19:51.970196+00 2024-05-15 23:20:04.970698+00 CREATED_AT type/DateTime type/CreationTimestamp t The date the product was added to our catalog. t 7 8 \N Created At normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":200,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2022-04-26T19:29:55.147Z","latest":"2025-04-15T13:34:19.931Z"}}} 5 TIMESTAMP \N \N 7 0 type/DateTime \N \N f f f f \N +66 2024-05-15 23:19:52.037423+00 2024-05-15 23:20:04.970698+00 RATING type/Integer type/Score t The rating (on a scale of 1-5) the user left. t 3 4 \N Rating normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":5,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":3.54744353181696,"q3":4.764807071650455,"max":5.0,"sd":1.0443899855660577,"avg":3.987410071942446}}} 5 SMALLINT auto-list \N 3 0 type/Integer \N \N f f f f \N +69 2024-05-15 23:19:52.037423+00 2024-05-15 23:20:04.970698+00 CREATED_AT type/DateTime type/CreationTimestamp t The day and time a review was written by a user. t 5 4 \N Created At normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":1112,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2022-06-03T00:37:05.818Z","latest":"2026-04-19T14:15:25.677Z"}}} 5 TIMESTAMP \N \N 5 0 type/DateTime \N \N f f f f \N +70 2024-05-15 23:19:52.037423+00 2024-05-15 23:20:04.970698+00 REVIEWER type/Text \N t The user who left the review t 2 4 \N Reviewer normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":1076,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.001798561151079137,"average-length":9.972122302158274}}} 5 CHARACTER VARYING \N \N 2 0 type/Text \N \N f f f f \N +71 2024-05-15 23:19:52.037423+00 2024-05-15 23:20:04.970698+00 PRODUCT_ID type/Integer type/FK t The product the review was for t 1 4 \N Product ID normal 62 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":176,"nil%":0.0}} 5 INTEGER \N \N 1 0 type/Integer \N \N f f f t \N +4 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 PLAN type/Text type/Category t \N t 4 6 \N Plan normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":3,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":5.1062124248497}}} 5 CHARACTER VARYING auto-list \N 4 0 type/Text \N \N f f f f \N +5 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 ACTIVE_SUBSCRIPTION type/Boolean type/Category t \N t 11 6 \N Active Subscription normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 BOOLEAN auto-list \N 11 0 type/Boolean \N \N f f f f \N +6 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 LATITUDE type/Float type/Latitude t \N t 13 6 \N Latitude normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2472,"nil%":4.008016032064128E-4},"type":{"type/Number":{"min":-48.75,"q1":19.430679334308675,"q3":47.24585743676113,"max":69.23111,"sd":23.492041679980137,"avg":31.35760681046913}}} 5 DOUBLE PRECISION \N \N 13 0 type/Float \N \N f f f f \N +10 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 LAST_NAME type/Text type/Name t \N t 3 6 \N Last Name normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":473,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":6.536673346693386}}} 5 CHARACTER VARYING auto-list \N 3 0 type/Text \N \N f f f f \N +58 2024-05-15 23:19:51.970196+00 2024-05-15 23:20:04.970698+00 CATEGORY type/Text type/Category t The type of product, valid values include: Doohicky, Gadget, Gizmo and Widget t 3 8 \N Category normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":4,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":6.375}}} 5 CHARACTER VARYING auto-list \N 3 0 type/Text \N \N f f f f \N +12 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 EMAIL type/Text type/Email t \N t 1 6 \N Email normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2494,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":1.0,"percent-state":0.0,"average-length":28.185971943887775}}} 5 CHARACTER VARYING \N \N 1 0 type/Text \N \N f f f f \N +2 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 TRIAL_ENDS_AT type/DateTime \N t \N t 8 6 \N Trial Ends At normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":1712,"nil%":0.001202404809619238},"type":{"type/DateTime":{"earliest":"2020-09-30T12:00:00Z","latest":"2031-10-25T12:00:00Z"}}} 5 TIMESTAMP \N \N 8 0 type/DateTime \N \N f f f f \N +14 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 TRIAL_CONVERTED type/Boolean type/Category t \N t 10 6 \N Trial Converted normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 BOOLEAN auto-list \N 10 0 type/Boolean \N \N f f f f \N +56 2024-05-15 23:19:51.892237+00 2024-05-15 23:20:04.970698+00 CREATED_AT type/DateTime type/CreationTimestamp t The date the user record was created. Also referred to as the user’s "join date" t 12 3 \N Created At normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2500,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2022-04-19T21:35:18.752Z","latest":"2025-04-19T14:06:27.3Z"}}} 5 TIMESTAMP \N \N 12 0 type/DateTime \N \N f f f f \N +61 2024-05-15 23:19:51.970196+00 2024-05-15 23:20:04.970698+00 RATING type/Float type/Score t The average rating users have given the product. This ranges from 1 - 5 t 6 8 \N Rating normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":23,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":3.5120465053408525,"q3":4.216124969497314,"max":5.0,"sd":1.3605488657451452,"avg":3.4715}}} 5 DOUBLE PRECISION \N \N 6 0 type/Float \N \N f f f f \N +54 2024-05-15 23:19:51.892237+00 2024-05-15 23:20:04.970698+00 ZIP type/Text type/ZipCode t The postal code of the account’s billing address t 10 3 \N Zip normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2234,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":5.0}}} 5 CHARACTER \N \N 10 0 type/Text \N \N f f f f \N +38 2024-05-15 23:19:51.842878+00 2024-05-15 23:20:04.970698+00 TAX type/Float \N t This is the amount of local and federal taxes that are collected on the purchase. Note that other governmental fees on some products are not included here, but instead are accounted for in the subtotal. t 4 5 \N Tax normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":797,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":2.273340386603857,"q3":5.337275338216307,"max":11.12,"sd":2.3206651358900316,"avg":3.8722100000000004}}} 5 DOUBLE PRECISION \N \N 4 0 type/Float \N \N f f f f \N +211 2024-05-15 23:30:03.462468+00 2024-05-15 23:30:03.462468+00 compressed_heap_size type/BigInteger \N t \N t 9 24 \N Compressed Heap Size normal \N \N \N \N \N 0 int8 \N \N 9 0 type/BigInteger \N \N f f f \N \N +212 2024-05-15 23:30:03.462468+00 2024-05-15 23:30:03.462468+00 uncompressed_toast_size type/BigInteger \N t \N t 7 24 \N Uncompressed Toast Size normal \N \N \N \N \N 0 int8 \N \N 7 0 type/BigInteger \N \N f f f \N \N +43 2024-05-15 23:19:51.842878+00 2024-05-15 23:20:04.970698+00 USER_ID type/Integer type/FK t The id of the user who made this order. Note that in some cases where an order was created on behalf of a customer who phoned the order in, this might be the employee who handled the request. t 1 5 \N User ID normal 46 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":929,"nil%":0.0}} 5 INTEGER \N \N 1 0 type/Integer \N \N f f f t \N +49 2024-05-15 23:19:51.892237+00 2024-05-15 23:20:04.970698+00 BIRTH_DATE type/Date \N t The date of birth of the user t 9 3 \N Birth Date normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2308,"nil%":0.0},"type":{"type/DateTime":{"earliest":"1958-04-26","latest":"2000-04-03"}}} 5 DATE \N \N 9 0 type/Date \N \N f f f f \N +52 2024-05-15 23:19:51.892237+00 2024-05-15 23:20:04.970698+00 ADDRESS type/Text \N t The street address of the account’s billing address t 1 3 \N Address normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2490,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":20.85}}} 5 CHARACTER VARYING \N \N 1 0 type/Text \N \N f f f f \N +59 2024-05-15 23:19:51.970196+00 2024-05-15 23:20:04.970698+00 PRICE type/Float \N t The list price of the product. Note that this is not always the price the product sold for due to discounts, promotions, etc. t 5 8 \N Price normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":170,"nil%":0.0},"type":{"type/Number":{"min":15.691943673970439,"q1":37.25154462926434,"q3":75.45898071609447,"max":98.81933684368194,"sd":21.711481557852057,"avg":55.74639966792074}}} 5 DOUBLE PRECISION \N \N 5 0 type/Float \N \N f f f f \N +11 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 SOURCE type/Text type/Source t \N t 5 6 \N Source normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":5,"nil%":0.3346693386773547},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":4.4705410821643286}}} 5 CHARACTER VARYING auto-list \N 5 0 type/Text \N \N f f f f \N +13 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 CREATED_AT type/DateTime type/CreationTimestamp t \N t 7 6 \N Created At normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2495,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2020-09-15T16:11:50Z","latest":"2031-10-10T19:14:48Z"}}} 5 TIMESTAMP \N \N 7 0 type/DateTime \N \N f f f f \N +15 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 COUNTRY type/Text type/Country t \N t 15 6 \N Country normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":134,"nil%":8.016032064128256E-4},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.1130260521042084,"average-length":1.9983967935871743}}} 5 CHARACTER auto-list \N 15 0 type/Text \N \N f f f f \N +23 2024-05-15 23:19:51.736034+00 2024-05-15 23:20:04.970698+00 RATING type/Integer type/Score t \N t 4 2 \N Rating normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":5,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":2.7545289729206877,"q3":4.004191340512663,"max":5.0,"sd":0.8137255616667736,"avg":3.3629283489096573}}} 5 SMALLINT auto-list \N 4 0 type/Integer \N \N f f f f \N +213 2024-05-15 23:30:03.462468+00 2024-05-15 23:30:03.462468+00 uncompressed_heap_size type/BigInteger \N t \N t 5 24 \N Uncompressed Heap Size normal \N \N \N \N \N 0 int8 \N \N 5 0 type/BigInteger \N \N f f f \N \N +28 2024-05-15 23:19:51.736034+00 2024-05-15 23:20:04.970698+00 RATING_MAPPED type/Text type/Category t \N t 5 2 \N Rating Mapped normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":5,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":6.453271028037383}}} 5 CHARACTER VARYING auto-list \N 5 0 type/Text \N \N f f f f \N +36 2024-05-15 23:19:51.842878+00 2024-05-15 23:20:04.970698+00 DISCOUNT type/Float type/Discount t Discount amount. t 6 5 \N Discount normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":701,"nil%":0.898},"type":{"type/Number":{"min":0.17088996672584322,"q1":2.9786226681458743,"q3":7.338187788658235,"max":61.69684269960571,"sd":3.053663125001991,"avg":5.161255547580326}}} 5 DOUBLE PRECISION \N \N 6 0 type/Float \N \N f f f f \N +45 2024-05-15 23:19:51.892237+00 2024-05-15 23:20:04.970698+00 SOURCE type/Text type/Source t The channel through which we acquired this user. Valid values include: Affiliate, Facebook, Google, Organic and Twitter t 8 3 \N Source normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":5,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":7.4084}}} 5 CHARACTER VARYING auto-list \N 8 0 type/Text \N \N f f f f \N +55 2024-05-15 23:19:51.892237+00 2024-05-15 23:20:04.970698+00 CITY type/Text type/City t The city of the account’s billing address t 5 3 \N City normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":1966,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.002,"average-length":8.284}}} 5 CHARACTER VARYING \N \N 5 0 type/Text \N \N f f f f \N +57 2024-05-15 23:19:51.892237+00 2024-05-15 23:20:04.970698+00 LATITUDE type/Float type/Latitude t This is the latitude of the user on sign-up. It might be updated in the future to the last seen location. t 11 3 \N Latitude normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2491,"nil%":0.0},"type":{"type/Number":{"min":25.775827,"q1":35.302705923023126,"q3":43.773802584662,"max":70.6355001,"sd":6.390832341883712,"avg":39.87934670484002}}} 5 DOUBLE PRECISION \N \N 11 0 type/Float \N \N f f f f \N +63 2024-05-15 23:19:51.970196+00 2024-05-15 23:20:04.970698+00 EAN type/Text \N t The international article number. A 13 digit number uniquely identifying the product. t 1 8 \N Ean normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":200,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":13.0}}} 5 CHARACTER auto-list \N 1 0 type/Text \N \N f f f f \N +3 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 CANCELED_AT type/DateTime type/CancelationTimestamp t \N t 9 6 \N Canceled At normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2021,"nil%":0.1859719438877756},"type":{"type/DateTime":{"earliest":"2020-10-01T15:43:40Z","latest":"2032-06-03T14:01:15Z"}}} 5 TIMESTAMP \N \N 9 0 type/DateTime \N \N f f f f \N +16 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 LONGITUDE type/Float type/Longitude t \N t 14 6 \N Longitude normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2484,"nil%":4.008016032064128E-4},"type":{"type/Number":{"min":-175.06667,"q1":-55.495929410727236,"q3":28.627359769389155,"max":176.21667,"sd":68.51011002740533,"avg":2.6042336031796345}}} 5 DOUBLE PRECISION \N \N 14 0 type/Float \N \N f f f f \N +9 2024-05-15 23:19:51.489511+00 2024-05-15 23:20:04.970698+00 FIRST_NAME type/Text type/Name t \N t 2 6 \N First Name normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":1687,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.001603206412825651,"average-length":5.997595190380761}}} 5 CHARACTER VARYING \N \N 2 0 type/Text \N \N f f f f \N +51 2024-05-15 23:19:51.892237+00 2024-05-15 23:20:04.970698+00 EMAIL type/Text type/Email t The contact email for the account. t 2 3 \N Email normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2500,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":1.0,"percent-state":0.0,"average-length":24.1824}}} 5 CHARACTER VARYING \N \N 2 0 type/Text \N \N f f f f \N +50 2024-05-15 23:19:51.892237+00 2024-05-15 23:20:04.970698+00 LONGITUDE type/Float type/Longitude t This is the longitude of the user on sign-up. It might be updated in the future to the last seen location. t 6 3 \N Longitude normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":2491,"nil%":0.0},"type":{"type/Number":{"min":-166.5425726,"q1":-101.58350792373135,"q3":-84.65289348288829,"max":-67.96735199999999,"sd":15.399698968175663,"avg":-95.18741780363999}}} 5 DOUBLE PRECISION \N \N 6 0 type/Float \N \N f f f f \N +214 2024-05-15 23:30:03.462468+00 2024-05-15 23:30:03.462468+00 compressed_total_size type/BigInteger \N t \N t 12 24 \N Compressed Total Size normal \N \N \N \N \N 0 int8 \N \N 12 0 type/BigInteger \N \N f f f \N \N +65 2024-05-15 23:19:51.970196+00 2024-05-15 23:20:04.970698+00 TITLE type/Text type/Title t The name of the product as it should be displayed to customers. t 2 8 \N Title normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":199,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":21.495}}} 5 CHARACTER VARYING auto-list \N 2 0 type/Text \N \N f f f f \N +27 2024-05-15 23:19:51.736034+00 2024-05-15 23:20:08.104194+00 BODY type/Text \N t \N f 6 2 \N Body normal \N 2024-05-15 23:20:04.970698+00 \N \N {"global":{"distinct-count":642,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":438.15264797507785}}} 5 CHARACTER LARGE OBJECT \N \N 6 0 type/Text \N \N f f f f \N +215 2024-05-15 23:30:03.462468+00 2024-05-15 23:30:03.462468+00 uncompressed_index_size type/BigInteger \N t \N t 6 24 \N Uncompressed Index Size normal \N \N \N \N \N 0 int8 \N \N 6 0 type/BigInteger \N \N f f f \N \N +216 2024-05-15 23:30:03.462468+00 2024-05-15 23:30:03.462468+00 compressed_toast_size type/BigInteger \N t \N t 11 24 \N Compressed Toast Size normal \N \N \N \N \N 0 int8 \N \N 11 0 type/BigInteger \N \N f f f \N \N +217 2024-05-15 23:30:03.462468+00 2024-05-15 23:30:03.462468+00 compressed_index_size type/BigInteger \N t \N t 10 24 \N Compressed Index Size normal \N \N \N \N \N 0 int8 \N \N 10 0 type/BigInteger \N \N f f f \N \N +218 2024-05-15 23:30:03.462468+00 2024-05-15 23:30:03.462468+00 hypertable_schema type/* \N t \N t 0 24 \N Hypertable Schema normal \N \N \N \N \N 0 name \N \N 0 0 type/* \N \N f f f \N \N +219 2024-05-15 23:30:03.462468+00 2024-05-15 23:30:03.462468+00 uncompressed_total_size type/BigInteger \N t \N t 8 24 \N Uncompressed Total Size normal \N \N \N \N \N 0 int8 \N \N 8 0 type/BigInteger \N \N f f f \N \N +220 2024-05-15 23:30:03.539485+00 2024-05-15 23:30:03.539485+00 total_bytes type/BigInteger \N t \N t 6 35 \N Total Bytes normal \N \N \N \N \N 0 int8 \N \N 6 0 type/BigInteger \N \N f f f \N \N +221 2024-05-15 23:30:03.539485+00 2024-05-15 23:30:03.539485+00 compressed_heap_size type/BigInteger \N t \N t 12 35 \N Compressed Heap Size normal \N \N \N \N \N 0 int8 \N \N 12 0 type/BigInteger \N \N f f f \N \N +222 2024-05-15 23:30:03.539485+00 2024-05-15 23:30:03.539485+00 hypertable_id type/Integer \N t \N t 2 35 \N Hypertable ID normal \N \N \N \N \N 0 int4 \N \N 2 0 type/Integer \N \N f f f \N \N +223 2024-05-15 23:30:03.539485+00 2024-05-15 23:30:03.539485+00 hypertable_name type/* \N t \N t 1 35 \N Hypertable Name normal \N \N \N \N \N 0 name \N \N 1 0 type/* \N \N f f f \N \N +224 2024-05-15 23:30:03.539485+00 2024-05-15 23:30:03.539485+00 index_bytes type/BigInteger \N t \N t 7 35 \N Index Bytes normal \N \N \N \N \N 0 int8 \N \N 7 0 type/BigInteger \N \N f f f \N \N +225 2024-05-15 23:30:03.539485+00 2024-05-15 23:30:03.539485+00 toast_bytes type/BigInteger \N t \N t 8 35 \N Toast Bytes normal \N \N \N \N \N 0 int8 \N \N 8 0 type/BigInteger \N \N f f f \N \N +226 2024-05-15 23:30:03.539485+00 2024-05-15 23:30:03.539485+00 chunk_id type/Integer \N t \N t 3 35 \N Chunk ID normal \N \N \N \N \N 0 int4 \N \N 3 0 type/Integer \N \N f f f \N \N +227 2024-05-15 23:30:03.539485+00 2024-05-15 23:30:03.539485+00 chunk_schema type/* \N t \N t 4 35 \N Chunk Schema normal \N \N \N \N \N 0 name \N \N 4 0 type/* \N \N f f f \N \N +228 2024-05-15 23:30:03.539485+00 2024-05-15 23:30:03.539485+00 compressed_total_size type/BigInteger \N t \N t 9 35 \N Compressed Total Size normal \N \N \N \N \N 0 int8 \N \N 9 0 type/BigInteger \N \N f f f \N \N +229 2024-05-15 23:30:03.539485+00 2024-05-15 23:30:03.539485+00 chunk_name type/* \N t \N t 5 35 \N Chunk Name normal \N \N \N \N \N 0 name \N \N 5 0 type/* \N \N f f f \N \N +230 2024-05-15 23:30:03.539485+00 2024-05-15 23:30:03.539485+00 compressed_toast_size type/BigInteger \N t \N t 11 35 \N Compressed Toast Size normal \N \N \N \N \N 0 int8 \N \N 11 0 type/BigInteger \N \N f f f \N \N +231 2024-05-15 23:30:03.539485+00 2024-05-15 23:30:03.539485+00 compressed_index_size type/BigInteger \N t \N t 10 35 \N Compressed Index Size normal \N \N \N \N \N 0 int8 \N \N 10 0 type/BigInteger \N \N f f f \N \N +232 2024-05-15 23:30:03.539485+00 2024-05-15 23:30:03.539485+00 hypertable_schema type/* \N t \N t 0 35 \N Hypertable Schema normal \N \N \N \N \N 0 name \N \N 0 0 type/* \N \N f f f \N \N +237 2024-05-15 23:30:03.632612+00 2024-05-15 23:30:03.632612+00 time_tag_at_source type/DateTimeWithLocalTZ \N t \N t 3 21 \N Time Tag At Source normal \N \N \N \N \N 0 timestamptz \N \N 3 0 type/DateTimeWithLocalTZ \N \N f f f \N \N +238 2024-05-15 23:30:03.632612+00 2024-05-15 23:30:03.632612+00 metric type/Text \N t \N t 1 21 \N Metric normal \N \N \N \N \N 0 text \N \N 1 0 type/Text \N \N f f f \N \N +239 2024-05-15 23:30:03.710767+00 2024-05-15 23:30:03.710767+00 value type/Float \N t \N t 2 15 \N Value normal \N \N \N \N \N 0 float8 \N \N 2 0 type/Float \N \N f f f \N \N +240 2024-05-15 23:30:03.710767+00 2024-05-15 23:30:03.710767+00 invalid type/Boolean \N t \N t 5 15 \N Invalid normal \N \N \N \N \N 0 bool \N \N 5 0 type/Boolean \N \N f f f \N \N +241 2024-05-15 23:30:03.710767+00 2024-05-15 23:30:03.710767+00 point_key type/Text \N t \N t 3 15 \N Point Key normal \N \N \N \N \N 0 text \N \N 3 0 type/Text \N \N f f f \N \N +242 2024-05-15 23:30:03.710767+00 2024-05-15 23:30:03.710767+00 value_string type/Text \N t \N t 4 15 \N Value String normal \N \N \N \N \N 0 text \N \N 4 0 type/Text \N \N f f f \N \N +243 2024-05-15 23:30:03.710767+00 2024-05-15 23:30:03.710767+00 metric type/Text \N t \N t 0 15 \N Metric normal \N \N \N \N \N 0 text \N \N 0 0 type/Text \N \N f f f \N \N +244 2024-05-15 23:30:03.710767+00 2024-05-15 23:30:03.710767+00 group1 type/Text \N t \N t 7 15 \N Group1 normal \N \N \N \N \N 0 text \N \N 7 0 type/Text \N \N f f f \N \N +245 2024-05-15 23:30:03.710767+00 2024-05-15 23:30:03.710767+00 description type/Text \N t \N t 6 15 \N Description normal \N \N \N \N \N 0 text \N \N 6 0 type/Text \N \N f f f \N \N +246 2024-05-15 23:30:03.710767+00 2024-05-15 23:30:03.710767+00 time type/DateTimeWithLocalTZ \N t \N t 1 15 \N Time normal \N \N \N \N \N 0 timestamptz \N \N 1 0 type/DateTimeWithLocalTZ \N \N f f f \N \N +410 2024-05-15 23:33:26.40616+00 2024-05-15 23:33:35.058176+00 nodeNames type/Array \N t \N t 5 51 \N NodeNames normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 clojure.lang.PersistentVector \N \N 5 0 type/Array \N \N f f f f \N +447 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 updatesCnt type/Float \N t \N t 67 53 \N UpdatesCnt normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":70,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":6.3534612262134225,"max":63998.0,"sd":6822.722506970891,"avg":1347.77}}} 5 java.lang.Double \N \N 67 0 type/Float \N \N f f f f \N +256 2024-05-15 23:30:03.920161+00 2024-05-15 23:30:03.920161+00 chunk_schema type/* \N t \N t 2 40 \N Chunk Schema normal \N \N \N \N \N 0 name \N \N 2 0 type/* \N \N f f f \N \N +257 2024-05-15 23:30:03.920161+00 2024-05-15 23:30:03.920161+00 num_replicas type/BigInteger \N t \N t 5 40 \N Num Replicas normal \N \N \N \N \N 0 int8 \N \N 5 0 type/BigInteger \N \N f f f \N \N +258 2024-05-15 23:30:03.920161+00 2024-05-15 23:30:03.920161+00 chunk_name type/* \N t \N t 3 40 \N Chunk Name normal \N \N \N \N \N 0 name \N \N 3 0 type/* \N \N f f f \N \N +259 2024-05-15 23:30:03.920161+00 2024-05-15 23:30:03.920161+00 hypertable_name type/* \N t \N t 1 40 \N Hypertable Name normal \N \N \N \N \N 0 name \N \N 1 0 type/* \N \N f f f \N \N +260 2024-05-15 23:30:03.920161+00 2024-05-15 23:30:03.920161+00 desired_num_replicas type/Integer \N t \N t 4 40 \N Desired Num Replicas normal \N \N \N \N \N 0 int2 \N \N 4 0 type/Integer \N \N f f f \N \N +247 2024-05-15 23:30:03.778214+00 2024-05-15 23:30:11.004899+00 time_tag_at_source type/DateTimeWithLocalTZ \N t Field GMT timestamp for the event (null if not available) t 4 29 \N Time Tag At Source normal \N \N \N \N \N 0 timestamptz \N \N 4 0 type/DateTimeWithLocalTZ \N \N f f f f \N +248 2024-05-15 23:30:03.778214+00 2024-05-15 23:30:11.004899+00 tag type/Text type/PK t String key for the point t 0 29 \N Tag normal \N \N \N \N \N 0 text \N \N 0 0 type/Text \N \N t f f t \N +251 2024-05-15 23:30:03.778214+00 2024-05-15 23:30:11.004899+00 value type/Float \N t Value as a double t 2 29 \N Value normal \N \N \N \N \N 0 float8 \N \N 2 0 type/Float \N \N t f f f \N +261 2024-05-15 23:30:03.920161+00 2024-05-15 23:30:03.920161+00 non_replica_nodes type/* \N t \N t 7 40 \N Non Replica Nodes normal \N \N \N \N \N 0 _name \N \N 7 0 type/* \N \N f f f \N \N +262 2024-05-15 23:30:03.920161+00 2024-05-15 23:30:03.920161+00 replica_nodes type/* \N t \N t 6 40 \N Replica Nodes normal \N \N \N \N \N 0 _name \N \N 6 0 type/* \N \N f f f \N \N +263 2024-05-15 23:30:03.920161+00 2024-05-15 23:30:03.920161+00 hypertable_schema type/* \N t \N t 0 40 \N Hypertable Schema normal \N \N \N \N \N 0 name \N \N 0 0 type/* \N \N f f f \N \N +264 2024-05-15 23:30:04.641935+00 2024-05-15 23:30:04.641935+00 chunk_schema type/* \N t \N t 2 31 \N Chunk Schema normal \N \N \N \N \N 0 name \N \N 2 0 type/* \N \N f f f \N \N +265 2024-05-15 23:30:04.641935+00 2024-05-15 23:30:04.641935+00 range_end type/DateTimeWithLocalTZ \N t \N t 7 31 \N Range End normal \N \N \N \N \N 0 timestamptz \N \N 7 0 type/DateTimeWithLocalTZ \N \N f f f \N \N +266 2024-05-15 23:30:04.641935+00 2024-05-15 23:30:04.641935+00 is_compressed type/Boolean \N t \N t 10 31 \N Is Compressed normal \N \N \N \N \N 0 bool \N \N 10 0 type/Boolean \N \N f f f \N \N +267 2024-05-15 23:30:04.641935+00 2024-05-15 23:30:04.641935+00 chunk_name type/* \N t \N t 3 31 \N Chunk Name normal \N \N \N \N \N 0 name \N \N 3 0 type/* \N \N f f f \N \N +268 2024-05-15 23:30:04.641935+00 2024-05-15 23:30:04.641935+00 data_nodes type/* \N t \N t 12 31 \N Data Nodes normal \N \N \N \N \N 0 _name \N \N 12 0 type/* \N \N f f f \N \N +269 2024-05-15 23:30:04.641935+00 2024-05-15 23:30:04.641935+00 hypertable_name type/* \N t \N t 1 31 \N Hypertable Name normal \N \N \N \N \N 0 name \N \N 1 0 type/* \N \N f f f \N \N +270 2024-05-15 23:30:04.641935+00 2024-05-15 23:30:04.641935+00 chunk_tablespace type/* \N t \N t 11 31 \N Chunk Tablespace normal \N \N \N \N \N 0 name \N \N 11 0 type/* \N \N f f f \N \N +271 2024-05-15 23:30:04.641935+00 2024-05-15 23:30:04.641935+00 primary_dimension_type type/* \N t \N t 5 31 \N Primary Dimension Type normal \N \N \N \N \N 0 regtype \N \N 5 0 type/* \N \N f f f \N \N +272 2024-05-15 23:30:04.641935+00 2024-05-15 23:30:04.641935+00 range_start_integer type/BigInteger \N t \N t 8 31 \N Range Start Integer normal \N \N \N \N \N 0 int8 \N \N 8 0 type/BigInteger \N \N f f f \N \N +273 2024-05-15 23:30:04.641935+00 2024-05-15 23:30:04.641935+00 range_end_integer type/BigInteger \N t \N t 9 31 \N Range End Integer normal \N \N \N \N \N 0 int8 \N \N 9 0 type/BigInteger \N \N f f f \N \N +274 2024-05-15 23:30:04.641935+00 2024-05-15 23:30:04.641935+00 range_start type/DateTimeWithLocalTZ \N t \N t 6 31 \N Range Start normal \N \N \N \N \N 0 timestamptz \N \N 6 0 type/DateTimeWithLocalTZ \N \N f f f \N \N +275 2024-05-15 23:30:04.641935+00 2024-05-15 23:30:04.641935+00 primary_dimension type/* \N t \N t 4 31 \N Primary Dimension normal \N \N \N \N \N 0 name \N \N 4 0 type/* \N \N f f f \N \N +276 2024-05-15 23:30:04.641935+00 2024-05-15 23:30:04.641935+00 hypertable_schema type/* \N t \N t 0 31 \N Hypertable Schema normal \N \N \N \N \N 0 name \N \N 0 0 type/* \N \N f f f \N \N +277 2024-05-15 23:30:04.948232+00 2024-05-15 23:30:04.948232+00 orderby_asc type/Boolean \N t \N t 5 38 \N Orderby Asc normal \N \N \N \N \N 0 bool \N \N 5 0 type/Boolean \N \N f f f \N \N +278 2024-05-15 23:30:04.948232+00 2024-05-15 23:30:04.948232+00 hypertable_name type/* \N t \N t 1 38 \N Hypertable Name normal \N \N \N \N \N 0 name \N \N 1 0 type/* \N \N f f f \N \N +279 2024-05-15 23:30:04.948232+00 2024-05-15 23:30:04.948232+00 segmentby_column_index type/Integer \N t \N t 3 38 \N Segmentby Column Index normal \N \N \N \N \N 0 int2 \N \N 3 0 type/Integer \N \N f f f \N \N +280 2024-05-15 23:30:04.948232+00 2024-05-15 23:30:04.948232+00 attname type/* \N t \N t 2 38 \N Attname normal \N \N \N \N \N 0 name \N \N 2 0 type/* \N \N f f f \N \N +281 2024-05-15 23:30:04.948232+00 2024-05-15 23:30:04.948232+00 orderby_column_index type/Integer \N t \N t 4 38 \N Orderby Column Index normal \N \N \N \N \N 0 int2 \N \N 4 0 type/Integer \N \N f f f \N \N +282 2024-05-15 23:30:04.948232+00 2024-05-15 23:30:04.948232+00 orderby_nullsfirst type/Boolean \N t \N t 6 38 \N Orderby Nullsfirst normal \N \N \N \N \N 0 bool \N \N 6 0 type/Boolean \N \N f f f \N \N +283 2024-05-15 23:30:04.948232+00 2024-05-15 23:30:04.948232+00 hypertable_schema type/* \N t \N t 0 38 \N Hypertable Schema normal \N \N \N \N \N 0 name \N \N 0 0 type/* \N \N f f f \N \N +284 2024-05-15 23:30:05.624898+00 2024-05-15 23:30:05.624898+00 materialization_hypertable_name type/* \N t \N t 7 36 \N Materialization Hypertable Name normal \N \N \N \N \N 0 name \N \N 7 0 type/* \N \N f f f \N \N +285 2024-05-15 23:30:05.624898+00 2024-05-15 23:30:05.624898+00 view_owner type/* \N t \N t 4 36 \N View Owner normal \N \N \N \N \N 0 name \N \N 4 0 type/* \N \N f f f \N \N +286 2024-05-15 23:30:05.624898+00 2024-05-15 23:30:05.624898+00 materialization_hypertable_schema type/* \N t \N t 6 36 \N Materialization Hypertable Schema normal \N \N \N \N \N 0 name \N \N 6 0 type/* \N \N f f f \N \N +287 2024-05-15 23:30:05.624898+00 2024-05-15 23:30:05.624898+00 hypertable_name type/* \N t \N t 1 36 \N Hypertable Name normal \N \N \N \N \N 0 name \N \N 1 0 type/* \N \N f f f \N \N +288 2024-05-15 23:30:05.624898+00 2024-05-15 23:30:05.624898+00 materialized_only type/Boolean \N t \N t 5 36 \N Materialized Only normal \N \N \N \N \N 0 bool \N \N 5 0 type/Boolean \N \N f f f \N \N +289 2024-05-15 23:30:05.624898+00 2024-05-15 23:30:05.624898+00 view_name type/* \N t \N t 3 36 \N View Name normal \N \N \N \N \N 0 name \N \N 3 0 type/* \N \N f f f \N \N +290 2024-05-15 23:30:05.624898+00 2024-05-15 23:30:05.624898+00 view_schema type/* \N t \N t 2 36 \N View Schema normal \N \N \N \N \N 0 name \N \N 2 0 type/* \N \N f f f \N \N +291 2024-05-15 23:30:05.624898+00 2024-05-15 23:30:05.624898+00 view_definition type/Text \N t \N t 8 36 \N View Definition normal \N \N \N \N \N 0 text \N \N 8 0 type/Text \N \N f f f \N \N +292 2024-05-15 23:30:05.624898+00 2024-05-15 23:30:05.624898+00 hypertable_schema type/* \N t \N t 0 36 \N Hypertable Schema normal \N \N \N \N \N 0 name \N \N 0 0 type/* \N \N f f f \N \N +422 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 alarmDisabled type/Boolean type/Category t \N t 2 53 \N AlarmDisabled normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 2 0 type/Boolean \N \N f f f f \N +423 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 commandOfSupervised type/Float \N t \N t 7 53 \N CommandOfSupervised normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":0.0,"max":0.0,"sd":0.0,"avg":0.0}}} 5 java.lang.Double \N \N 7 0 type/Float \N \N f f f f \N +377 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:28.111388+00 _id type/MongoBSONID type/PK t \N t 0 54 \N ID normal \N \N \N \N \N 0 org.bson.types.ObjectId \N \N 0 0 type/MongoBSONID \N \N f f f t \N +294 2024-05-15 23:30:05.744443+00 2024-05-15 23:30:05.744443+00 options type/* \N t \N t 2 9 \N Options normal \N \N \N \N \N 0 _text \N \N 2 0 type/* \N \N f f f \N \N +295 2024-05-15 23:30:05.744443+00 2024-05-15 23:30:05.744443+00 node_name type/* \N t \N t 0 9 \N Node Name normal \N \N \N \N \N 0 name \N \N 0 0 type/* \N \N f f f \N \N +412 2024-05-15 23:33:26.40616+00 2024-05-15 23:33:35.058176+00 activeNodeKeepAliveTimeTag type/Instant \N t \N t 7 51 \N ActiveNodeKeepAliveTimeTag normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":4,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2020-05-14T20:09:50.557Z","latest":"2021-02-23T10:54:54.429Z"}}} 5 java.time.Instant \N \N 7 0 type/Instant \N \N f f f f \N +439 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 hysteresis type/Float \N t \N t 22 53 \N Hysteresis normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":0.0,"max":0.0,"sd":0.0,"avg":0.0}}} 5 java.lang.Double \N \N 22 0 type/Float \N \N f f f f \N +442 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 group2 type/Text \N t \N t 15 53 \N Group2 normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":96,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":10.624}}} 5 java.lang.String auto-list \N 15 0 type/Text \N \N f f f f \N +451 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 annotation type/Text type/Category t \N t 5 53 \N Annotation normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.0}}} 5 java.lang.String auto-list \N 5 0 type/Text \N \N f f f f \N +361 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 protocolDriver type/Text type/Category t \N t 1 54 \N ProtocolDriver normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.6666666666666667},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":1.3333333333333333}}} 5 java.lang.String auto-list \N 1 0 type/Text \N \N f f f f \N +332 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:07.803986+00 config type/JSON type/SerializedJSON t \N t 10 16 \N Config details-only \N \N \N \N \N 0 jsonb \N \N 10 0 type/JSON \N \N f t f \N \N +330 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 scheduled type/Boolean type/Category t \N t 9 16 \N Scheduled normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 bool auto-list \N 9 0 type/Boolean \N \N f f f \N \N +95 2024-05-15 23:30:01.95413+00 2024-05-15 23:30:10.118896+00 chunk_id type/Integer type/FK t \N t 0 43 \N Chunk ID normal 73 \N \N \N \N 0 int4 \N \N 0 0 type/Integer \N \N t f f t \N +96 2024-05-15 23:30:01.95413+00 2024-05-15 23:30:10.118896+00 index_name type/* \N t \N t 1 43 \N Index Name normal \N \N \N \N \N 0 name \N \N 1 0 type/* \N \N t f f f \N +97 2024-05-15 23:30:01.95413+00 2024-05-15 23:30:10.118896+00 hypertable_id type/Integer type/FK t \N t 2 43 \N Hypertable ID normal 146 \N \N \N \N 0 int4 \N \N 2 0 type/Integer \N \N t f f t \N +177 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:10.227952+00 config type/JSON type/SerializedJSON t \N t 11 45 \N Config details-only \N \N \N \N \N 0 jsonb \N \N 11 0 type/JSON \N \N f t f f \N +178 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:10.227952+00 id type/Integer type/PK t \N t 0 45 \N ID normal \N \N \N \N \N 0 serial \N \N 0 0 type/Integer \N \N f f t t \N +172 2024-05-15 23:30:02.799399+00 2024-05-15 23:30:10.265037+00 data_node_name type/* \N t \N t 0 46 \N Data Node Name normal \N \N \N \N \N 0 name \N \N 0 0 type/* \N \N f f f t \N +206 2024-05-15 23:30:03.330748+00 2024-05-15 23:30:10.373328+00 job_id type/Integer type/FK t \N t 0 14 \N Job ID normal 178 \N \N \N \N 0 int4 \N \N 0 0 type/Integer \N \N t f f t \N +75 2024-05-15 23:30:01.594118+00 2024-05-15 23:30:10.462538+00 hypertable_id type/Integer type/FK t \N t 1 10 \N Hypertable ID normal 146 \N \N \N \N 0 int4 \N \N 1 0 type/Integer \N \N t f f t \N +74 2024-05-15 23:30:01.594118+00 2024-05-15 23:30:10.462538+00 compressed_chunk_id type/Integer type/FK t \N t 4 10 \N Compressed Chunk ID normal 73 \N \N \N \N 0 int4 \N \N 4 0 type/Integer \N \N f f f t \N +253 2024-05-15 23:30:03.842746+00 2024-05-15 23:30:10.519796+00 tag type/Text type/PK t String key for the point t 0 11 \N Tag normal \N \N \N \N \N 0 text \N \N 0 0 type/Text \N \N t f f t \N +254 2024-05-15 23:30:03.842746+00 2024-05-15 23:30:10.519796+00 time_tag type/DateTimeWithLocalTZ \N t GMT Timestamp for the data update t 1 11 \N Time Tag normal \N \N \N \N \N 0 timestamptz \N \N 1 0 type/DateTimeWithLocalTZ \N \N t f f f \N +255 2024-05-15 23:30:03.842746+00 2024-05-15 23:30:10.519796+00 json_data type/JSON type/SerializedJSON t Data image as JSON from Mongodb t 2 11 \N Json Data details-only \N \N \N \N \N 0 jsonb \N \N 2 0 type/JSON \N \N f t f f \N +166 2024-05-15 23:30:02.683781+00 2024-05-15 23:30:10.608369+00 hypertable_id type/Integer type/FK t \N t 0 20 \N Hypertable ID normal 146 \N \N \N \N 0 int4 \N \N 0 0 type/Integer \N \N t f f t \N +167 2024-05-15 23:30:02.683781+00 2024-05-15 23:30:10.608369+00 block_chunks type/Boolean \N t \N t 3 20 \N Block Chunks normal \N \N \N \N \N 0 bool \N \N 3 0 type/Boolean \N \N t f f f \N +417 2024-05-15 23:33:26.40616+00 2024-05-15 23:33:35.058176+00 logLevel type/Integer type/Category t \N t 4 51 \N LogLevel normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":0.0,"avg":1.0}}} 5 java.lang.Integer auto-list \N 4 0 type/Integer \N \N f f f f \N +446 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 type type/Text type/Category t \N t 64 53 \N Type normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":6.914}}} 5 java.lang.String auto-list \N 64 0 type/Text \N \N f f f f \N +87 2024-05-15 23:30:01.773498+00 2024-05-15 23:30:10.784759+00 time_start type/DateTimeWithLocalTZ \N t \N t 3 25 \N Time Start normal \N \N \N \N \N 0 timestamptz \N \N 3 0 type/DateTimeWithLocalTZ \N \N f f f f \N +88 2024-05-15 23:30:01.773498+00 2024-05-15 23:30:10.784759+00 operation_id type/* type/PK t \N t 0 25 \N Operation ID normal \N \N \N \N \N 0 name \N \N 0 0 type/* \N \N t f f t \N +89 2024-05-15 23:30:01.773498+00 2024-05-15 23:30:10.784759+00 completed_stage type/* \N t \N t 2 25 \N Completed Stage normal \N \N \N \N \N 0 name \N \N 2 0 type/* \N \N t f f f \N +90 2024-05-15 23:30:01.773498+00 2024-05-15 23:30:10.784759+00 source_node_name type/* \N t \N t 5 25 \N Source Node Name normal \N \N \N \N \N 0 name \N \N 5 0 type/* \N \N t f f f \N +85 2024-05-15 23:30:01.773498+00 2024-05-15 23:30:10.784759+00 chunk_id type/Integer type/FK t \N t 4 25 \N Chunk ID normal 73 \N \N \N \N 0 int4 \N \N 4 0 type/Integer \N \N t f f f \N +129 2024-05-15 23:30:02.338128+00 2024-05-15 23:30:10.917153+00 materialization_id type/Integer type/FK t \N t 0 28 \N Materialization ID normal 118 \N \N \N \N 0 int4 \N \N 0 0 type/Integer \N \N f f f t \N +249 2024-05-15 23:30:03.778214+00 2024-05-15 23:30:11.004899+00 value_json type/JSON type/SerializedJSON t Structured value as JSON, can be null when do not apply. For digital point it should be the status as in {s:"OFF"} t 3 29 \N Value Json details-only \N \N \N \N \N 0 jsonb \N \N 3 0 type/JSON \N \N f t f f \N +250 2024-05-15 23:30:03.778214+00 2024-05-15 23:30:11.004899+00 flags type/* \N t Bit mask 0x80=value invalid, 0x40=Time tag at source invalid, 0x20=Analog, 0x10=value recorded by integrity (not by variation) t 5 29 \N Flags normal \N \N \N \N \N 0 bit \N \N 5 0 type/* \N \N t f f f \N +252 2024-05-15 23:30:03.778214+00 2024-05-15 23:30:11.004899+00 time_tag type/DateTimeWithLocalTZ type/PK t GMT Timestamp for the time data was received by the server t 1 29 \N Time Tag normal \N \N \N \N \N 0 timestamptz \N \N 1 0 type/DateTimeWithLocalTZ \N \N t f f t \N +163 2024-05-15 23:30:02.621132+00 2024-05-15 23:30:11.669965+00 hypertable_id type/Integer type/FK t \N t 0 48 \N Hypertable ID normal 146 \N \N \N \N 0 int4 \N \N 0 0 type/Integer \N \N t f f t \N +150 2024-05-15 23:30:02.558934+00 2024-05-15 23:30:20.337516+00 table_name type/* type/Category t \N t 2 30 \N Table Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 2 0 type/* \N \N t f f t \N +180 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:20.337516+00 scheduled type/Boolean type/Category t \N t 9 45 \N Scheduled normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 bool auto-list \N 9 0 type/Boolean \N \N f f f f \N +152 2024-05-15 23:30:02.558934+00 2024-05-15 23:30:20.337516+00 compressed_hypertable_id type/Integer type/FK t \N t 10 30 \N Compressed Hypertable ID normal 146 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":1.0}} 5 int4 \N \N 10 0 type/Integer \N \N f f f f \N +333 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 next_start type/DateTimeWithLocalTZ type/CreationTimestamp t \N t 11 16 \N Next Start normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.5},"type":{"type/DateTime":{"earliest":"2024-05-16T22:32:08.087102Z","latest":"2024-05-16T22:32:08.087102Z"}}} 5 timestamptz \N \N 11 0 type/DateTimeWithLocalTZ \N \N f f f \N \N +153 2024-05-15 23:30:02.558934+00 2024-05-15 23:30:20.337516+00 replication_factor type/Integer \N t \N t 11 30 \N Replication Factor normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":1.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 int2 auto-list \N 11 0 type/Integer \N \N f f f f \N +154 2024-05-15 23:30:02.558934+00 2024-05-15 23:30:20.337516+00 schema_name type/* type/Category t \N t 1 30 \N Schema Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 1 0 type/* \N \N t f f f \N +155 2024-05-15 23:30:02.558934+00 2024-05-15 23:30:20.337516+00 compression_state type/Integer type/Category t \N t 9 30 \N Compression State normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":0.0,"max":0.0,"sd":null,"avg":0.0}}} 5 int2 auto-list \N 9 0 type/Integer \N \N f f f f \N +156 2024-05-15 23:30:02.558934+00 2024-05-15 23:30:20.337516+00 num_dimensions type/Integer type/Quantity t \N t 5 30 \N Num Dimensions normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":null,"avg":1.0}}} 5 int2 auto-list \N 5 0 type/Integer \N \N t f f f \N +471 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 frozenDetectTimeout type/Float \N t \N t 13 53 \N FrozenDetectTimeout normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":273,"nil%":0.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 13 0 type/Float \N \N f f f f \N +509 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:28.229228+00 _id type/MongoBSONID type/PK t \N t 0 55 \N ID normal \N \N \N \N \N 0 org.bson.types.ObjectId \N \N 0 0 type/MongoBSONID \N \N f f f t \N +517 2024-05-15 23:33:27.864909+00 2024-05-15 23:33:28.255471+00 _id type/MongoBSONID type/PK t \N t 0 56 \N ID normal \N \N \N \N \N 0 org.bson.types.ObjectId \N \N 0 0 type/MongoBSONID \N \N f f f t \N +106 2024-05-15 23:30:02.108664+00 2024-05-15 23:30:11.465397+00 compressed_index_size type/BigInteger \N t \N t 7 37 \N Compressed Index Size normal \N \N \N \N \N 0 int8 \N \N 7 0 type/BigInteger \N \N t f f f \N +107 2024-05-15 23:30:02.108664+00 2024-05-15 23:30:11.465397+00 uncompressed_toast_size type/BigInteger \N t \N t 3 37 \N Uncompressed Toast Size normal \N \N \N \N \N 0 int8 \N \N 3 0 type/BigInteger \N \N t f f f \N +108 2024-05-15 23:30:02.108664+00 2024-05-15 23:30:11.465397+00 compressed_heap_size type/BigInteger \N t \N t 5 37 \N Compressed Heap Size normal \N \N \N \N \N 0 int8 \N \N 5 0 type/BigInteger \N \N t f f f \N +109 2024-05-15 23:30:02.108664+00 2024-05-15 23:30:11.465397+00 uncompressed_heap_size type/BigInteger \N t \N t 2 37 \N Uncompressed Heap Size normal \N \N \N \N \N 0 int8 \N \N 2 0 type/BigInteger \N \N t f f f \N +110 2024-05-15 23:30:02.108664+00 2024-05-15 23:30:11.465397+00 compressed_chunk_id type/Integer type/FK t \N t 1 37 \N Compressed Chunk ID normal 73 \N \N \N \N 0 int4 \N \N 1 0 type/Integer \N \N t f f f \N +111 2024-05-15 23:30:02.108664+00 2024-05-15 23:30:11.465397+00 numrows_post_compression type/BigInteger \N t \N t 9 37 \N Numrows Post Compression normal \N \N \N \N \N 0 int8 \N \N 9 0 type/BigInteger \N \N f f f f \N +188 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:20.337516+00 config → drop_after type/Text type/Category t \N t 0 45 \N Config → Drop After normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.5},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":3.5}}} 5 text auto-list \N 0 0 type/Text \N ["config","drop_after"] f f f f \N +329 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 hypertable_schema type/* type/Category t \N t 12 16 \N Hypertable Schema normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.5}} 5 name auto-list \N 12 0 type/* \N \N f f f \N \N +336 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 job_id type/Integer type/Category t \N t 0 16 \N Job ID normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1000.0,"max":1000.0,"sd":706.399674405361,"avg":500.5}}} 5 int4 auto-list \N 0 0 type/Integer \N \N f f f \N \N +328 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 config → hypertable_id type/Integer type/Category t \N t 0 16 \N Config → Hypertable ID normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.5},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":null,"avg":1.0}}} 5 bigint auto-list \N 0 0 type/Integer \N ["config","hypertable_id"] f f f \N \N +409 2024-05-15 23:33:26.331219+00 2024-05-15 23:33:28.111388+00 timeTag type/Instant \N t \N t 29 54 386 TimeTag normal \N \N \N \N \N 0 java.time.Instant \N \N 29 0 type/Instant \N \N f f f f \N +419 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 timeTagAtSourceOk type/* type/Category t \N t 72 53 \N TimeTagAtSourceOk normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.92}} 5 NULL auto-list \N 72 0 type/* \N \N f f f f \N +380 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 endpointURLs type/Array \N t \N t 30 54 \N EndpointURLs normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":3,"nil%":0.6666666666666667}} 5 clojure.lang.PersistentVector \N \N 30 0 type/Array \N \N f f f f \N +145 2024-05-15 23:30:02.558934+00 2024-05-15 23:30:20.337516+00 chunk_target_size type/BigInteger type/Category t \N t 8 30 \N Chunk Target Size normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":0.0,"max":0.0,"sd":null,"avg":0.0}}} 5 int8 auto-list \N 8 0 type/BigInteger \N \N t f f f \N +190 2024-05-15 23:30:03.16859+00 2024-05-15 23:30:20.337516+00 total_crashes type/BigInteger type/Category t \N t 10 12 \N Total Crashes normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":0.0,"max":0.0,"sd":null,"avg":0.0}}} 5 int8 auto-list \N 10 0 type/BigInteger \N \N t f f f \N +198 2024-05-15 23:30:03.16859+00 2024-05-15 23:30:20.337516+00 consecutive_crashes type/Integer type/Category t \N t 12 12 \N Consecutive Crashes normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":0.0,"max":0.0,"sd":null,"avg":0.0}}} 5 int4 auto-list \N 12 0 type/Integer \N \N t f f f \N +197 2024-05-15 23:30:03.16859+00 2024-05-15 23:30:20.337516+00 last_finish type/DateTimeWithLocalTZ \N t \N t 2 12 \N Last Finish normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2024-05-15T22:32:08.087102Z","latest":"2024-05-15T22:32:08.087102Z"}}} 5 timestamptz \N \N 2 0 type/DateTimeWithLocalTZ \N \N t f f f \N +200 2024-05-15 23:30:03.16859+00 2024-05-15 23:30:20.337516+00 consecutive_failures type/Integer type/Category t \N t 11 12 \N Consecutive Failures normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":0.0,"max":0.0,"sd":null,"avg":0.0}}} 5 int4 auto-list \N 11 0 type/Integer \N \N t f f f \N +199 2024-05-15 23:30:03.16859+00 2024-05-15 23:30:20.337516+00 last_successful_finish type/DateTimeWithLocalTZ \N t \N t 4 12 \N Last Successful Finish normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2024-05-15T22:32:08.087102Z","latest":"2024-05-15T22:32:08.087102Z"}}} 5 timestamptz \N \N 4 0 type/DateTimeWithLocalTZ \N \N t f f f \N +201 2024-05-15 23:30:03.16859+00 2024-05-15 23:30:20.337516+00 total_duration type/* type/Category t \N t 7 12 \N Total Duration normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 interval auto-list \N 7 0 type/* \N \N t f f f \N +131 2024-05-15 23:30:02.430898+00 2024-05-15 23:30:20.337516+00 integer_now_func_schema type/* \N t \N t 9 19 \N Integer Now Func Schema normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":1.0}} 5 name auto-list \N 9 0 type/* \N \N f f f f \N +132 2024-05-15 23:30:02.430898+00 2024-05-15 23:30:20.337516+00 integer_now_func type/* \N t \N t 10 19 \N Integer Now Func normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":1.0}} 5 name auto-list \N 10 0 type/* \N \N f f f f \N +134 2024-05-15 23:30:02.430898+00 2024-05-15 23:30:20.337516+00 num_slices type/Integer type/Quantity t \N t 5 19 \N Num Slices normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":1.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 int2 auto-list \N 5 0 type/Integer \N \N f f f f \N +135 2024-05-15 23:30:02.430898+00 2024-05-15 23:30:20.337516+00 partitioning_func_schema type/* \N t \N t 6 19 \N Partitioning Func Schema normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":1.0}} 5 name auto-list \N 6 0 type/* \N \N f f f f \N +137 2024-05-15 23:30:02.430898+00 2024-05-15 23:30:20.337516+00 column_name type/* type/Category t \N t 2 19 \N Column Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 2 0 type/* \N \N t f f f \N +138 2024-05-15 23:30:02.430898+00 2024-05-15 23:30:20.337516+00 aligned type/Boolean type/Category t \N t 4 19 \N Aligned normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 bool auto-list \N 4 0 type/Boolean \N \N t f f f \N +140 2024-05-15 23:30:02.430898+00 2024-05-15 23:30:20.337516+00 column_type type/* type/Category t \N t 3 19 \N Column Type normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 regtype auto-list \N 3 0 type/* \N \N t f f f \N +179 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:20.337516+00 max_runtime type/* type/Category t \N t 3 45 \N Max Runtime normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 interval auto-list \N 3 0 type/* \N \N t f f f \N +195 2024-05-15 23:30:03.16859+00 2024-05-15 23:30:20.337516+00 last_start type/DateTimeWithLocalTZ type/CreationTimestamp t \N t 1 12 \N Last Start normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2024-05-15T22:32:07.91909Z","latest":"2024-05-15T22:32:07.91909Z"}}} 5 timestamptz \N \N 1 0 type/DateTimeWithLocalTZ \N \N f f f f \N +296 2024-05-15 23:30:06.113708+00 2024-05-15 23:30:20.337516+00 time_interval type/* type/Category t \N t 6 33 \N Time Interval normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 interval auto-list \N 6 0 type/* \N \N f f f \N \N +298 2024-05-15 23:30:06.113708+00 2024-05-15 23:30:20.337516+00 hypertable_name type/* type/Category t \N t 1 33 \N Hypertable Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 1 0 type/* \N \N f f f \N \N +317 2024-05-15 23:30:07.323138+00 2024-05-15 23:30:20.337516+00 job_status type/Text type/Category t \N t 6 34 \N Job Status normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":9.0}}} 5 text auto-list \N 6 0 type/Text \N \N f f f \N \N +319 2024-05-15 23:30:07.323138+00 2024-05-15 23:30:20.337516+00 next_start type/DateTimeWithLocalTZ type/CreationTimestamp t \N t 8 34 \N Next Start normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2024-05-16T22:32:08.087102Z","latest":"2024-05-16T22:32:08.087102Z"}}} 5 timestamptz \N \N 8 0 type/DateTimeWithLocalTZ \N \N f f f \N \N +366 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:28.111388+00 t1 type/Float \N t \N t 21 54 \N T1 normal \N \N \N \N \N 0 java.lang.Double \N \N 21 0 type/Float \N \N f f f f \N +424 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 isEvent type/Boolean type/Category t \N t 25 53 \N IsEvent normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 25 0 type/Boolean \N \N f f f f \N +454 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 invalid type/Boolean type/Category t \N t 23 53 \N Invalid normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 23 0 type/Boolean \N \N f f f t \N +176 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:20.337516+00 config → hypertable_id type/Integer type/Category t \N t 0 45 \N Config → Hypertable ID normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.5},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":null,"avg":1.0}}} 5 bigint auto-list \N 0 0 type/Integer \N ["config","hypertable_id"] f f f f \N +191 2024-05-15 23:30:03.16859+00 2024-05-15 23:30:20.337516+00 total_runs type/BigInteger type/Category t \N t 6 12 \N Total Runs normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":null,"avg":1.0}}} 5 int8 auto-list \N 6 0 type/BigInteger \N \N t f f f \N +192 2024-05-15 23:30:03.16859+00 2024-05-15 23:30:20.337516+00 total_successes type/BigInteger type/Category t \N t 8 12 \N Total Successes normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":null,"avg":1.0}}} 5 int8 auto-list \N 8 0 type/BigInteger \N \N t f f f \N +194 2024-05-15 23:30:03.16859+00 2024-05-15 23:30:20.337516+00 total_failures type/BigInteger type/Category t \N t 9 12 \N Total Failures normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":0.0,"max":0.0,"sd":null,"avg":0.0}}} 5 int8 auto-list \N 9 0 type/BigInteger \N \N t f f f \N +133 2024-05-15 23:30:02.430898+00 2024-05-15 23:30:20.337516+00 partitioning_func type/* \N t \N t 7 19 \N Partitioning Func normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":1.0}} 5 name auto-list \N 7 0 type/* \N \N f f f f \N +193 2024-05-15 23:30:03.16859+00 2024-05-15 23:30:20.337516+00 job_id type/Integer type/FK t \N t 0 12 \N Job ID normal 178 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 int4 \N \N 0 0 type/Integer \N \N t f f t \N +169 2024-05-15 23:30:02.733869+00 2024-05-15 23:30:20.337516+00 value type/Text type/Category t \N t 1 27 \N Value normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":32.5}}} 5 text auto-list \N 1 0 type/Text \N \N t f f f \N +331 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 owner type/* type/Category t \N t 8 16 \N Owner normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 8 0 type/* \N \N f f f \N \N +334 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 schedule_interval type/* type/Category t \N t 2 16 \N Schedule Interval normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 interval auto-list \N 2 0 type/* \N \N f f f \N \N +335 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 max_runtime type/* type/Category t \N t 3 16 \N Max Runtime normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 interval auto-list \N 3 0 type/* \N \N f f f \N \N +338 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 proc_name type/* type/Category t \N t 7 16 \N Proc Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 name auto-list \N 7 0 type/* \N \N f f f \N \N +339 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 proc_schema type/* type/Category t \N t 6 16 \N Proc Schema normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 6 0 type/* \N \N f f f \N \N +340 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 hypertable_name type/* type/Category t \N t 13 16 \N Hypertable Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.5}} 5 name auto-list \N 13 0 type/* \N \N f f f \N \N +342 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 retry_period type/* type/Category t \N t 5 16 \N Retry Period normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 interval auto-list \N 5 0 type/* \N \N f f f \N \N +343 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 max_retries type/Integer type/Category t \N t 4 16 \N Max Retries normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":-1.0,"q1":-1.0,"q3":-1.0,"max":-1.0,"sd":0.0,"avg":-1.0}}} 5 int4 auto-list \N 4 0 type/Integer \N \N f f f \N \N +297 2024-05-15 23:30:06.113708+00 2024-05-15 23:30:20.337516+00 num_partitions type/Integer type/Quantity t \N t 9 33 \N Num Partitions normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":1.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 int2 auto-list \N 9 0 type/Integer \N \N f f f \N \N +299 2024-05-15 23:30:06.113708+00 2024-05-15 23:30:20.337516+00 dimension_number type/BigInteger type/Quantity t \N t 2 33 \N Dimension Number normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":null,"avg":1.0}}} 5 int8 auto-list \N 2 0 type/BigInteger \N \N f f f \N \N +302 2024-05-15 23:30:06.113708+00 2024-05-15 23:30:20.337516+00 column_type type/* type/Category t \N t 4 33 \N Column Type normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 regtype auto-list \N 4 0 type/* \N \N f f f \N \N +304 2024-05-15 23:30:06.113708+00 2024-05-15 23:30:20.337516+00 hypertable_schema type/* type/Category t \N t 0 33 \N Hypertable Schema normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 0 0 type/* \N \N f f f \N \N +305 2024-05-15 23:30:06.113708+00 2024-05-15 23:30:20.337516+00 integer_interval type/BigInteger \N t \N t 7 33 \N Integer Interval normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":1.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 int8 auto-list \N 7 0 type/BigInteger \N \N f f f \N \N +316 2024-05-15 23:30:07.323138+00 2024-05-15 23:30:20.337516+00 last_run_duration type/* type/Category t \N t 7 34 \N Last Run Duration normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 interval auto-list \N 7 0 type/* \N \N f f f \N \N +318 2024-05-15 23:30:07.323138+00 2024-05-15 23:30:20.337516+00 last_run_status type/Text type/Category t \N t 5 34 \N Last Run Status normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":7.0}}} 5 text auto-list \N 5 0 type/Text \N \N f f f \N \N +320 2024-05-15 23:30:07.323138+00 2024-05-15 23:30:20.337516+00 job_id type/Integer type/Category t \N t 2 34 \N Job ID normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":1000.0,"q1":1000.0,"q3":1000.0,"max":1000.0,"sd":null,"avg":1000.0}}} 5 int4 auto-list \N 2 0 type/Integer \N \N f f f \N \N +322 2024-05-15 23:30:07.323138+00 2024-05-15 23:30:20.337516+00 total_successes type/BigInteger type/Category t \N t 10 34 \N Total Successes normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":null,"avg":1.0}}} 5 int8 auto-list \N 10 0 type/BigInteger \N \N f f f \N \N +326 2024-05-15 23:30:07.323138+00 2024-05-15 23:30:20.337516+00 last_run_started_at type/DateTimeWithLocalTZ type/CreationTimestamp t \N t 3 34 \N Last Run Started At normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2024-05-15T22:32:07.91909Z","latest":"2024-05-15T22:32:07.91909Z"}}} 5 timestamptz \N \N 3 0 type/DateTimeWithLocalTZ \N \N f f f \N \N +327 2024-05-15 23:30:07.323138+00 2024-05-15 23:30:20.337516+00 hypertable_schema type/* type/Category t \N t 0 34 \N Hypertable Schema normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 0 0 type/* \N \N f f f \N \N +307 2024-05-15 23:30:07.123397+00 2024-05-15 23:30:20.337516+00 compression_enabled type/Boolean type/Category t \N t 5 39 \N Compression Enabled normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 bool auto-list \N 5 0 type/Boolean \N \N f f f \N \N +324 2024-05-15 23:30:07.323138+00 2024-05-15 23:30:20.337516+00 last_successful_finish type/DateTimeWithLocalTZ \N t \N t 4 34 \N Last Successful Finish normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2024-05-15T22:32:08.087102Z","latest":"2024-05-15T22:32:08.087102Z"}}} 5 timestamptz \N \N 4 0 type/DateTimeWithLocalTZ \N \N f f f \N \N +308 2024-05-15 23:30:07.123397+00 2024-05-15 23:30:20.337516+00 num_dimensions type/Integer type/Quantity t \N t 3 39 \N Num Dimensions normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":null,"avg":1.0}}} 5 int2 auto-list \N 3 0 type/Integer \N \N f f f \N \N +310 2024-05-15 23:30:07.123397+00 2024-05-15 23:30:20.337516+00 num_chunks type/BigInteger type/Quantity t \N t 4 39 \N Num Chunks normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":0.0,"max":0.0,"sd":null,"avg":0.0}}} 5 int8 auto-list \N 4 0 type/BigInteger \N \N f f f \N \N +311 2024-05-15 23:30:07.123397+00 2024-05-15 23:30:20.337516+00 owner type/* type/Category t \N t 2 39 \N Owner normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 2 0 type/* \N \N f f f \N \N +313 2024-05-15 23:30:07.123397+00 2024-05-15 23:30:20.337516+00 data_nodes type/* \N t \N t 8 39 \N Data Nodes normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":1.0}} 5 _name auto-list \N 8 0 type/* \N \N f f f \N \N +314 2024-05-15 23:30:07.123397+00 2024-05-15 23:30:20.337516+00 hypertable_schema type/* type/Category t \N t 0 39 \N Hypertable Schema normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 0 0 type/* \N \N f f f \N \N +315 2024-05-15 23:30:07.123397+00 2024-05-15 23:30:20.337516+00 tablespaces type/* \N t \N t 9 39 \N Tablespaces normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":1.0}} 5 _name auto-list \N 9 0 type/* \N \N f f f \N \N +181 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:20.337516+00 application_name type/* type/Category t \N t 1 45 \N Application Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 name auto-list \N 1 0 type/* \N \N t f f f \N +182 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:20.337516+00 owner type/* type/Category t \N t 8 45 \N Owner normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 8 0 type/* \N \N f f f f \N +183 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:20.337516+00 retry_period type/* type/Category t \N t 5 45 \N Retry Period normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 interval auto-list \N 5 0 type/* \N \N t f f f \N +184 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:20.337516+00 schedule_interval type/* type/Category t \N t 2 45 \N Schedule Interval normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 interval auto-list \N 2 0 type/* \N \N t f f f \N +185 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:20.337516+00 proc_name type/* type/Category t \N t 7 45 \N Proc Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 name auto-list \N 7 0 type/* \N \N t f f f \N +187 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:20.337516+00 proc_schema type/* type/Category t \N t 6 45 \N Proc Schema normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 6 0 type/* \N \N t f f t \N +186 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:20.337516+00 hypertable_id type/Integer type/FK t \N t 10 45 \N Hypertable ID normal 146 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.5}} 5 int4 \N \N 10 0 type/Integer \N \N f f f f \N +189 2024-05-15 23:30:03.072482+00 2024-05-15 23:30:20.337516+00 max_retries type/Integer type/Category t \N t 4 45 \N Max Retries normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":-1.0,"q1":-1.0,"q3":-1.0,"max":-1.0,"sd":0.0,"avg":-1.0}}} 5 int4 auto-list \N 4 0 type/Integer \N \N t f f f \N +202 2024-05-15 23:30:03.16859+00 2024-05-15 23:30:20.337516+00 last_run_success type/Boolean type/Category t \N t 5 12 \N Last Run Success normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 bool auto-list \N 5 0 type/Boolean \N \N t f f f \N +101 2024-05-15 23:30:02.031728+00 2024-05-15 23:30:20.337516+00 version type/Integer type/Category t \N t 1 22 \N Version normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":0.0,"avg":1.0}}} 5 int2 auto-list \N 1 0 type/Integer \N \N t f f f \N +151 2024-05-15 23:30:02.558934+00 2024-05-15 23:30:20.337516+00 chunk_sizing_func_schema type/* type/Category t \N t 6 30 \N Chunk Sizing Func Schema normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 6 0 type/* \N \N t f f f \N +136 2024-05-15 23:30:02.430898+00 2024-05-15 23:30:20.337516+00 hypertable_id type/Integer type/FK t \N t 1 19 \N Hypertable ID normal 146 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 int4 \N \N 1 0 type/Integer \N \N t f f t \N +337 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 application_name type/* type/Category t \N t 1 16 \N Application Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 name auto-list \N 1 0 type/* \N \N f f f \N \N +341 2024-05-15 23:30:07.803986+00 2024-05-15 23:30:20.337516+00 config → drop_after type/Text type/Category t \N t 0 16 \N Config → Drop After normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":2,"nil%":0.5},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":3.5}}} 5 text auto-list \N 0 0 type/Text \N ["config","drop_after"] f f f \N \N +139 2024-05-15 23:30:02.430898+00 2024-05-15 23:30:20.337516+00 interval_length type/BigInteger type/Category t \N t 8 19 \N Interval Length normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":8.64E10,"q1":8.64E10,"q3":8.64E10,"max":8.64E10,"sd":null,"avg":8.64E10}}} 5 int8 auto-list \N 8 0 type/BigInteger \N \N f f f f \N +100 2024-05-15 23:30:02.031728+00 2024-05-15 23:30:20.337516+00 description type/Text type/Description t \N t 3 22 \N Description normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":5,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":9.2}}} 5 text auto-list \N 3 0 type/Text \N \N f f f f \N +300 2024-05-15 23:30:06.113708+00 2024-05-15 23:30:20.337516+00 integer_now_func type/* \N t \N t 8 33 \N Integer Now Func normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":1.0}} 5 name auto-list \N 8 0 type/* \N \N f f f \N \N +301 2024-05-15 23:30:06.113708+00 2024-05-15 23:30:20.337516+00 column_name type/* type/Category t \N t 3 33 \N Column Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 3 0 type/* \N \N f f f \N \N +303 2024-05-15 23:30:06.113708+00 2024-05-15 23:30:20.337516+00 dimension_type type/Text type/Category t \N t 5 33 \N Dimension Type normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":4.0}}} 5 text auto-list \N 5 0 type/Text \N \N f f f \N \N +323 2024-05-15 23:30:07.323138+00 2024-05-15 23:30:20.337516+00 total_failures type/BigInteger type/Category t \N t 11 34 \N Total Failures normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":0.0,"max":0.0,"sd":null,"avg":0.0}}} 5 int8 auto-list \N 11 0 type/BigInteger \N \N f f f \N \N +325 2024-05-15 23:30:07.323138+00 2024-05-15 23:30:20.337516+00 total_runs type/BigInteger type/Category t \N t 9 34 \N Total Runs normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":null,"avg":1.0}}} 5 int8 auto-list \N 9 0 type/BigInteger \N \N f f f \N \N +306 2024-05-15 23:30:07.123397+00 2024-05-15 23:30:20.337516+00 replication_factor type/Integer \N t \N t 7 39 \N Replication Factor normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":1.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 int2 auto-list \N 7 0 type/Integer \N \N f f f \N \N +321 2024-05-15 23:30:07.323138+00 2024-05-15 23:30:20.337516+00 hypertable_name type/* type/Category t \N t 1 34 \N Hypertable Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 1 0 type/* \N \N f f f \N \N +309 2024-05-15 23:30:07.123397+00 2024-05-15 23:30:20.337516+00 hypertable_name type/* type/Category t \N t 1 39 \N Hypertable Name normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 name auto-list \N 1 0 type/* \N \N f f f \N \N +312 2024-05-15 23:30:07.123397+00 2024-05-15 23:30:20.337516+00 is_distributed type/Boolean type/Category t \N t 6 39 \N Is Distributed normal \N 2024-05-15 23:30:20.337516+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 bool auto-list \N 6 0 type/Boolean \N \N f f f \N \N +350 2024-05-15 23:33:26.18818+00 2024-05-15 23:33:28.047625+00 _id type/MongoBSONID type/PK t \N t 0 50 \N ID normal \N \N \N \N \N 0 org.bson.types.ObjectId \N \N 0 0 type/MongoBSONID \N \N f f f t \N +414 2024-05-15 23:33:26.40616+00 2024-05-15 23:33:28.138732+00 _id type/MongoBSONID type/PK t \N t 0 51 \N ID normal \N \N \N \N \N 0 org.bson.types.ObjectId \N \N 0 0 type/MongoBSONID \N \N f f f t \N +441 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:28.197593+00 _id type/Float type/PK t \N t 0 53 \N ID normal \N \N \N \N \N 0 java.lang.Double \N \N 0 0 type/Float \N \N f f f t \N +344 2024-05-15 23:33:26.18818+00 2024-05-15 23:33:35.058176+00 nodeNames type/Array \N t \N t 5 50 \N NodeNames normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 clojure.lang.PersistentVector \N \N 5 0 type/Array \N \N f f f f \N +345 2024-05-15 23:33:26.18818+00 2024-05-15 23:33:35.058176+00 stats type/Dictionary \N t \N t 9 50 \N Stats normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.5}} 5 flatland.ordered.map.OrderedMap \N \N 9 0 type/Dictionary \N \N f f f f \N +464 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:28.197593+00 timeTag type/Instant \N t \N t 62 53 \N TimeTag normal \N \N \N \N \N 0 java.time.Instant \N \N 62 0 type/Instant \N \N f f f f \N +495 2024-05-15 23:33:27.690303+00 2024-05-15 23:33:28.197593+00 timeTag type/Instant \N t \N t 51 53 452 TimeTag normal \N \N \N \N \N 0 java.time.Instant \N \N 51 0 type/Instant \N \N f f f f \N +452 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 sourceDataUpdate type/Dictionary \N t \N t 43 53 \N SourceDataUpdate normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":1.0}} 5 flatland.ordered.map.OrderedMap \N \N 43 0 type/Dictionary \N \N f f f f \N +497 2024-05-15 23:33:27.690303+00 2024-05-15 23:33:28.197593+00 blockedAtSource type/Boolean \N t \N t 53 53 452 BlockedAtSource normal \N \N \N \N \N 0 java.lang.Boolean \N \N 53 0 type/Boolean \N \N f f f f \N +525 2024-05-15 23:33:27.943636+00 2024-05-15 23:33:28.284974+00 _id type/MongoBSONID type/PK t \N t 0 49 \N ID normal \N \N \N \N \N 0 org.bson.types.ObjectId \N \N 0 0 type/MongoBSONID \N \N f f f t \N +521 2024-05-15 23:33:27.943636+00 2024-05-15 23:33:35.058176+00 username type/Text type/Category t \N t 2 49 \N Username normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":5.0}}} 5 java.lang.String auto-list \N 2 0 type/Text \N \N f f f t \N +346 2024-05-15 23:33:26.18818+00 2024-05-15 23:33:35.058176+00 processName type/Text type/Category t \N t 1 50 \N ProcessName normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":14.5}}} 5 java.lang.String auto-list \N 1 0 type/Text \N \N f f f t \N +411 2024-05-15 23:33:26.40616+00 2024-05-15 23:33:35.058176+00 protocolDriver type/Text type/Category t \N t 1 51 \N ProtocolDriver normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":7,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":13.0}}} 5 java.lang.String auto-list \N 1 0 type/Text \N \N f f f t \N +427 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 hihiLimit type/Float \N t \N t 18 53 \N HihiLimit normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.008},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 18 0 type/Float \N \N f f f f \N +522 2024-05-15 23:33:27.943636+00 2024-05-15 23:33:35.058176+00 password type/Text type/Category t \N t 4 49 \N Password normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":60.0}}} 5 java.lang.String auto-list \N 4 0 type/Text \N \N f f f f \N +523 2024-05-15 23:33:27.943636+00 2024-05-15 23:33:35.058176+00 email type/Text type/Email t \N t 3 49 \N Email normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":1.0,"percent-state":0.0,"average-length":20.0}}} 5 java.lang.String auto-list \N 3 0 type/Text \N \N f f f f \N +524 2024-05-15 23:33:27.943636+00 2024-05-15 23:33:35.058176+00 roles type/Array \N t \N t 1 49 \N Roles normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 clojure.lang.PersistentVector \N \N 1 0 type/Array \N \N f f f f \N +526 2024-05-15 23:33:27.943636+00 2024-05-15 23:33:35.058176+00 __v type/Integer type/Category t \N t 5 49 \N V normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":null,"avg":1.0}}} 5 java.lang.Integer auto-list \N 5 0 type/Integer \N \N f f f f \N +428 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 protocolDestinations type/Array \N t \N t 74 53 \N ProtocolDestinations normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":438,"nil%":0.126}} 5 clojure.lang.PersistentVector \N \N 74 0 type/Array \N \N f f f f \N +429 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 overflow type/Boolean type/Category t \N t 34 53 \N Overflow normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 34 0 type/Boolean \N \N f f f f \N +436 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 notes type/Text type/Category t \N t 32 53 \N Notes normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.0}}} 5 java.lang.String auto-list \N 32 0 type/Text \N \N f f f f \N +349 2024-05-15 23:33:26.18818+00 2024-05-15 23:33:35.058176+00 softwareVersion type/Text type/Category t \N t 8 50 \N SoftwareVersion normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":2.5}}} 5 java.lang.String auto-list \N 8 0 type/Text \N \N f f f f \N +352 2024-05-15 23:33:26.18818+00 2024-05-15 23:33:35.058176+00 logLevel type/Integer type/Category t \N t 4 50 \N LogLevel normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":0.0,"avg":1.0}}} 5 java.lang.Integer auto-list \N 4 0 type/Integer \N \N f f f f \N +430 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 frozen type/Boolean type/Category t \N t 12 53 \N Frozen normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 12 0 type/Boolean \N \N f f f f \N +431 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 hiLim type/* \N t \N t 75 53 \N HiLim normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":1.0}} 5 NULL auto-list \N 75 0 type/* \N \N f f f f \N +432 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 parcels type/* type/Category t \N t 35 53 \N Parcels normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":6,"nil%":0.99}} 5 NULL auto-list \N 35 0 type/* \N \N f f f f \N +434 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 timeTagAtSource type/* \N t \N t 71 53 \N TimeTagAtSource normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":41,"nil%":0.92}} 5 NULL auto-list \N 71 0 type/* \N \N f f f f \N +437 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 historianDeadBand type/Float \N t \N t 20 53 \N HistorianDeadBand normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":0.0,"max":0.0,"sd":0.0,"avg":0.0}}} 5 java.lang.Double \N \N 20 0 type/Float \N \N f f f f \N +438 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 hiLimit type/* type/Category t \N t 17 53 \N HiLimit normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.998}} 5 NULL auto-list \N 17 0 type/* \N \N f f f f \N +440 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 loLimit type/* type/Category t \N t 28 53 \N LoLimit normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.998}} 5 NULL auto-list \N 28 0 type/* \N \N f f f f \N +443 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 protocolSourceCommandUseSBO type/* type/Category t \N t 39 53 \N ProtocolSourceCommandUseSBO normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.396}} 5 NULL auto-list \N 39 0 type/* \N \N f f f f \N +444 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 formula type/Float \N t \N t 11 53 \N Formula normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":3,"nil%":0.008},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":0.9093193361882566,"max":3.0,"sd":0.2999877807873195,"avg":0.03024193548387097}}} 5 java.lang.Double \N \N 11 0 type/Float \N \N f f f f \N +450 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 group3 type/Text type/Category t \N t 16 53 \N Group3 normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.048}}} 5 java.lang.String auto-list \N 16 0 type/Text \N \N f f f f \N +453 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 loLim type/* type/Category t \N t 76 53 \N LoLim normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 NULL auto-list \N 76 0 type/* \N \N f f f f \N +461 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 group1 type/Text type/Category t \N t 14 53 \N Group1 normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":23,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":5.89}}} 5 java.lang.String auto-list \N 14 0 type/Text \N \N f f f f \N +378 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 testCommandInterval type/Float \N t \N t 13 54 \N TestCommandInterval normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":3,"nil%":0.6666666666666667},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":60.0,"max":60.0,"sd":42.42640687119285,"avg":30.0}}} 5 java.lang.Double \N \N 13 0 type/Float \N \N f f f f \N +382 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 passphrase type/Text type/Category t \N t 46 54 \N Passphrase normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.0}}} 5 java.lang.String auto-list \N 46 0 type/Text \N \N f f f f \N +384 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 serverModeMultiActive type/Boolean type/Category t \N t 24 54 \N ServerModeMultiActive normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.8333333333333333}} 5 java.lang.Boolean auto-list \N 24 0 type/Boolean \N \N f f f f \N +472 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:43.02772+00 ungroupedDescription type/Text type/Description t \N t 65 53 \N UngroupedDescription normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":24,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":3.118}}} 5 java.lang.String \N \N 65 0 type/Text \N \N f f f f \N +347 2024-05-15 23:33:26.18818+00 2024-05-15 23:33:35.058176+00 activeNodeKeepAliveTimeTag type/Instant \N t \N t 7 50 \N ActiveNodeKeepAliveTimeTag normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2020-07-24T14:21:01.736Z","latest":"2024-05-15T23:13:07.646Z"}}} 5 java.time.Instant \N \N 7 0 type/Instant \N \N f f f f \N +348 2024-05-15 23:33:26.18818+00 2024-05-15 23:33:35.058176+00 enabled type/Boolean type/Category t \N t 3 50 \N Enabled normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 3 0 type/Boolean \N \N f f f f \N +351 2024-05-15 23:33:26.18818+00 2024-05-15 23:33:35.058176+00 activeNodeName type/Text type/Category t \N t 6 50 \N ActiveNodeName normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":8.0}}} 5 java.lang.String auto-list \N 6 0 type/Text \N \N f f f f \N +353 2024-05-15 23:33:26.18818+00 2024-05-15 23:33:35.058176+00 processInstanceNumber type/Integer type/Quantity t \N t 2 50 \N ProcessInstanceNumber normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":0.0,"avg":1.0}}} 5 java.lang.Integer auto-list \N 2 0 type/Integer \N \N f f f f \N +413 2024-05-15 23:33:26.40616+00 2024-05-15 23:33:35.058176+00 enabled type/Boolean type/Category t \N t 3 51 \N Enabled normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 3 0 type/Boolean \N \N f f f f \N +415 2024-05-15 23:33:26.40616+00 2024-05-15 23:33:35.058176+00 keepProtocolRunningWhileInactive type/Boolean type/Category t \N t 8 51 \N KeepProtocolRunningWhileInactive normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 8 0 type/Boolean \N \N f f f f \N +416 2024-05-15 23:33:26.40616+00 2024-05-15 23:33:35.058176+00 activeNodeName type/Text type/Category t \N t 6 51 \N ActiveNodeName normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":6.857142857142857}}} 5 java.lang.String auto-list \N 6 0 type/Text \N \N f f f f \N +418 2024-05-15 23:33:26.40616+00 2024-05-15 23:33:35.058176+00 protocolDriverInstanceNumber type/Integer type/Quantity t \N t 2 51 \N ProtocolDriverInstanceNumber normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":1.0,"max":1.0,"sd":0.0,"avg":1.0}}} 5 java.lang.Integer auto-list \N 2 0 type/Integer \N \N f f f f \N +457 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 protocolSourceConnectionNumber type/Float \N t \N t 41 53 \N ProtocolSourceConnectionNumber normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":3,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":0.6238820744740193,"q3":1.7662663811945936,"max":3.0,"sd":0.7242271812215005,"avg":1.112}}} 5 java.lang.Double \N \N 41 0 type/Float \N \N f f f t \N +466 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 stateTextTrue type/Text type/Category t \N t 58 53 \N StateTextTrue normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":3.0}}} 5 java.lang.String auto-list \N 58 0 type/Text \N \N f f f f \N +482 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 valueString type/Text \N t \N t 70 53 \N ValueString normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":1.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.0}}} 5 java.lang.String auto-list \N 70 0 type/Text \N \N f f f f \N +485 2024-05-15 23:33:27.690303+00 2024-05-15 23:33:35.058176+00 causeOfTransmissionAtSource type/Text type/Source t \N t 44 53 452 CauseOfTransmissionAtSource normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":3,"nil%":0.722},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":1.384}}} 5 java.lang.String auto-list \N 44 0 type/Text \N \N f f f f \N +489 2024-05-15 23:33:27.690303+00 2024-05-15 23:33:35.058176+00 valueStringAtSource type/Text type/Source t \N t 49 53 452 ValueStringAtSource normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.99},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.05}}} 5 java.lang.String auto-list \N 49 0 type/Text \N \N f f f f \N +445 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 origin type/Text type/Category t \N t 33 53 \N Origin normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":4,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":7.788}}} 5 java.lang.String auto-list \N 33 0 type/Text \N \N f f f f \N +420 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 protocolSourceASDU type/Float \N t \N t 37 53 \N ProtocolSourceASDU normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":4,"nil%":0.0},"type":{"type/Number":{"min":0.0,"q1":1.3899122685771297,"q3":45.0,"max":45.0,"sd":21.166300114121082,"avg":27.458}}} 5 java.lang.Double \N \N 37 0 type/Float \N \N f f f f \N +448 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 loloLimit type/Float \N t \N t 30 53 \N LoloLimit normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.008},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 30 0 type/Float \N \N f f f f \N +460 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 value type/Float \N t \N t 68 53 \N Value normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":18,"nil%":0.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 68 0 type/Float \N \N f f f f \N +465 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 kconv2 type/Float \N t \N t 27 53 \N Kconv2 normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":24,"nil%":0.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 27 0 type/Float \N \N f f f f \N +376 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 password type/Text type/Category t \N t 40 54 \N Password normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.0}}} 5 java.lang.String auto-list \N 40 0 type/Text \N \N f f f f \N +389 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 ipAddresses type/Array \N t \N t 9 54 \N IpAddresses normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.8333333333333333}} 5 clojure.lang.PersistentVector \N \N 9 0 type/Array \N \N f f f f \N +455 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 substituted type/Boolean type/Category t \N t 59 53 \N Substituted normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":1.0}} 5 java.lang.Boolean auto-list \N 59 0 type/Boolean \N \N f f f f \N +456 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 location type/* type/Category t \N t 29 53 \N Location normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 NULL auto-list \N 29 0 type/* \N \N f f f f \N +458 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 priority type/Float \N t \N t 36 53 \N Priority normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 36 0 type/Float \N \N f f f f \N +459 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 commandBlocked type/Boolean \N t \N t 6 53 \N CommandBlocked normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":36,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 6 0 type/Boolean \N \N f f f f \N +463 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 unit type/Text \N t \N t 66 53 \N Unit normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":75,"nil%":0.712},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":6.912}}} 5 java.lang.String auto-list \N 66 0 type/Text \N \N f f f f \N +467 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 historianPeriod type/Float \N t \N t 21 53 \N HistorianPeriod normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 21 0 type/Float \N \N f f f f \N +468 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 dbId type/Text type/Category t \N t 77 53 \N DbId normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":22,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":5.086}}} 5 java.lang.String auto-list \N 77 0 type/Text \N \N f f f f \N +473 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 valueDefault type/Float \N t \N t 69 53 \N ValueDefault normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":500,"nil%":0.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 69 0 type/Float \N \N f f f f \N +476 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 protocolSourceCommonAddress type/Float \N t \N t 40 53 \N ProtocolSourceCommonAddress normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":21,"nil%":0.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 40 0 type/Float \N \N f f f f \N +478 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 alarmState type/Float \N t \N t 3 53 \N AlarmState normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":38,"nil%":0.772},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 3 0 type/Float \N \N f f f f \N +480 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 alarmed type/Boolean type/Category t \N t 4 53 \N Alarmed normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.008}} 5 java.lang.Boolean auto-list \N 4 0 type/Boolean \N \N f f f f \N +483 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 TimeTagAtSourceOk type/* type/Category t \N t 78 53 \N TimeTagAtSourceOk normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 NULL auto-list \N 78 0 type/* \N \N f f f f \N +484 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 alarmRange type/Float \N t \N t 1 53 \N AlarmRange normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":3,"nil%":0.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 1 0 type/Float \N \N f f f f \N +486 2024-05-15 23:33:27.690303+00 2024-05-15 23:33:35.058176+00 timeTagAtSourceOk type/Boolean \N t \N t 56 53 452 TimeTagAtSourceOk normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":37,"nil%":0.712}} 5 java.lang.Boolean auto-list \N 56 0 type/Boolean \N \N f f f f \N +487 2024-05-15 23:33:27.690303+00 2024-05-15 23:33:35.058176+00 valueAtSource type/Float \N t \N t 46 53 452 ValueAtSource normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.722},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 46 0 type/Float \N \N f f f f \N +488 2024-05-15 23:33:27.690303+00 2024-05-15 23:33:35.058176+00 notTopicalAtSource type/Boolean \N t \N t 55 53 452 NotTopicalAtSource normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":32,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 55 0 type/Boolean \N \N f f f f \N +490 2024-05-15 23:33:27.690303+00 2024-05-15 23:33:35.058176+00 transientAtSource type/Boolean type/Category t \N t 48 53 452 TransientAtSource normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.722}} 5 java.lang.Boolean auto-list \N 48 0 type/Boolean \N \N f f f f \N +491 2024-05-15 23:33:27.690303+00 2024-05-15 23:33:35.058176+00 substitutedAtSource type/Boolean type/Category t \N t 47 53 452 SubstitutedAtSource normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.712}} 5 java.lang.Boolean auto-list \N 47 0 type/Boolean \N \N f f f f \N +492 2024-05-15 23:33:27.690303+00 2024-05-15 23:33:35.058176+00 invalidAtSource type/Boolean type/Category t \N t 54 53 452 InvalidAtSource normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":4,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 54 0 type/Boolean \N \N f f f f \N +494 2024-05-15 23:33:27.690303+00 2024-05-15 23:33:35.058176+00 timeTagAtSource type/* \N t \N t 50 53 452 TimeTagAtSource normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":31,"nil%":0.712}} 5 NULL auto-list \N 50 0 type/* \N \N f f f f \N +496 2024-05-15 23:33:27.690303+00 2024-05-15 23:33:35.058176+00 overflowAtSource type/Boolean type/Category t \N t 45 53 452 OverflowAtSource normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.722}} 5 java.lang.Boolean auto-list \N 45 0 type/Boolean \N \N f f f f \N +462 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:35.058176+00 eventTextTrue type/Text type/Category t \N t 10 53 \N EventTextTrue normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":5,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.326}}} 5 java.lang.String auto-list \N 10 0 type/Text \N \N f f f f \N +391 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 pfxFilePath type/Text type/Category t \N t 45 54 \N PfxFilePath normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.8333333333333333},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.8333333333333334}}} 5 java.lang.String auto-list \N 45 0 type/Text \N \N f f f f \N +394 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 maxClientConnections type/Float \N t \N t 25 54 \N MaxClientConnections normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.6666666666666667},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 25 0 type/Float \N \N f f f f \N +474 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:43.890093+00 description type/Text type/Description t \N t 8 53 \N Description normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":4.8}}} 5 java.lang.String \N \N 8 0 type/Text \N \N f f f f \N +479 2024-05-15 23:33:27.629282+00 2024-05-15 23:33:44.026083+00 timeTagAlarm type/* type/Category t \N t 73 53 \N TimeTagAlarm normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 NULL \N \N 73 0 type/* \N \N f f f f \N +403 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 name type/Text type/Name t \N t 4 54 \N Name normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.8333333333333333},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.6666666666666666}}} 5 java.lang.String auto-list \N 4 0 type/Text \N \N f f f f \N +408 2024-05-15 23:33:26.331219+00 2024-05-15 23:33:35.058176+00 nodeName type/Text type/Category t \N t 28 54 386 NodeName normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.8333333333333333},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":4.0}}} 5 java.lang.String auto-list \N 28 0 type/Text \N \N f f f f \N +355 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 sizeOfCOT type/Float \N t \N t 15 54 \N SizeOfCOT normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 15 0 type/Float \N \N f f f f \N +359 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 protocolConnectionNumber type/Integer type/Quantity t \N t 3 54 \N ProtocolConnectionNumber normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Integer auto-list \N 3 0 type/Integer \N \N f f f t \N +401 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 localLinkAddress type/Float \N t \N t 10 54 \N LocalLinkAddress normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.8333333333333333},"type":{"type/Number":{"min":250.0,"q1":250.0,"q3":250.0,"max":250.0,"sd":null,"avg":250.0}}} 5 java.lang.Double \N \N 10 0 type/Float \N \N f f f f \N +404 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 t0 type/Float \N t \N t 20 54 \N T0 normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.6666666666666667},"type":{"type/Number":{"min":10.0,"q1":10.0,"q3":10.0,"max":10.0,"sd":0.0,"avg":10.0}}} 5 java.lang.Double \N \N 20 0 type/Float \N \N f f f f \N +368 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 timeSyncInterval type/Float \N t \N t 14 54 \N TimeSyncInterval normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":3,"nil%":0.6666666666666667},"type":{"type/Number":{"min":0.0,"q1":0.0,"q3":650.0,"max":650.0,"sd":459.6194077712559,"avg":325.0}}} 5 java.lang.Double \N \N 14 0 type/Float \N \N f f f f \N +369 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 allowTLSv10 type/Boolean type/Category t \N t 47 54 \N AllowTLSv10 normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.8333333333333333}} 5 java.lang.Boolean auto-list \N 47 0 type/Boolean \N \N f f f f \N +371 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 t3 type/Float \N t \N t 23 54 \N T3 normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.6666666666666667},"type":{"type/Number":{"min":20.0,"q1":20.0,"q3":20.0,"max":20.0,"sd":0.0,"avg":20.0}}} 5 java.lang.Double \N \N 23 0 type/Float \N \N f f f f \N +372 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 localCertFilePath type/Text type/Category t \N t 43 54 \N LocalCertFilePath normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.0}}} 5 java.lang.String auto-list \N 43 0 type/Text \N \N f f f f \N +373 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 remoteLinkAddress type/Float \N t \N t 11 54 \N RemoteLinkAddress normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":3,"nil%":0.6666666666666667},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":2.0,"max":2.0,"sd":0.7071067811865476,"avg":1.5}}} 5 java.lang.Double \N \N 11 0 type/Float \N \N f f f f \N +374 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 allowTLSv12 type/Boolean type/Category t \N t 49 54 \N AllowTLSv12 normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.8333333333333333}} 5 java.lang.Boolean auto-list \N 49 0 type/Boolean \N \N f f f f \N +375 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 sizeOfIOA type/Float \N t \N t 17 54 \N SizeOfIOA normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.6666666666666667},"type":{"type/Number":{"min":3.0,"q1":3.0,"q3":3.0,"max":3.0,"sd":0.0,"avg":3.0}}} 5 java.lang.Double \N \N 17 0 type/Float \N \N f f f f \N +397 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 ipAddressLocalBind type/Text type/Category t \N t 8 54 \N IpAddressLocalBind normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.6666666666666667},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":1.3333333333333333}}} 5 java.lang.String auto-list \N 8 0 type/Text \N \N f f f f \N +407 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 edgeNodeId type/Text type/Category t \N t 36 54 \N EdgeNodeId normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":1.3333333333333333}}} 5 java.lang.String auto-list \N 36 0 type/Text \N \N f f f f \N +388 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 scadaHostId type/Text type/Category t \N t 38 54 \N ScadaHostId normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":4,"nil%":0.3333333333333333},"type":{"type/Text":{"percent-json":0.6666666666666667,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":6.666666666666667}}} 5 java.lang.String auto-list \N 38 0 type/Text \N \N f f f f \N +364 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 t2 type/Float \N t \N t 22 54 \N T2 normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.8333333333333333},"type":{"type/Number":{"min":5000.0,"q1":5000.0,"q3":5000.0,"max":5000.0,"sd":null,"avg":5000.0}}} 5 java.lang.Double \N \N 22 0 type/Float \N \N f f f f \N +379 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 deviceId type/Text type/Category t \N t 37 54 \N DeviceId normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.0}}} 5 java.lang.String auto-list \N 37 0 type/Text \N \N f f f f \N +381 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 topicsAsFiles type/Array \N t \N t 53 54 \N TopicsAsFiles normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.8333333333333333}} 5 clojure.lang.PersistentVector \N \N 53 0 type/Array \N \N f f f f \N +385 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 description type/Text type/Description t \N t 5 54 \N Description normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":6,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":18.666666666666668}}} 5 java.lang.String auto-list \N 5 0 type/Text \N \N f f f f \N +386 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 stats type/* type/Category t \N t 27 54 \N Stats normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.8333333333333333}} 5 NULL auto-list \N 27 0 type/* \N \N f f f f \N +387 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 topicsScripted type/Array \N t \N t 54 54 \N TopicsScripted normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 clojure.lang.PersistentVector \N \N 54 0 type/Array \N \N f f f f \N +390 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 allowTLSv13 type/Boolean type/Category t \N t 50 54 \N AllowTLSv13 normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 50 0 type/Boolean \N \N f f f f \N +392 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 allowTLSv11 type/Boolean type/Category t \N t 48 54 \N AllowTLSv11 normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 48 0 type/Boolean \N \N f f f f \N +393 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 rootCertFilePath type/Text type/Category t \N t 42 54 \N RootCertFilePath normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.8333333333333333},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.6666666666666666}}} 5 java.lang.String auto-list \N 42 0 type/Text \N \N f f f f \N +395 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 useSecurity type/Boolean type/Category t \N t 33 54 \N UseSecurity normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 33 0 type/Boolean \N \N f f f f \N +396 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 publishTopicRoot type/Text type/Category t \N t 52 54 \N PublishTopicRoot normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":4,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":6.166666666666667}}} 5 java.lang.String auto-list \N 52 0 type/Text \N \N f f f f \N +398 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 k type/Float \N t \N t 18 54 \N K normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.6666666666666667},"type":{"type/Number":{"min":8.0,"q1":8.0,"q3":8.0,"max":8.0,"sd":0.0,"avg":8.0}}} 5 java.lang.Double \N \N 18 0 type/Float \N \N f f f f \N +400 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 protocolDriverInstanceNumber type/Integer type/Quantity t \N t 2 54 \N ProtocolDriverInstanceNumber normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":3,"nil%":0.6666666666666667},"type":{"type/Number":{"min":1.0,"q1":1.0,"q3":2.0,"max":2.0,"sd":0.7071067811865476,"avg":1.5}}} 5 java.lang.Integer auto-list \N 2 0 type/Integer \N \N f f f f \N +402 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 giInterval type/Float \N t \N t 12 54 \N GiInterval normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":6,"nil%":0.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 12 0 type/Float \N \N f f f f \N +405 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 chainValidation type/Boolean type/Category t \N t 41 54 \N ChainValidation normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 41 0 type/Boolean \N \N f f f f \N +406 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 username type/Text type/Category t \N t 39 54 \N Username normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.0}}} 5 java.lang.String auto-list \N 39 0 type/Text \N \N f f f f \N +354 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 topics type/Array \N t \N t 34 54 \N Topics normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.6666666666666667}} 5 clojure.lang.PersistentVector \N \N 34 0 type/Array \N \N f f f f \N +356 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 enabled type/Boolean type/Category t \N t 6 54 \N Enabled normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.6666666666666667}} 5 java.lang.Boolean auto-list \N 6 0 type/Boolean \N \N f f f f \N +357 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 sizeOfCA type/Float \N t \N t 16 54 \N SizeOfCA normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":null,"q1":null,"q3":null,"max":null,"sd":null,"avg":null}}} 5 java.lang.Double \N \N 16 0 type/Float \N \N f f f f \N +362 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 autoCreateTags type/Boolean type/Category t \N t 32 54 \N AutoCreateTags normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 32 0 type/Boolean \N \N f f f f \N +363 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 groupId type/Text type/Category t \N t 35 54 \N GroupId normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.6666666666666667},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":1.3333333333333333}}} 5 java.lang.String auto-list \N 35 0 type/Text \N \N f f f f \N +365 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 maxQueueSize type/Float \N t \N t 26 54 \N MaxQueueSize normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.6666666666666667},"type":{"type/Number":{"min":15.0,"q1":15.0,"q3":15.0,"max":15.0,"sd":0.0,"avg":15.0}}} 5 java.lang.Double \N \N 26 0 type/Float \N \N f f f f \N +370 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 configFileName type/Text type/Category t \N t 31 54 \N ConfigFileName normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":8.333333333333334}}} 5 java.lang.String auto-list \N 31 0 type/Text \N \N f f f f \N +360 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 cipherList type/Text type/Category t \N t 51 54 \N CipherList normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":6,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":14.5}}} 5 java.lang.String auto-list \N 51 0 type/Text \N \N f f f f \N +383 2024-05-15 23:33:26.272888+00 2024-05-15 23:33:35.058176+00 privateKeyFilePath type/Text type/Category t \N t 44 54 \N PrivateKeyFilePath normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":0.0}}} 5 java.lang.String auto-list \N 44 0 type/Text \N \N f f f f \N +510 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 sendCommands type/Boolean type/Category t \N t 4 55 \N SendCommands normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 4 0 type/Boolean \N \N f f f f \N +498 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 enterManuals type/Boolean type/Category t \N t 7 55 \N EnterManuals normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 7 0 type/Boolean \N \N f f f f \N +499 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 displayList type/Array \N t \N t 14 55 \N DisplayList normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 clojure.lang.PersistentVector \N \N 14 0 type/Array \N \N f f f f \N +500 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 ackAlarms type/Boolean type/Category t \N t 11 55 \N AckAlarms normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 11 0 type/Boolean \N \N f f f f \N +501 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 maxSessionDays type/Integer type/Category t \N t 15 55 \N MaxSessionDays normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Number":{"min":3.0,"q1":3.0,"q3":3.0,"max":3.0,"sd":0.0,"avg":3.0}}} 5 java.lang.Integer auto-list \N 15 0 type/Integer \N \N f f f f \N +502 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 disableAlarms type/Boolean type/Category t \N t 12 55 \N DisableAlarms normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 12 0 type/Boolean \N \N f f f f \N +503 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 isAdmin type/Boolean type/Category t \N t 2 55 \N IsAdmin normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 2 0 type/Boolean \N \N f f f f \N +504 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 group1CommandList type/Array \N t \N t 16 55 \N Group1CommandList normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 clojure.lang.PersistentVector \N \N 16 0 type/Array \N \N f f f f \N +505 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 enterLimits type/Boolean type/Category t \N t 8 55 \N EnterLimits normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 8 0 type/Boolean \N \N f f f f \N +506 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 substituteValues type/Boolean type/Category t \N t 9 55 \N SubstituteValues normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 9 0 type/Boolean \N \N f f f f \N +507 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 enterNotes type/Boolean type/Category t \N t 6 55 \N EnterNotes normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 6 0 type/Boolean \N \N f f f f \N +508 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 ackEvents type/Boolean type/Category t \N t 10 55 \N AckEvents normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 10 0 type/Boolean \N \N f f f f \N +511 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 changePassword type/Boolean type/Category t \N t 3 55 \N ChangePassword normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 3 0 type/Boolean \N \N f f f f \N +512 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 name type/Text type/Name t \N t 1 55 \N Name normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":2,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":4.5}}} 5 java.lang.String auto-list \N 1 0 type/Text \N \N f f f t \N +513 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 enterAnnotations type/Boolean type/Category t \N t 5 55 \N EnterAnnotations normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 java.lang.Boolean auto-list \N 5 0 type/Boolean \N \N f f f f \N +514 2024-05-15 23:33:27.770506+00 2024-05-15 23:33:35.058176+00 group1List type/Array \N t \N t 13 55 \N Group1List normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 clojure.lang.PersistentVector \N \N 13 0 type/Array \N \N f f f f \N +515 2024-05-15 23:33:27.864909+00 2024-05-15 23:33:35.058176+00 action type/Text type/Category t \N t 4 56 \N Action normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":6.0}}} 5 java.lang.String auto-list \N 4 0 type/Text \N \N f f f f \N +516 2024-05-15 23:33:27.864909+00 2024-05-15 23:33:35.058176+00 properties type/Dictionary \N t \N t 2 56 \N Properties normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0}} 5 flatland.ordered.map.OrderedMap \N \N 2 0 type/Dictionary \N \N f f f f \N +519 2024-05-15 23:33:27.864909+00 2024-05-15 23:33:35.058176+00 username type/Text type/Category t \N t 1 56 \N Username normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":5.0}}} 5 java.lang.String auto-list \N 1 0 type/Text \N \N f f f f \N +520 2024-05-15 23:33:27.898749+00 2024-05-15 23:33:35.058176+00 username type/Text type/Category t \N t 3 56 516 Username normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/Text":{"percent-json":0.0,"percent-url":0.0,"percent-email":0.0,"percent-state":0.0,"average-length":5.0}}} 5 java.lang.String auto-list \N 3 0 type/Text \N \N f f f f \N +518 2024-05-15 23:33:27.864909+00 2024-05-15 23:33:35.058176+00 timeTag type/Instant \N t \N t 5 56 \N TimeTag normal \N 2024-05-15 23:33:35.058176+00 \N \N {"global":{"distinct-count":1,"nil%":0.0},"type":{"type/DateTime":{"earliest":"2024-05-15T22:37:50.451Z","latest":"2024-05-15T22:37:50.451Z"}}} 5 java.time.Instant \N \N 5 0 type/Instant \N \N f f f f \N +\. + + +-- +-- Data for Name: metabase_fieldvalues; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.metabase_fieldvalues (id, created_at, updated_at, "values", human_readable_values, field_id, has_more_values, type, hash_key, last_used_at) FROM stdin; +1 2024-05-15 23:20:06.147073+00 2024-05-15 23:20:06.147073+00 [false,true] \N 8 f full \N 2024-05-15 23:20:06.147073+00 +2 2024-05-15 23:20:06.252862+00 2024-05-15 23:20:06.252862+00 [1,3,5,8,10,12,14,16,19,21,23,25,27,30,32,34,36,38,41,43,45,47,49,52,54,56,58,60,63,65,67,69,71,74,76,78,80,82,85,87,89,91,93,96,98,102,104,107,109,111,113,115,120,122,124,129,131,133,135,137,140,142,148,155,162,168,173,175,177,179,186,188,190,197,201,203,208,210,219,223,236,252,254,261,267,269,274,289,331,335,351,390,393,401,423,426,450,503,522,639,668,1325] \N 1 f full \N 2024-05-15 23:20:06.252862+00 +3 2024-05-15 23:20:06.370403+00 2024-05-15 23:20:06.370403+00 ["Basic","Business","Premium"] \N 4 f full \N 2024-05-15 23:20:06.370403+00 +4 2024-05-15 23:20:06.509126+00 2024-05-15 23:20:06.509126+00 [false,true] \N 5 f full \N 2024-05-15 23:20:06.509126+00 +5 2024-05-15 23:20:06.590508+00 2024-05-15 23:20:06.590508+00 ["Abbott","Abernathy","Abshire","Adams","Altenwerth","Anderson","Ankunding","Armstrong","Auer","Aufderhar","Bahringer","Bailey","Balistreri","Barrows","Bartell","Bartoletti","Barton","Batz","Bauch","Baumbach","Bayer","Beahan","Beatty","Bechtelar","Becker","Bednar","Beer","Beier","Berge","Bergnaum","Bergstrom","Bernhard","Bernier","Bins","Blanda","Blick","Block","Bode","Boehm","Bogan","Bogisich","Borer","Bosco","Botsford","Boyer","Boyle","Bradtke","Brakus","Braun","Breitenberg","Brekke","Brown","Bruen","Buckridge","Carroll","Carter","Cartwright","Casper","Cassin","Champlin","Christiansen","Cole","Collier","Collins","Conn","Connelly","Conroy","Considine","Corkery","Cormier","Corwin","Cremin","Crist","Crona","Cronin","Crooks","Cruickshank","Cummerata","Cummings","D'Amore","Dach","Daniel","Dare","Daugherty","Davis","Deckow","Denesik","Dibbert","Dickens","Dicki","Dickinson","Dietrich","Donnelly","Dooley","Douglas","Doyle","DuBuque","Durgan","Ebert","Effertz","Eichmann","Emard","Emmerich","Erdman","Ernser","Fadel","Fahey","Farrell","Fay","Feeney","Feest","Feil","Ferry","Fisher","Flatley","Frami","Franecki","Friesen","Fritsch","Funk","Gaylord","Gerhold","Gerlach","Gibson","Gislason","Gleason","Gleichner","Glover","Goldner","Goodwin","Gorczany","Gottlieb","Goyette","Grady","Graham","Grant","Green","Greenfelder","Greenholt","Grimes","Gulgowski","Gusikowski","Gutkowski","Gutmann","Haag","Hackett","Hagenes","Hahn","Haley","Halvorson","Hamill","Hammes","Hand","Hane","Hansen","Harber","Harris","Hartmann","Harvey","Hauck","Hayes","Heaney","Heathcote","Hegmann","Heidenreich","Heller","Herman","Hermann","Hermiston","Herzog","Hessel","Hettinger","Hickle","Hilll","Hills","Hilpert","Hintz","Hirthe","Hodkiewicz","Hoeger","Homenick","Hoppe","Howe","Howell","Hudson","Huel","Huels","Hyatt","Jacobi","Jacobs","Jacobson","Jakubowski","Jaskolski","Jast","Jenkins","Jerde","Jewess","Johns","Johnson","Johnston","Jones","Kassulke","Kautzer","Keebler","Keeling","Kemmer","Kerluke","Kertzmann","Kessler","Kiehn","Kihn","Kilback","King","Kirlin","Klein","Kling","Klocko","Koch","Koelpin","Koepp","Kohler","Konopelski","Koss","Kovacek","Kozey","Krajcik","Kreiger","Kris","Kshlerin","Kub","Kuhic","Kuhlman","Kuhn","Kulas","Kunde","Kunze","Kuphal","Kutch","Kuvalis","Labadie","Lakin","Lang","Langosh","Langworth","Larkin","Larson","Leannon","Lebsack","Ledner","Leffler","Legros","Lehner","Lemke","Lesch","Leuschke","Lind","Lindgren","Littel","Little","Lockman","Lowe","Lubowitz","Lueilwitz","Luettgen","Lynch","Macejkovic","Maggio","Mann","Mante","Marks","Marquardt","Marvin","Mayer","Mayert","McClure","McCullough","McDermott","McGlynn","McKenzie","McLaughlin","Medhurst","Mertz","Metz","Miller","Mills","Mitchell","Moen","Mohr","Monahan","Moore","Morar","Morissette","Mosciski","Mraz","Mueller","Muller","Murazik","Murphy","Murray","Nader","Nicolas","Nienow","Nikolaus","Nitzsche","Nolan","O'Connell","O'Conner","O'Hara","O'Keefe","O'Kon","O'Reilly","Oberbrunner","Okuneva","Olson","Ondricka","Orn","Ortiz","Osinski","Pacocha","Padberg","Pagac","Parisian","Parker","Paucek","Pfannerstill","Pfeffer","Pollich","Pouros","Powlowski","Predovic","Price","Prohaska","Prosacco","Purdy","Quigley","Quitzon","Rath","Ratke","Rau","Raynor","Reichel","Reichert","Reilly","Reinger","Rempel","Renner","Reynolds","Rice","Rippin","Ritchie","Robel","Roberts","Rodriguez","Rogahn","Rohan","Rolfson","Romaguera","Roob","Rosenbaum","Rowe","Ruecker","Runolfsdottir","Runolfsson","Runte","Russel","Rutherford","Ryan","Sanford","Satterfield","Sauer","Sawayn","Schaden","Schaefer","Schamberger","Schiller","Schimmel","Schinner","Schmeler","Schmidt","Schmitt","Schneider","Schoen","Schowalter","Schroeder","Schulist","Schultz","Schumm","Schuppe","Schuster","Senger","Shanahan","Shields","Simonis","Sipes","Skiles","Smith","Smitham","Spencer","Spinka","Sporer","Stamm","Stanton","Stark","Stehr","Steuber","Stiedemann","Stokes","Stoltenberg","Stracke","Streich","Stroman","Strosin","Swaniawski","Swift","Terry","Thiel","Thompson","Tillman","Torp","Torphy","Towne","Toy","Trantow","Tremblay","Treutel","Tromp","Turcotte","Turner","Ullrich","Upton","Vandervort","Veum","Volkman","Von","VonRueden","Waelchi","Walker","Walsh","Walter","Ward","Waters","Watsica","Weber","Wehner","Weimann","Weissnat","Welch","West","White","Wiegand","Wilderman","Wilkinson","Will","Williamson","Willms","Windler","Wintheiser","Wisoky","Wisozk","Witting","Wiza","Wolf","Wolff","Wuckert","Wunsch","Wyman","Yost","Yundt","Zboncak","Zemlak","Ziemann","Zieme","Zulauf"] \N 10 f full \N 2024-05-15 23:20:06.590508+00 +6 2024-05-15 23:20:06.665175+00 2024-05-15 23:20:06.665175+00 [false,true] \N 14 f full \N 2024-05-15 23:20:06.665175+00 +7 2024-05-15 23:20:06.766967+00 2024-05-15 23:20:06.766967+00 [null,"Facebook","Google","Invite","Twitter"] \N 11 f full \N 2024-05-15 23:20:06.766967+00 +8 2024-05-15 23:20:06.932996+00 2024-05-15 23:20:06.932996+00 [null,"AE","AF","AG","AL","AM","AR","AT","AU","BA","BD","BE","BF","BG","BN","BO","BR","BT","BW","BY","CA","CD","CH","CI","CL","CM","CN","CO","CR","CU","CV","CY","CZ","DE","DK","DO","DZ","EE","EG","ES","ET","FI","FR","GB","GE","GM","GN","GR","GT","HN","HR","HT","HU","ID","IE","IL","IN","IQ","IR","IT","JM","JO","JP","KE","KH","KI","KM","KR","KZ","LA","LC","LK","LR","LS","LT","LU","LV","LY","MA","MD","MG","MK","ML","MM","MT","MU","MW","MX","MY","NE","NG","NI","NL","NO","NZ","PA","PE","PH","PK","PL","PT","PW","PY","RO","RS","RU","RW","SA","SE","SI","SK","SL","SM","SN","SO","SV","SY","SZ","TH","TJ","TN","TO","TR","TZ","UA","UG","US","UZ","VE","VN","YE","ZA","ZM","ZW"] \N 15 f full \N 2024-05-15 23:20:06.932996+00 +9 2024-05-15 23:20:07.146342+00 2024-05-15 23:20:07.146342+00 ["Button Clicked","Page Viewed"] \N 17 f full \N 2024-05-15 23:20:07.146342+00 +10 2024-05-15 23:20:07.300051+00 2024-05-15 23:20:07.300051+00 [null,"www.piespace.example/help","www.piespace.example/home","www.piespace.example/invite","www.piespace.example/login","www.piespace.example/pies"] \N 18 f full \N 2024-05-15 23:20:07.300051+00 +11 2024-05-15 23:20:07.37882+00 2024-05-15 23:20:07.37882+00 [null,"Checkout","Create Item","Invite","Signup","Subscribe"] \N 19 f full \N 2024-05-15 23:20:07.37882+00 +12 2024-05-15 23:20:07.477142+00 2024-05-15 23:20:07.477142+00 ["abbott-berneice@hotmail.example","abdullah-kerluke@gmail.example","adan-weissnat@yahoo.example","aida.schneider@gmail.example","aidan-hagenes@hotmail.example","aidan.rodriguez@gmail.example","alaina-howell@gmail.example","alayna.halvorson@hotmail.example","alberto.gulgowski@gmail.example","alicia.schimmel@gmail.example","alisa-morissette@hotmail.example","alisa-schmitt@hotmail.example","altenwerth.onie@yahoo.example","alva.conroy@hotmail.example","alvena-legros@hotmail.example","alverta-rogahn@hotmail.example","alvina.mertz@gmail.example","alvis.emmerich@yahoo.example","alycia.collins@yahoo.example","alysson-cartwright@yahoo.example","anastacio.jaskolski@hotmail.example","anderson-eliza@hotmail.example","anderson.schinner@yahoo.example","andy-skiles@yahoo.example","angela-botsford@hotmail.example","anjali-parker@hotmail.example","ankunding-rudolph@hotmail.example","aracely.jenkins@gmail.example","arch-ryan@hotmail.example","archibald-lowe@hotmail.example","archibald-turner@hotmail.example","arne-o-hara@gmail.example","art-graham@yahoo.example","arvel-lakin@gmail.example","ashton-herman@hotmail.example","aubree-dibbert@hotmail.example","aubree-walter@hotmail.example","aufderhar-mya@hotmail.example","aufderhar.john@yahoo.example","aurore-yundt@yahoo.example","bahringer-laura@yahoo.example","bailey.kenna@yahoo.example","balistreri-oral@yahoo.example","balistreri-unique@gmail.example","bauch-wilford@gmail.example","bayer-mattie@hotmail.example","bayer.mark@hotmail.example","beatty-emmie@gmail.example","beatty.julio@gmail.example","beatty.mohammed@gmail.example","bechtelar.antone@gmail.example","beer.humberto@hotmail.example","berge-halie@hotmail.example","bergstrom-chelsie@yahoo.example","bernhard.kathleen@yahoo.example","bins-evans@hotmail.example","blair.heaney@gmail.example","blake-leffler@hotmail.example","blaze-daugherty@hotmail.example","blick-candelario@yahoo.example","block.emiliano@hotmail.example","bode-sydnie@gmail.example","bode.richmond@gmail.example","boehm-amanda@hotmail.example","bogan.rodger@gmail.example","bosco-zachariah@gmail.example","bosco.haylie@hotmail.example","botsford.okey@hotmail.example","boyer-bernhard@yahoo.example","boyle-christiana@gmail.example","brakus-kimberly@gmail.example","brakus.marlene@hotmail.example","brant.klein@yahoo.example","braun.madisyn@gmail.example","breanna.strosin@yahoo.example","breitenberg-louie@gmail.example","brekke.kirsten@yahoo.example","brennon-gerlach@hotmail.example","bret-quigley@gmail.example","brianne-jacobson@yahoo.example","brown-deontae@gmail.example","buddy-hills@gmail.example","caleigh-hodkiewicz@yahoo.example","camron-homenick@gmail.example","camryn-schmeler@hotmail.example","candida-turcotte@yahoo.example","carolanne-upton@gmail.example","carroll.chanel@yahoo.example","carroll.kohler@hotmail.example","carter-fern@hotmail.example","casey.robel@yahoo.example","casper-alfonzo@yahoo.example","cassin-cleta@hotmail.example","cassin.mario@hotmail.example","cayla.vonrueden@hotmail.example","cecilia.stark@hotmail.example","cedrick-kessler@gmail.example","champlin.jensen@yahoo.example","chanel.rippin@yahoo.example","charlene-bayer@hotmail.example","chet-blick@yahoo.example","christophe.wilderman@hotmail.example","ciara-larson@hotmail.example","ciara.green@yahoo.example","clark-luettgen@gmail.example","claudie-dare@yahoo.example","claudine.mccullough@yahoo.example","clay-pfannerstill@gmail.example","clemens.hansen@gmail.example","cole.christophe@yahoo.example","conn-gideon@yahoo.example","connell-o-henriette@yahoo.example","connell.lisette.o@yahoo.example","connelly-alice@gmail.example","connelly.bessie@hotmail.example","conner.windler@gmail.example","conroy-orlando@yahoo.example","conroy-yadira@gmail.example","corbin.mertz@hotmail.example","corbin.wiegand@yahoo.example","corkery.theresa@yahoo.example","cornelius-bogisich@hotmail.example","crawford.rath@gmail.example","cremin-jerome@hotmail.example","cremin.tyler@gmail.example","cronin-marley@yahoo.example","curtis.morar@hotmail.example","d-amore-geoffrey@yahoo.example","dagmar-sawayn@gmail.example","dana-orn@hotmail.example","dana.kozey@yahoo.example","darwin-abshire@yahoo.example","dawson-kuvalis@gmail.example","dax-bartell@hotmail.example","dayne.strosin@hotmail.example","deckow.alisha@hotmail.example","dell-schimmel@hotmail.example","demario-hand@yahoo.example","demetris.hauck@hotmail.example","dena-schiller@yahoo.example","denesik-delphia@hotmail.example","deron-cremin@gmail.example","destiny-murazik@hotmail.example","deven.brekke@gmail.example","domenico.bailey@yahoo.example","dominic.jacobi@yahoo.example","donavon.lowe@gmail.example","dooley-karen@gmail.example","douglas-prosacco@hotmail.example","douglas.anais@hotmail.example","durgan-emiliano@hotmail.example","earnestine-lockman@hotmail.example","easton-koch@gmail.example","effertz-elnora@yahoo.example","eileen-mayert@gmail.example","eldon.herman@yahoo.example","elisa-grady@yahoo.example","ellie-oberbrunner@yahoo.example","ellsworth.west@hotmail.example","elmo.schimmel@yahoo.example","elsa.klocko@gmail.example","elvera.lowe@yahoo.example","elwin.okuneva@gmail.example","emanuel-corwin@gmail.example","emard-janiya@gmail.example","emerson-o-keefe@gmail.example","emery.gerlach@hotmail.example","emmie-mertz@yahoo.example","enola.bayer@yahoo.example","erich.kris@gmail.example","ernestina-gerhold@gmail.example","ernser-ardella@gmail.example","esther-douglas@yahoo.example","estrella.goyette@hotmail.example","ethan.rutherford@gmail.example","eudora-renner@gmail.example","eugenia-stroman@yahoo.example","eula-connell-o@hotmail.example","eve.mante@yahoo.example","fadel-philip@hotmail.example","feest-angus@gmail.example","feil.sterling@gmail.example","felicity-greenfelder@hotmail.example","felipe-johnston@yahoo.example","ferry.enrico@hotmail.example","fisher-antwan@hotmail.example","florence.donnelly@gmail.example","foster-gusikowski@yahoo.example","foster-marks@yahoo.example","francisco-robel@hotmail.example","freddie.wisoky@gmail.example","fredrick-gulgowski@yahoo.example","fritz.dickens@hotmail.example","funk.nichole@yahoo.example","gabrielle-considine@yahoo.example","gabrielle-frami@gmail.example","gaetano-rogahn@hotmail.example","gaylord-granville@yahoo.example","gene-lueilwitz@gmail.example","gerhold.lempi@yahoo.example","germaine-brakus@yahoo.example","gibson.eveline@hotmail.example","gilberto-mueller@gmail.example","gino.johnston@yahoo.example","giovani-thompson@hotmail.example","giovani.lesch@hotmail.example","gislason-kaelyn@hotmail.example","giuseppe.morar@hotmail.example","gleichner-joshuah@gmail.example","glover-eryn@gmail.example","glover.kelsie@yahoo.example","goldner.ruthe@hotmail.example","gorczany-eulah@yahoo.example","gottlieb-ola@gmail.example","gottlieb-ruthe@yahoo.example","grady.raynor@hotmail.example","graham-liam@yahoo.example","greenfelder-hulda@gmail.example","greenfelder.wilbert@gmail.example","greg-purdy@gmail.example","gretchen.muller@hotmail.example","greyson.boyle@gmail.example","grimes-terrence@gmail.example","grimes.melisa@gmail.example","guido-mckenzie@yahoo.example","gulgowski.ubaldo@gmail.example","gutkowski-pattie@hotmail.example","gutmann-lura@hotmail.example","hagenes-rosie@hotmail.example","hahn.hugh@hotmail.example","halvorson.dale@gmail.example","hane.audie@gmail.example","hane.carter@gmail.example","hansen-karl@hotmail.example","hansen.alta@yahoo.example","hansen.anibal@yahoo.example","hansen.magnolia@gmail.example","harris-myrtice@gmail.example","harris.constantin@hotmail.example","harris.richard@yahoo.example","heath-dare@gmail.example","heathcote.jamar@gmail.example","heidenreich-patience@hotmail.example","heidenreich.pearlie@hotmail.example","heidi-glover@gmail.example","henry-rowe@yahoo.example","hermann-madelyn@hotmail.example","hermiston.gerald@yahoo.example","hertha.price@gmail.example","herzog-ophelia@hotmail.example","hessel.arnoldo@yahoo.example","hettinger-brendon@yahoo.example","hettinger.david@yahoo.example","hettinger.orval@hotmail.example","hettinger.shyanne@yahoo.example","hills-violet@hotmail.example","hilpert.gunnar@yahoo.example","hollis-hettinger@gmail.example","homenick-omari@hotmail.example","hoppe.kathryne@gmail.example","hoppe.lewis@gmail.example","howell-reba@gmail.example","howell.jacinthe@yahoo.example","hudson-audra@hotmail.example","hudson.larkin@hotmail.example","huels-earnest@hotmail.example","huels-gunnar@yahoo.example","hyatt.rowan@hotmail.example","jace-kihn@yahoo.example","jacey.schoen@hotmail.example","jacobs-oliver@yahoo.example","jacobs-ronny@hotmail.example","jacobson.stan@gmail.example","jairo-simonis@yahoo.example","jakob.hansen@gmail.example","jakubowski.nyasia@yahoo.example","jaleel.collins@gmail.example","jamel.stanton@yahoo.example","jannie-balistreri@yahoo.example","jasen.stanton@yahoo.example","jast.leann@yahoo.example","jayden.kris@hotmail.example","jazmin.brekke@gmail.example","jedediah-huels@hotmail.example","jeffry-schowalter@hotmail.example","jenkins-sandy@yahoo.example","jennifer-klocko@hotmail.example","jerrod-king@yahoo.example","jessika.funk@yahoo.example","jo-gusikowski@hotmail.example","joe.becker@yahoo.example","joelle-ullrich@gmail.example","johns-myrtle@yahoo.example","johnston.benny@gmail.example","jorge.bins@gmail.example","josh-schimmel@gmail.example","judd-hickle@gmail.example","kade-kub@hotmail.example","kaela-kunze@gmail.example","kariane.hintz@gmail.example","karine.mante@gmail.example","katharina-heathcote@yahoo.example","kavon-dach@gmail.example","kaya.schoen@yahoo.example","kayley.powlowski@hotmail.example","keefe-o-jonas@yahoo.example","keenan.ferry@hotmail.example","kellie.price@hotmail.example","kelsi.douglas@gmail.example","kemmer-gene@yahoo.example","kemmer-matt@yahoo.example","kemmer.bonnie@hotmail.example","kennedy-kunde@gmail.example","kerluke.jakob@gmail.example","kertzmann-coty@hotmail.example","keshaun-carroll@hotmail.example","khalid-pouros@yahoo.example","khalid.blanda@yahoo.example","kihn.alfred@yahoo.example","kilback-alisha@hotmail.example","kilback-carmelo@yahoo.example","kitty.hilll@gmail.example","koelpin-karelle@gmail.example","koepp-melyna@gmail.example","kohler.jermain@hotmail.example","konopelski.beaulah@hotmail.example","koss-ella@hotmail.example","koss.letha@hotmail.example","kovacek-dawson@hotmail.example","kristoffer.blanda@yahoo.example","krystel.boyle@yahoo.example","kshlerin-bernardo@gmail.example","kshlerin-stella@yahoo.example","kulas-armani@yahoo.example","kunze.eleanora@hotmail.example","kuphal.colton@gmail.example","kurtis.parker@gmail.example","kuvalis-cierra@yahoo.example","kuvalis-willis@yahoo.example","kyler-altenwerth@yahoo.example","kyler.abshire@yahoo.example","kyra-lynch@hotmail.example","lacey.dickinson@hotmail.example","langosh.cathrine@gmail.example","langworth-savion@gmail.example","larkin-lilliana@hotmail.example","larkin.cedrick@gmail.example","larson-adrianna@gmail.example","laurel.pfannerstill@gmail.example","laurie-sanford@hotmail.example","lavern.botsford@hotmail.example","lavern.boyle@hotmail.example","leannon-clay@gmail.example","lebsack-tristin@yahoo.example","ledner-nichole@yahoo.example","leila-considine@gmail.example","leta-heidenreich@yahoo.example","leuschke-estefania@yahoo.example","liam-schoen@hotmail.example","lillie.wilderman@hotmail.example","lind.annamae@gmail.example","linnea.dickens@gmail.example","littel.otto@hotmail.example","little-anika@hotmail.example","little.john@yahoo.example","lockman-janiya@hotmail.example","logan-weber@yahoo.example","lon-friesen@yahoo.example","lorna.greenholt@yahoo.example","lou.runte@gmail.example","lowell-daniel@gmail.example","loyal.wintheiser@yahoo.example","loyce-lemke@yahoo.example","lucas-beer@gmail.example","lucile-bednar@gmail.example","lueilwitz.osbaldo@yahoo.example","luna-nienow@gmail.example","lynch.tyson@gmail.example","lysanne-brekke@yahoo.example","mabel-grimes@hotmail.example","macejkovic-cyrus@gmail.example","macejkovic.andrew@hotmail.example","mackenzie-ullrich@yahoo.example","madge-friesen@gmail.example","madie.bayer@hotmail.example","maeve.hilpert@hotmail.example","maiya-beier@hotmail.example","malika-kuphal@hotmail.example","mante-dakota@yahoo.example","marcelle-rippin@gmail.example","marcelo-ferry@gmail.example","margarete.tillman@gmail.example","marley.gorczany@hotmail.example","marvin.kris@gmail.example","mathilde.quigley@gmail.example","maurine-considine@hotmail.example","maximillia.ebert@hotmail.example","maximillian-zboncak@hotmail.example","mayer.arne@hotmail.example","mayert.jessyca@gmail.example","mckenzie.eduardo@yahoo.example","mclaughlin.ezekiel@yahoo.example","meagan.cremin@yahoo.example","melba-witting@hotmail.example","melisa.hilpert@hotmail.example","melissa.cormier@hotmail.example","merle.blick@yahoo.example","merle.moen@yahoo.example","mertz.antoinette@hotmail.example","mertz.melissa@gmail.example","micaela.kerluke@gmail.example","milan-ritchie@gmail.example","miller-geovanni@hotmail.example","miller.morgan@gmail.example","mills-andy@hotmail.example","milton.schiller@hotmail.example","mina.reynolds@yahoo.example","miracle.erdman@gmail.example","misty-botsford@hotmail.example","mitchell-lacey@gmail.example","moen-evalyn@gmail.example","mohr.johnson@gmail.example","mollie.bogan@hotmail.example","monahan.loma@yahoo.example","monserrate-doyle@hotmail.example","morar-maddison@hotmail.example","morissette.jailyn@gmail.example","mraz-tomas@gmail.example","mraz.caitlyn@yahoo.example","muller-russell@yahoo.example","murazik-donny@hotmail.example","murray-idell@gmail.example","murray-zemlak@hotmail.example","murray.gleason@gmail.example","mya-gleason@yahoo.example","myles.deckow@gmail.example","myrtle.bahringer@hotmail.example","nader-arnaldo@hotmail.example","nader-ryley@hotmail.example","nayeli.becker@yahoo.example","nicolas.dameon@yahoo.example","nicolas.karen@hotmail.example","nikko.bartoletti@gmail.example","nikolas-hilpert@gmail.example","nikolaus-willie@yahoo.example","nils.gaylord@hotmail.example","nolan-amy@hotmail.example","nolan.samantha@hotmail.example","o-issac-kon@hotmail.example","o.janelle.hara@gmail.example","oceane.runte@yahoo.example","odell.stehr@hotmail.example","olaf.sipes@gmail.example","ollie.corkery@gmail.example","ondricka-lamont@hotmail.example","ondricka-madge@yahoo.example","ondricka.rollin@gmail.example","orie-sipes@yahoo.example","ortiz.harrison@gmail.example","orville-effertz@hotmail.example","oscar-olson@hotmail.example","osinski-joanne@gmail.example","pacocha-khalil@hotmail.example","padberg-albert@gmail.example","pagac-yessenia@yahoo.example","parker-lilliana@yahoo.example","pattie.senger@yahoo.example","paucek-larry@hotmail.example","petra.durgan@hotmail.example","peyton-barton@gmail.example","powlowski-mohammed@yahoo.example","price-rosalyn@yahoo.example","rau.arnaldo@hotmail.example","raynor.chasity@gmail.example","rebekah-dickinson@hotmail.example","rebekah.ledner@gmail.example","reichel-antwon@hotmail.example","reichel.gracie@gmail.example","reichert-evangeline@yahoo.example","reid-reilly@hotmail.example","reilly.o.franco@yahoo.example","rempel.brooke@gmail.example","rene.muller@gmail.example","reuben-koelpin@yahoo.example","rey-schumm@hotmail.example","reyna-greenholt@yahoo.example","reynolds-melisa@hotmail.example","richmond-adams@gmail.example","roberts-lilian@yahoo.example","rogahn-meta@hotmail.example","rolfson-ford@yahoo.example","rolfson.natalie@yahoo.example","romaguera-angeline@yahoo.example","roob-lila@gmail.example","rosalinda-stamm@gmail.example","rosella-bergstrom@gmail.example","rowe-celestine@gmail.example","ruecker-kathlyn@yahoo.example","ruecker-tad@yahoo.example","runolfsdottir-tyreek@gmail.example","runolfsdottir.augustine@gmail.example","runolfsson.davonte@gmail.example","rutherford-beau@yahoo.example","rylee-upton@yahoo.example","ryleigh-padberg@hotmail.example","sabrina-schmidt@hotmail.example","sabryna-schumm@gmail.example","sallie.wehner@yahoo.example","samir.hayes@yahoo.example","sanford.leilani@yahoo.example","satterfield-abbey@hotmail.example","satterfield.chris@hotmail.example","satterfield.creola@hotmail.example","sauer-franco@yahoo.example","schaden.johathan@hotmail.example","schamberger-zora@gmail.example","schiller.loyal@gmail.example","schinner.verna@yahoo.example","schmeler-lucinda@hotmail.example","schmeler-rita@yahoo.example","schmeler.annabelle@gmail.example","schoen.viola@hotmail.example","schuster.geovanny@yahoo.example","scottie.schmidt@hotmail.example","senger-kamron@hotmail.example","shanie.spinka@gmail.example","shanny-kuvalis@gmail.example","shirley-okuneva@yahoo.example","sidney-kling@gmail.example","skiles-devan@gmail.example","skye.heidenreich@gmail.example","smith-meaghan@yahoo.example","smith-price@yahoo.example","spencer.efrain@gmail.example","spinka-donato@yahoo.example","spinka-jessy@gmail.example","sporer-nyasia@hotmail.example","sporer.toby@yahoo.example","stamm.davin@yahoo.example","stanley.kuphal@gmail.example","stark.yasmin@gmail.example","stehr-freeman@hotmail.example","stehr.tyson@gmail.example","steuber-vernice@yahoo.example","steuber.dedrick@gmail.example","stewart.sawayn@gmail.example","stiedemann-gage@gmail.example","stiedemann.coby@gmail.example","stokes.cordelia@yahoo.example","stoltenberg-miguel@gmail.example","swaniawski-kaleb@gmail.example","swaniawski-luisa@hotmail.example","swift.pietro@hotmail.example","tavares.metz@yahoo.example","terry-gregorio@gmail.example","terry-william@yahoo.example","terry.darlene@gmail.example","terry.joe@gmail.example","theodore.mcglynn@hotmail.example","theresa.grant@yahoo.example","theresia-russel@gmail.example","thompson-fay@yahoo.example","thompson-hosea@hotmail.example","thurman-pouros@hotmail.example","toby.yundt@gmail.example","torp.magdalen@yahoo.example","trantow-daphnee@hotmail.example","tressie-smitham@yahoo.example","treutel-jessika@yahoo.example","treutel.jaquan@hotmail.example","tromp-demario@yahoo.example","tromp.emelia@hotmail.example","trudie-muller@gmail.example","trudie.koch@yahoo.example","turner.dahlia@yahoo.example","turner.kelley@hotmail.example","tyrel-beatty@yahoo.example","ullrich-ladarius@gmail.example","unique.jerde@yahoo.example","vanessa-jaskolski@gmail.example","vergie.borer@hotmail.example","veronica.weissnat@gmail.example","virginia-prohaska@yahoo.example","vonrueden-sheridan@hotmail.example","waelchi-filomena@yahoo.example","waelchi-jaqueline@hotmail.example","waelchi.iva@yahoo.example","walker-derrick@yahoo.example","walker-nicole@yahoo.example","walker-trace@gmail.example","walker.carter@yahoo.example","walter-melisa@gmail.example","walter.chris@yahoo.example","ward.anais@gmail.example","ward.mabel@gmail.example","warren.gulgowski@hotmail.example","watsica-olen@gmail.example","watsica.stanley@hotmail.example","weber-breana@hotmail.example","weber-gino@yahoo.example","weber-mohammad@yahoo.example","weimann.keyshawn@hotmail.example","weimann.maryam@gmail.example","weissnat-victoria@gmail.example","weissnat.elmore@gmail.example","weissnat.mathilde@hotmail.example","welch-lucinda@yahoo.example","wendell-becker@yahoo.example","west.laisha@yahoo.example","white.berneice@gmail.example","wiegand.guy@gmail.example","wilderman-nellie@hotmail.example","wilhelmine.erdman@gmail.example","wilkinson-penelope@gmail.example","wilkinson.edmund@hotmail.example","will.garrison@yahoo.example","willms-ardella@yahoo.example","willms-tressie@hotmail.example","willms.seth@gmail.example","willms.wilhelm@gmail.example","wilton-senger@yahoo.example","winfield.donnelly@hotmail.example","winona.cassin@yahoo.example","wintheiser-broderick@yahoo.example","wintheiser-celestino@gmail.example","wintheiser-murray@yahoo.example","wisoky-rebeka@hotmail.example","witting-cindy@yahoo.example","witting-maud@gmail.example","witting-raegan@gmail.example","wiza-andreanne@gmail.example","wiza.lisette@yahoo.example","wolf-jewell@yahoo.example","wuckert.iva@hotmail.example","wyman.hilma@gmail.example","yundt-haven@hotmail.example","yundt.merl@yahoo.example","zackery.bailey@gmail.example","zane.paucek@yahoo.example","zetta.nitzsche@gmail.example","ziemann-serena@gmail.example","zula.boehm@hotmail.example"] \N 26 f full \N 2024-05-15 23:20:07.477142+00 +13 2024-05-15 23:20:07.607454+00 2024-05-15 23:20:07.607454+00 [1,2,3,4,5] \N 23 f full \N 2024-05-15 23:20:07.607454+00 +14 2024-05-15 23:20:08.218225+00 2024-05-15 23:20:08.218225+00 ["Average","Below Average","Good","Great","Poor"] \N 28 f full \N 2024-05-15 23:20:08.218225+00 +15 2024-05-15 23:20:08.461954+00 2024-05-15 23:20:08.461954+00 ["Basic","Business","Premium"] \N 30 f full \N 2024-05-15 23:20:08.461954+00 +16 2024-05-15 23:20:08.565745+00 2024-05-15 23:20:08.565745+00 [false,true] \N 35 f full \N 2024-05-15 23:20:08.565745+00 +17 2024-05-15 23:20:08.623494+00 2024-05-15 23:20:08.623494+00 [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,63,65,67,68,69,70,71,72,73,75,78,82,83,88,100] \N 39 f full \N 2024-05-15 23:20:08.623494+00 +18 2024-05-15 23:20:08.735947+00 2024-05-15 23:20:08.735947+00 ["AK","AL","AR","AZ","CA","CO","CT","DE","FL","GA","IA","ID","IL","IN","KS","KY","LA","MA","MD","ME","MI","MN","MO","MS","MT","NC","ND","NE","NH","NJ","NM","NV","NY","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VA","VT","WA","WI","WV","WY"] \N 48 f full \N 2024-05-15 23:20:08.735947+00 +19 2024-05-15 23:20:08.836218+00 2024-05-15 23:20:08.836218+00 ["Affiliate","Facebook","Google","Organic","Twitter"] \N 45 f full \N 2024-05-15 23:20:08.836218+00 +20 2024-05-15 23:20:08.985152+00 2024-05-15 23:20:08.985152+00 ["Alfreda Konopelski II Group","Alfredo Kuhlman Group","Americo Sipes and Sons","Annetta Wyman and Sons","Aufderhar-Boehm","Balistreri-Ankunding","Balistreri-Muller","Barrows-Johns","Batz-Schroeder","Baumbach-Hilpert","Bednar, Berge and Boyle","Berge, Mraz and Sawayn","Bernhard-Grady","Blake Greenfelder Group","Bosco-Breitenberg","Bradtke, Wilkinson and Reilly","Braeden Gislason and Sons","Brittany Mueller Inc","Cale Thompson V and Sons","Carmela Douglas Inc","Carol Marvin LLC","Casper-Schimmel","Cassin-Collins","Claude Thompson Group","Connelly-Mitchell","Connelly-Ritchie","Considine, Bogisich and Bauch","Considine, Lehner and Maggio","Considine, Schamberger and Schiller","Cremin-Williamson","Crona, Block and Homenick","Cruickshank-Abernathy","Daugherty-Dach","Delphia Bauch Inc","Demarcus Brakus Inc","Denesik-Ortiz","Devonte Gleichner Inc","Dominic Mann Group","Donnelly, Renner and Barton","Dooley-Cummings","Dora Fay and Sons","Dorothea Balistreri Inc","Emmerich-Nienow","Erika Volkman Group","Eugenia Kunze LLC","Fisher-Kemmer","Fisher-Purdy","Flatley-Kunde","Ford Runolfsson Group","Francis Wolff Group","Friesen-Anderson","Friesen-Langworth","Gail Bergstrom Inc","Gaylord-Lesch","Gibson, Turner and Douglas","Goyette-Smitham","Grady, Greenfelder and Welch","Gulgowski, Grimes and Mayer","Gutmann-Breitenberg","Hackett-Reynolds","Halle Kulas I LLC","Halvorson, Lockman and Ruecker","Hane, Hamill and Jerde","Hartmann, Mohr and Stiedemann","Hauck, Ernser and Barton","Heaney-Windler","Heathcote-Kirlin","Herman Flatley Group","Herman, Gleason and Renner","Hermiston, O'Hara and Wunsch","Herta Skiles and Sons","Hills, Fahey and Jones","Hilpert, Jacobs and Hauck","Hodkiewicz-Brekke","Howe, Kiehn and Price","Israel Spinka and Sons","Izabella Dach I and Sons","Jacobson-Daniel","Janick Harvey LLC","Jefferey Volkman LLC","Jerrell Gulgowski Inc","Jerrod McLaughlin LLC","Jones, Hayes and Kshlerin","Jordi Effertz LLC","Keely Stehr Group","Keshaun Mueller Group","Kiehn-Pacocha","Kiel Kassulke Group","Kirlin, Hermann and Stokes","Koch-Ruecker","Koepp, Ondricka and Larkin","Kuhlman-Kuphal","Kuhlman-McKenzie","Kuhn-O'Reilly","Kuphal, Brown and Koss","Kuphal, Friesen and Rowe","Kuphal, Schowalter and Bogan","Lakin-Stroman","Larson, Pfeffer and Klocko","Ledner-Satterfield","Ledner-Watsica","Legros, Lynch and Howell","Little-Pagac","Lon Wiegand DVM and Sons","Lorenza Mayer Inc","Maegan Casper Group","Marge Effertz Jr. Inc","Marquardt, Crooks and Abshire","Marvin, Turcotte and Wisozk","Mason Bashirian and Sons","Maxime Haley and Sons","Mayer, Kiehn and Turcotte","McClure-Lockman","McClure-Murphy","McDermott, Kiehn and Becker","McGlynn, Fay and Kertzmann","Medhurst-Reichert","Miles Ryan Group","Miss Annamae Kutch Group","Morar-Schamberger","Morissette, Bartoletti and Cummings","Morissette, Dare and Schimmel","Mr. Colton Mayer Group","Mr. Johanna Koepp and Sons","Mr. Tanya Stracke and Sons","Mrs. Eugenia Koelpin and Sons","Mueller, Mayert and Johnston","Mueller-Dare","Murray, Watsica and Wunsch","Myriam Macejkovic Inc","Nikolaus-Hudson","Noah Anderson and Sons","Nolan-Heller","Nolan-Wolff","Odessa Emmerich Inc","Okuneva, Kutch and Monahan","Ora Monahan and Sons","Oran D'Amore Inc","Orn, Hilpert and Pfannerstill","Pacocha-Volkman","Padberg, Senger and Williamson","Parker, O'Connell and Beahan","Pouros, Nitzsche and Mayer","Powlowski, Keebler and Quigley","Price Kuhic Inc","Price, Schultz and Daniel","Prohaska-Quigley","Quigley, Von and Will","Regan Bradtke and Sons","Reichert, Johnson and Roob","Reid Pfannerstill and Sons","Reynolds, Gleason and Brekke","Ritchie, Haley and Pacocha","Robyn Padberg Inc","Rodriguez-Kuhlman","Rosanna Murazik Inc","Roscoe Oberbrunner Group","Rowan Kautzer LLC","Ruecker, Carter and Ortiz","Ruecker-Jakubowski","Schamberger-Maggio","Schamberger-Wehner","Schiller, Bogisich and Lockman","Schinner, Schmitt and Crona","Schumm, Brown and Wehner","Schuster-Wyman","Senger, Mertz and Murray","Senger-Doyle","Senger-Stamm","Smitham, Dach and Bode","Spinka-Stokes","Stamm, Crist and Labadie","Stanton-Fritsch","Stark-Bayer","Stroman-Carroll","Swaniawski, Casper and Hilll","Theodora Terry and Sons","Theodore Hansen Inc","Thompson-Wolf","Tia Goyette Group","Toy, Deckow and Nitzsche","Trantow-Bartell","Turner, Kiehn and Schmitt","Una Fadel Group","Upton, Kovacek and Halvorson","Upton, Schoen and Streich","Ursula Collins LLC","Volkman, Greenfelder and Kiehn","Von-Gulgowski","Weimann-Cummings","West, Prohaska and Wunsch","Wilkinson, Donnelly and Gulgowski","Wilkinson-Gottlieb","Wisoky, Pagac and Heaney","Wiza, Abbott and Deckow","Wolf, Beahan and Thiel","Wolff, Ebert and Hansen","Wuckert, Murazik and Ernser","Zemlak, Botsford and Corkery","Zemlak-Wiegand"] \N 60 f full \N 2024-05-15 23:20:08.985152+00 +21 2024-05-15 23:20:09.057911+00 2024-05-15 23:20:09.057911+00 ["Doohickey","Gadget","Gizmo","Widget"] \N 58 f full \N 2024-05-15 23:20:09.057911+00 +22 2024-05-15 23:20:09.138238+00 2024-05-15 23:20:09.138238+00 ["0001664425970","0006590063715","0010465925138","0038948983000","0095774502751","0096051986448","0157967025871","0212722801067","0225815844582","0236197465609","0255973714120","0272643267465","0335243754848","0399569209871","0498395047364","0698616313838","0743731223606","0832349515187","0848056924761","0899183128263","1018947080336","1078766578568","1087115303928","1144906750559","1157194463322","1272575087123","1404411876176","1408483808240","1464781960745","1468999794635","1484994799123","1538211018396","1559730016366","1576499102253","1613730311804","1613963249998","1726123595351","1770178011663","1790740189682","1807963902339","1838229841499","1878073010375","1909194306167","1943523619306","1960588072419","2084705637233","2091630691049","2117622168280","2125923238175","2293343551454","2315609605258","2339358820724","2434890445616","2448500145612","2484897511500","2516506541834","2529776156387","2543248750439","2562717359713","2646001599860","2703547723491","2820850288674","2890379323668","2952766751666","3084140869281","3301617687934","3307124431763","3576267834421","3621077291879","3642408008706","3661250556340","3685697688891","3691313722887","3769015137275","3772022926992","3806751355669","3828680930458","3987140172453","3988126680641","4009053735033","4093428378987","4134502155718","4168050315812","4198118078267","4201407654834","4284914664558","4307721071729","4312472827051","4347934129886","4406572671024","4504719641739","4516685534489","4561421124790","4665903801947","4686859196154","4709231420798","4733532233696","4734618834332","4760375596107","4785470010730","4819782507258","4863291591550","4886504321812","4893655420066","4945934419923","4963935336179","4966277046676","5010710584900","5050273180195","5065846711133","5099742600901","5176352942567","5272733645116","5291392809646","5408760500061","5433448189252","5499736705597","5522456328132","5528517133622","5592486096660","5626486088179","5738533322232","5778452195678","5856636800041","5881647583898","5935916054838","5955704607626","6009279470754","6154584840805","6190070243323","6201199361567","6248889948356","6316992933962","6372029072158","6403813628678","6409491343148","6424174443243","6575325360237","6588791601926","6704641545275","6858015278648","6875096496570","6906120611895","6966709160725","7059492880556","7067375149041","7080123588503","7153630876392","7167715379463","7177157744491","7217466997444","7317365230007","7345418848909","7384311074268","7485639601133","7494558044822","7532074237028","7570673549500","7595223735110","7663515285824","7667946672475","7668932199532","7760442733661","7813908779724","7854842811538","8002754191821","8163753213485","8207931408888","8222420544052","8245402607613","8271165200181","8296484749050","8368305700967","8469939413398","8590367775021","8687358946192","8703661046340","8725228831589","8769809778856","8825217022124","8833419218504","8844419430964","8909358907493","8933669659420","9031323475252","9095019841233","9131148018211","9182640035008","9216642429807","9347854191845","9458076657016","9482467478850","9522454376759","9633135585459","9644009305424","9687547218818","9753065345920","9786855487647","9802920493181","9978391194435"] \N 63 f full \N 2024-05-15 23:20:09.138238+00 +23 2024-05-15 23:20:09.192917+00 2024-05-15 23:20:09.192917+00 ["Aerodynamic Bronze Hat","Aerodynamic Concrete Bench","Aerodynamic Concrete Lamp","Aerodynamic Copper Knife","Aerodynamic Cotton Bottle","Aerodynamic Cotton Lamp","Aerodynamic Granite Bench","Aerodynamic Granite Bottle","Aerodynamic Leather Computer","Aerodynamic Leather Toucan","Aerodynamic Linen Coat","Aerodynamic Paper Coat","Aerodynamic Paper Computer","Aerodynamic Rubber Bench","Awesome Aluminum Keyboard","Awesome Aluminum Table","Awesome Bronze Plate","Awesome Concrete Shoes","Awesome Cotton Shoes","Awesome Granite Car","Awesome Iron Hat","Awesome Plastic Watch","Awesome Rubber Wallet","Awesome Silk Car","Awesome Steel Toucan","Awesome Wool Bench","Durable Aluminum Bag","Durable Copper Clock","Durable Cotton Bench","Durable Cotton Shirt","Durable Iron Knife","Durable Leather Wallet","Durable Marble Watch","Durable Rubber Computer","Durable Steel Toucan","Durable Wool Toucan","Enormous Aluminum Clock","Enormous Aluminum Shirt","Enormous Copper Shirt","Enormous Cotton Pants","Enormous Granite Bottle","Enormous Granite Wallet","Enormous Leather Wallet","Enormous Marble Gloves","Enormous Marble Shoes","Enormous Marble Wallet","Enormous Plastic Coat","Enormous Steel Watch","Enormous Wool Car","Ergonomic Aluminum Plate","Ergonomic Concrete Lamp","Ergonomic Cotton Bag","Ergonomic Granite Bottle","Ergonomic Iron Watch","Ergonomic Leather Pants","Ergonomic Linen Toucan","Ergonomic Marble Computer","Ergonomic Marble Hat","Ergonomic Paper Wallet","Ergonomic Plastic Bench","Ergonomic Rubber Bench","Ergonomic Silk Coat","Ergonomic Silk Keyboard","Ergonomic Silk Table","Ergonomic Wool Bag","Fantastic Aluminum Bottle","Fantastic Copper Hat","Fantastic Leather Watch","Fantastic Rubber Knife","Fantastic Silk Bottle","Fantastic Steel Knife","Fantastic Wool Shirt","Gorgeous Aluminum Plate","Gorgeous Bronze Hat","Gorgeous Concrete Chair","Gorgeous Concrete Shoes","Gorgeous Copper Knife","Gorgeous Linen Bottle","Gorgeous Linen Keyboard","Gorgeous Marble Computer","Gorgeous Marble Plate","Gorgeous Paper Bag","Gorgeous Wooden Car","Heavy-Duty Copper Gloves","Heavy-Duty Copper Toucan","Heavy-Duty Copper Watch","Heavy-Duty Cotton Bottle","Heavy-Duty Linen Gloves","Heavy-Duty Linen Toucan","Heavy-Duty Rubber Bottle","Heavy-Duty Rubber Gloves","Heavy-Duty Silk Car","Heavy-Duty Silk Chair","Heavy-Duty Steel Watch","Heavy-Duty Wooden Clock","Incredible Aluminum Knife","Incredible Bronze Pants","Incredible Bronze Wallet","Incredible Concrete Keyboard","Incredible Concrete Watch","Incredible Granite Toucan","Incredible Linen Knife","Incredible Plastic Chair","Incredible Plastic Watch","Incredible Silk Shoes","Intelligent Bronze Knife","Intelligent Granite Hat","Intelligent Iron Shirt","Intelligent Paper Car","Intelligent Paper Hat","Intelligent Steel Car","Intelligent Wooden Gloves","Lightweight Bronze Table","Lightweight Copper Wallet","Lightweight Granite Hat","Lightweight Leather Bench","Lightweight Leather Gloves","Lightweight Linen Bottle","Lightweight Linen Coat","Lightweight Linen Hat","Lightweight Marble Bag","Lightweight Paper Bottle","Lightweight Steel Knife","Lightweight Steel Watch","Lightweight Wool Bag","Lightweight Wool Computer","Lightweight Wool Plate","Mediocre Aluminum Lamp","Mediocre Aluminum Shirt","Mediocre Cotton Coat","Mediocre Cotton Toucan","Mediocre Leather Coat","Mediocre Leather Computer","Mediocre Marble Lamp","Mediocre Paper Car","Mediocre Plastic Clock","Mediocre Rubber Shoes","Mediocre Silk Bottle","Mediocre Wooden Bench","Mediocre Wooden Table","Mediocre Wool Toucan","Practical Aluminum Coat","Practical Aluminum Table","Practical Bronze Computer","Practical Bronze Watch","Practical Copper Car","Practical Granite Plate","Practical Paper Bag","Practical Plastic Keyboard","Practical Silk Bottle","Practical Silk Computer","Practical Steel Table","Practical Wool Hat","Rustic Concrete Bottle","Rustic Copper Hat","Rustic Copper Knife","Rustic Iron Bench","Rustic Iron Keyboard","Rustic Linen Keyboard","Rustic Marble Bottle","Rustic Paper Bench","Rustic Paper Car","Rustic Paper Wallet","Rustic Rubber Clock","Rustic Rubber Knife","Rustic Silk Knife","Rustic Silk Pants","Sleek Aluminum Clock","Sleek Aluminum Watch","Sleek Bronze Lamp","Sleek Copper Watch","Sleek Granite Pants","Sleek Leather Table","Sleek Leather Toucan","Sleek Marble Clock","Sleek Marble Table","Sleek Paper Toucan","Sleek Plastic Shoes","Sleek Steel Table","Sleek Wool Wallet","Sleek Wool Watch","Small Concrete Knife","Small Copper Clock","Small Copper Plate","Small Cotton Chair","Small Granite Gloves","Small Marble Hat","Small Marble Knife","Small Marble Shoes","Small Plastic Computer","Small Rubber Clock","Small Wool Wallet","Synergistic Copper Computer","Synergistic Granite Chair","Synergistic Leather Coat","Synergistic Marble Keyboard","Synergistic Rubber Shoes","Synergistic Steel Chair","Synergistic Wool Coat"] \N 65 f full \N 2024-05-15 23:20:09.192917+00 +24 2024-05-15 23:20:09.25547+00 2024-05-15 23:20:09.25547+00 [1,2,3,4,5] \N 66 f full \N 2024-05-15 23:20:09.25547+00 +25 2024-05-15 23:30:23.12035+00 2024-05-15 23:30:23.12035+00 [true] \N 180 f full \N 2024-05-15 23:30:23.12035+00 +26 2024-05-15 23:30:23.168355+00 2024-05-15 23:30:23.168355+00 ["45 days",null] \N 188 f full \N 2024-05-15 23:30:23.168355+00 +27 2024-05-15 23:30:23.223488+00 2024-05-15 23:30:23.223488+00 ["0 years 0 mons 0 days 0 hours 1 mins 40.0 secs","0 years 0 mons 0 days 0 hours 5 mins 0.0 secs"] \N 179 f full \N 2024-05-15 23:30:23.223488+00 +28 2024-05-15 23:30:23.262623+00 2024-05-15 23:30:23.262623+00 [1,null] \N 176 f full \N 2024-05-15 23:30:23.262623+00 +29 2024-05-15 23:30:23.296938+00 2024-05-15 23:30:23.296938+00 ["Retention Policy [1000]","Telemetry Reporter [1]"] \N 181 f full \N 2024-05-15 23:30:23.296938+00 +30 2024-05-15 23:30:23.361877+00 2024-05-15 23:30:23.361877+00 ["postgres"] \N 182 f full \N 2024-05-15 23:30:23.361877+00 +31 2024-05-15 23:30:23.452849+00 2024-05-15 23:30:23.452849+00 ["0 years 0 mons 0 days 0 hours 5 mins 0.0 secs","0 years 0 mons 0 days 1 hours 0 mins 0.0 secs"] \N 183 f full \N 2024-05-15 23:30:23.452849+00 +32 2024-05-15 23:30:23.571126+00 2024-05-15 23:30:23.571126+00 ["0 years 0 mons 0 days 24 hours 0 mins 0.0 secs"] \N 184 f full \N 2024-05-15 23:30:23.571126+00 +33 2024-05-15 23:30:23.680833+00 2024-05-15 23:30:23.680833+00 ["policy_retention","policy_telemetry"] \N 185 f full \N 2024-05-15 23:30:23.680833+00 +34 2024-05-15 23:30:23.750038+00 2024-05-15 23:30:23.750038+00 ["_timescaledb_internal"] \N 187 f full \N 2024-05-15 23:30:23.750038+00 +35 2024-05-15 23:30:23.829575+00 2024-05-15 23:30:23.829575+00 [-1] \N 189 f full \N 2024-05-15 23:30:23.829575+00 +36 2024-05-15 23:30:24.017148+00 2024-05-15 23:30:24.017148+00 [0] \N 190 f full \N 2024-05-15 23:30:24.017148+00 +37 2024-05-15 23:30:24.071108+00 2024-05-15 23:30:24.071108+00 [0] \N 198 f full \N 2024-05-15 23:30:24.071108+00 +38 2024-05-15 23:30:24.169097+00 2024-05-15 23:30:24.169097+00 [0] \N 200 f full \N 2024-05-15 23:30:24.169097+00 +39 2024-05-15 23:30:24.538007+00 2024-05-15 23:30:24.538007+00 ["0 years 0 mons 0 days 0 hours 0 mins 0.168012 secs"] \N 201 f full \N 2024-05-15 23:30:24.538007+00 +40 2024-05-15 23:30:24.634588+00 2024-05-15 23:30:24.634588+00 [1] \N 191 f full \N 2024-05-15 23:30:24.634588+00 +41 2024-05-15 23:30:24.689179+00 2024-05-15 23:30:24.689179+00 [1] \N 192 f full \N 2024-05-15 23:30:24.689179+00 +42 2024-05-15 23:30:24.75866+00 2024-05-15 23:30:24.75866+00 [0] \N 194 f full \N 2024-05-15 23:30:24.75866+00 +43 2024-05-15 23:30:24.813116+00 2024-05-15 23:30:24.813116+00 [true] \N 202 f full \N 2024-05-15 23:30:24.813116+00 +44 2024-05-15 23:30:24.990778+00 2024-05-15 23:30:24.990778+00 [true] \N 330 f full \N 2024-05-15 23:30:24.990778+00 +45 2024-05-15 23:30:25.149602+00 2024-05-15 23:30:25.149602+00 [1,null] \N 328 f full \N 2024-05-15 23:30:25.149602+00 +46 2024-05-15 23:30:25.208343+00 2024-05-15 23:30:25.208343+00 ["public",null] \N 329 f full \N 2024-05-15 23:30:25.208343+00 +47 2024-05-15 23:30:25.25575+00 2024-05-15 23:30:25.25575+00 [1,1000] \N 336 f full \N 2024-05-15 23:30:25.25575+00 +48 2024-05-15 23:30:25.304581+00 2024-05-15 23:30:25.304581+00 ["postgres"] \N 331 f full \N 2024-05-15 23:30:25.304581+00 +62 2024-05-15 23:30:26.176499+00 2024-05-15 23:30:26.176499+00 ["time_tag"] \N 137 f full \N 2024-05-15 23:30:26.176499+00 +49 2024-05-15 23:30:25.348561+00 2024-05-15 23:30:25.348561+00 ["0 years 0 mons 0 days 24 hours 0 mins 0.0 secs"] \N 334 f full \N 2024-05-15 23:30:25.348561+00 +52 2024-05-15 23:30:25.62921+00 2024-05-15 23:30:25.62921+00 ["_timescaledb_internal"] \N 339 f full \N 2024-05-15 23:30:25.62921+00 +53 2024-05-15 23:30:25.680213+00 2024-05-15 23:30:25.680213+00 ["hist",null] \N 340 f full \N 2024-05-15 23:30:25.680213+00 +54 2024-05-15 23:30:25.756413+00 2024-05-15 23:30:25.756413+00 ["0 years 0 mons 0 days 0 hours 5 mins 0.0 secs","0 years 0 mons 0 days 1 hours 0 mins 0.0 secs"] \N 342 f full \N 2024-05-15 23:30:25.756413+00 +55 2024-05-15 23:30:25.857438+00 2024-05-15 23:30:25.857438+00 [-1] \N 343 f full \N 2024-05-15 23:30:25.857438+00 +56 2024-05-15 23:30:25.895447+00 2024-05-15 23:30:25.895447+00 ["Retention Policy [1000]","Telemetry Reporter [1]"] \N 337 f full \N 2024-05-15 23:30:25.895447+00 +57 2024-05-15 23:30:25.938853+00 2024-05-15 23:30:25.938853+00 ["45 days",null] \N 341 f full \N 2024-05-15 23:30:25.938853+00 +58 2024-05-15 23:30:26.006417+00 2024-05-15 23:30:26.006417+00 [null] \N 131 f full \N 2024-05-15 23:30:26.006417+00 +59 2024-05-15 23:30:26.038435+00 2024-05-15 23:30:26.038435+00 [null] \N 132 f full \N 2024-05-15 23:30:26.038435+00 +63 2024-05-15 23:30:26.208407+00 2024-05-15 23:30:26.208407+00 [true] \N 138 f full \N 2024-05-15 23:30:26.208407+00 +66 2024-05-15 23:30:26.338771+00 2024-05-15 23:30:26.338771+00 [86400000000] \N 139 f full \N 2024-05-15 23:30:26.338771+00 +84 2024-05-15 23:30:27.558421+00 2024-05-15 23:30:27.558421+00 [null] \N 297 f full \N 2024-05-15 23:30:27.558421+00 +85 2024-05-15 23:30:27.596727+00 2024-05-15 23:30:27.596727+00 [1] \N 299 f full \N 2024-05-15 23:30:27.596727+00 +50 2024-05-15 23:30:25.430316+00 2024-05-15 23:30:25.430316+00 ["0 years 0 mons 0 days 0 hours 1 mins 40.0 secs","0 years 0 mons 0 days 0 hours 5 mins 0.0 secs"] \N 335 f full \N 2024-05-15 23:30:25.430316+00 +51 2024-05-15 23:30:25.549364+00 2024-05-15 23:30:25.549364+00 ["policy_retention","policy_telemetry"] \N 338 f full \N 2024-05-15 23:30:25.549364+00 +60 2024-05-15 23:30:26.068483+00 2024-05-15 23:30:26.068483+00 [null] \N 134 f full \N 2024-05-15 23:30:26.068483+00 +61 2024-05-15 23:30:26.106506+00 2024-05-15 23:30:26.106506+00 [null] \N 135 f full \N 2024-05-15 23:30:26.106506+00 +67 2024-05-15 23:30:26.493153+00 2024-05-15 23:30:26.493153+00 ["COMPRESSION_ALGORITHM_ARRAY","COMPRESSION_ALGORITHM_DELTADELTA","COMPRESSION_ALGORITHM_DICTIONARY","COMPRESSION_ALGORITHM_GORILLA","COMPRESSION_ALGORITHM_NONE"] \N 99 f full \N 2024-05-15 23:30:26.493153+00 +69 2024-05-15 23:30:26.64729+00 2024-05-15 23:30:26.64729+00 ["array","deltadelta","dictionary","gorilla","no compression"] \N 100 f full \N 2024-05-15 23:30:26.64729+00 +71 2024-05-15 23:30:26.80155+00 2024-05-15 23:30:26.80155+00 ["2024-05-15 22:32:02.978326+00","4655d7ee-6e02-4b83-8943-68fbc9888cee"] \N 169 f full \N 2024-05-15 23:30:26.80155+00 +72 2024-05-15 23:30:26.86177+00 2024-05-15 23:30:26.86177+00 ["_hyper_1"] \N 147 f full \N 2024-05-15 23:30:26.86177+00 +73 2024-05-15 23:30:26.902381+00 2024-05-15 23:30:26.902381+00 ["_timescaledb_internal"] \N 148 f full \N 2024-05-15 23:30:26.902381+00 +74 2024-05-15 23:30:26.940499+00 2024-05-15 23:30:26.940499+00 ["calculate_chunk_interval"] \N 149 f full \N 2024-05-15 23:30:26.940499+00 +75 2024-05-15 23:30:26.9745+00 2024-05-15 23:30:26.9745+00 ["hist"] \N 150 f full \N 2024-05-15 23:30:26.9745+00 +76 2024-05-15 23:30:27.013062+00 2024-05-15 23:30:27.013062+00 [null] \N 153 f full \N 2024-05-15 23:30:27.013062+00 +77 2024-05-15 23:30:27.055736+00 2024-05-15 23:30:27.055736+00 ["public"] \N 154 f full \N 2024-05-15 23:30:27.055736+00 +78 2024-05-15 23:30:27.106729+00 2024-05-15 23:30:27.106729+00 [0] \N 155 f full \N 2024-05-15 23:30:27.106729+00 +79 2024-05-15 23:30:27.154599+00 2024-05-15 23:30:27.154599+00 [1] \N 156 f full \N 2024-05-15 23:30:27.154599+00 +80 2024-05-15 23:30:27.230202+00 2024-05-15 23:30:27.230202+00 [0] \N 145 f full \N 2024-05-15 23:30:27.230202+00 +81 2024-05-15 23:30:27.305555+00 2024-05-15 23:30:27.305555+00 ["_timescaledb_internal"] \N 151 f full \N 2024-05-15 23:30:27.305555+00 +64 2024-05-15 23:30:26.242753+00 2024-05-15 23:30:26.242753+00 ["timestamp with time zone"] \N 140 f full \N 2024-05-15 23:30:26.242753+00 +65 2024-05-15 23:30:26.303903+00 2024-05-15 23:30:26.303903+00 [null] \N 133 f full \N 2024-05-15 23:30:26.303903+00 +68 2024-05-15 23:30:26.583089+00 2024-05-15 23:30:26.583089+00 [1] \N 101 f full \N 2024-05-15 23:30:26.583089+00 +70 2024-05-15 23:30:26.755019+00 2024-05-15 23:30:26.755019+00 [true] \N 168 f full \N 2024-05-15 23:30:26.755019+00 +82 2024-05-15 23:30:27.458903+00 2024-05-15 23:30:27.458903+00 ["0 years 0 mons 1 days 0 hours 0 mins 0.0 secs"] \N 296 f full \N 2024-05-15 23:30:27.458903+00 +83 2024-05-15 23:30:27.512734+00 2024-05-15 23:30:27.512734+00 ["hist"] \N 298 f full \N 2024-05-15 23:30:27.512734+00 +86 2024-05-15 23:30:27.670479+00 2024-05-15 23:30:27.670479+00 ["timestamp with time zone"] \N 302 f full \N 2024-05-15 23:30:27.670479+00 +87 2024-05-15 23:30:27.744812+00 2024-05-15 23:30:27.744812+00 ["public"] \N 304 f full \N 2024-05-15 23:30:27.744812+00 +89 2024-05-15 23:30:27.839627+00 2024-05-15 23:30:27.839627+00 [null] \N 300 f full \N 2024-05-15 23:30:27.839627+00 +90 2024-05-15 23:30:27.876839+00 2024-05-15 23:30:27.876839+00 ["time_tag"] \N 301 f full \N 2024-05-15 23:30:27.876839+00 +91 2024-05-15 23:30:27.913853+00 2024-05-15 23:30:27.913853+00 ["Time"] \N 303 f full \N 2024-05-15 23:30:27.913853+00 +92 2024-05-15 23:30:27.956855+00 2024-05-15 23:30:27.956855+00 ["Scheduled"] \N 317 f full \N 2024-05-15 23:30:27.956855+00 +93 2024-05-15 23:30:27.997821+00 2024-05-15 23:30:27.997821+00 ["0 years 0 mons 0 days 0 hours 0 mins 0.168012 secs"] \N 316 f full \N 2024-05-15 23:30:27.997821+00 +94 2024-05-15 23:30:28.031555+00 2024-05-15 23:30:28.031555+00 ["Success"] \N 318 f full \N 2024-05-15 23:30:28.031555+00 +98 2024-05-15 23:30:28.23409+00 2024-05-15 23:30:28.23409+00 [0] \N 323 f full \N 2024-05-15 23:30:28.23409+00 +99 2024-05-15 23:30:28.306066+00 2024-05-15 23:30:28.306066+00 [1] \N 325 f full \N 2024-05-15 23:30:28.306066+00 +100 2024-05-15 23:30:28.365532+00 2024-05-15 23:30:28.365532+00 ["hist"] \N 321 f full \N 2024-05-15 23:30:28.365532+00 +101 2024-05-15 23:30:28.626725+00 2024-05-15 23:30:28.626725+00 [false] \N 307 f full \N 2024-05-15 23:30:28.626725+00 +103 2024-05-15 23:30:28.780147+00 2024-05-15 23:30:28.780147+00 [0] \N 310 f full \N 2024-05-15 23:30:28.780147+00 +104 2024-05-15 23:30:28.829737+00 2024-05-15 23:30:28.829737+00 ["postgres"] \N 311 f full \N 2024-05-15 23:30:28.829737+00 +105 2024-05-15 23:30:28.870868+00 2024-05-15 23:30:28.870868+00 [null] \N 313 f full \N 2024-05-15 23:30:28.870868+00 +106 2024-05-15 23:30:28.909341+00 2024-05-15 23:30:28.909341+00 ["public"] \N 314 f full \N 2024-05-15 23:30:28.909341+00 +107 2024-05-15 23:30:28.943265+00 2024-05-15 23:30:28.943265+00 [null] \N 315 f full \N 2024-05-15 23:30:28.943265+00 +88 2024-05-15 23:30:27.795213+00 2024-05-15 23:30:27.795213+00 [null] \N 305 f full \N 2024-05-15 23:30:27.795213+00 +95 2024-05-15 23:30:28.06678+00 2024-05-15 23:30:28.06678+00 [1000] \N 320 f full \N 2024-05-15 23:30:28.06678+00 +96 2024-05-15 23:30:28.102873+00 2024-05-15 23:30:28.102873+00 [1] \N 322 f full \N 2024-05-15 23:30:28.102873+00 +97 2024-05-15 23:30:28.138661+00 2024-05-15 23:30:28.138661+00 ["public"] \N 327 f full \N 2024-05-15 23:30:28.138661+00 +102 2024-05-15 23:30:28.690886+00 2024-05-15 23:30:28.690886+00 [1] \N 308 f full \N 2024-05-15 23:30:28.690886+00 +108 2024-05-15 23:30:28.97934+00 2024-05-15 23:30:28.97934+00 [null] \N 306 f full \N 2024-05-15 23:30:28.97934+00 +109 2024-05-15 23:30:29.017954+00 2024-05-15 23:30:29.017954+00 ["hist"] \N 309 f full \N 2024-05-15 23:30:29.017954+00 +110 2024-05-15 23:30:29.055733+00 2024-05-15 23:30:29.055733+00 [false] \N 312 f full \N 2024-05-15 23:30:29.055733+00 +111 2024-05-15 23:33:37.241807+00 2024-05-15 23:33:37.241807+00 ["CALCULATIONS","CS_DATA_PROCESSOR"] \N 346 f full \N 2024-05-15 23:33:37.241807+00 +112 2024-05-15 23:33:37.296719+00 2024-05-15 23:33:37.296719+00 [null,"0.1.4"] \N 349 f full \N 2024-05-15 23:33:37.296719+00 +113 2024-05-15 23:33:37.351184+00 2024-05-15 23:33:37.351184+00 [1] \N 352 f full \N 2024-05-15 23:33:37.351184+00 +114 2024-05-15 23:33:37.399629+00 2024-05-15 23:33:37.399629+00 [true] \N 348 f full \N 2024-05-15 23:33:37.399629+00 +115 2024-05-15 23:33:37.44984+00 2024-05-15 23:33:37.44984+00 ["mainNode"] \N 351 f full \N 2024-05-15 23:33:37.44984+00 +116 2024-05-15 23:33:37.501363+00 2024-05-15 23:33:37.501363+00 [1] \N 353 f full \N 2024-05-15 23:33:37.501363+00 +117 2024-05-15 23:33:37.581792+00 2024-05-15 23:33:37.581792+00 [null,true] \N 367 f full \N 2024-05-15 23:33:37.581792+00 +118 2024-05-15 23:33:37.626741+00 2024-05-15 23:33:37.626741+00 [null,""] \N 358 f full \N 2024-05-15 23:33:37.626741+00 +119 2024-05-15 23:33:37.6717+00 2024-05-15 23:33:37.6717+00 ["IEC60870-5-104","IEC60870-5-104_SERVER","MQTT-SPARKPLUG-B","OPC-UA","OPC-UA_SERVER","TELEGRAF-LISTENER"] \N 361 f full \N 2024-05-15 23:33:37.6717+00 +120 2024-05-15 23:33:37.75605+00 2024-05-15 23:33:37.75605+00 [null,""] \N 382 f full \N 2024-05-15 23:33:37.75605+00 +121 2024-05-15 23:33:37.804393+00 2024-05-15 23:33:37.804393+00 [null,true] \N 384 f full \N 2024-05-15 23:33:37.804393+00 +122 2024-05-15 23:33:37.898257+00 2024-05-15 23:33:37.898257+00 [null,""] \N 376 f full \N 2024-05-15 23:33:37.898257+00 +123 2024-05-15 23:33:37.960038+00 2024-05-15 23:33:37.960038+00 [null,""] \N 391 f full \N 2024-05-15 23:33:37.960038+00 +124 2024-05-15 23:33:38.011129+00 2024-05-15 23:33:38.011129+00 ["IEC104DEMO","IEC104DIST","MQTT-BROKER","OPC-UA DIST","OPCClient1","TELEGRAFDEMO"] \N 403 f full \N 2024-05-15 23:33:38.011129+00 +125 2024-05-15 23:33:38.056705+00 2024-05-15 23:33:38.056705+00 [null,"mainNode"] \N 408 f full \N 2024-05-15 23:33:38.056705+00 +126 2024-05-15 23:33:38.102362+00 2024-05-15 23:33:38.102362+00 [61.0,123,1001.0,1003,1200,2001] \N 359 f full \N 2024-05-15 23:33:38.102362+00 +127 2024-05-15 23:33:38.155881+00 2024-05-15 23:33:38.155881+00 [null,false] \N 369 f full \N 2024-05-15 23:33:38.155881+00 +128 2024-05-15 23:33:38.22433+00 2024-05-15 23:33:38.22433+00 [null,""] \N 372 f full \N 2024-05-15 23:33:38.22433+00 +129 2024-05-15 23:33:38.292413+00 2024-05-15 23:33:38.292413+00 [null,true] \N 374 f full \N 2024-05-15 23:33:38.292413+00 +130 2024-05-15 23:33:38.3318+00 2024-05-15 23:33:38.3318+00 [null,"","0.0.0.0:2404","0.0.0.0:4840","0.0.0.0:51920"] \N 397 f full \N 2024-05-15 23:33:38.3318+00 +131 2024-05-15 23:33:38.378792+00 2024-05-15 23:33:38.378792+00 [null,""] \N 407 f full \N 2024-05-15 23:33:38.378792+00 +132 2024-05-15 23:33:38.416476+00 2024-05-15 23:33:38.416476+00 [null,""] \N 388 f full \N 2024-05-15 23:33:38.416476+00 +133 2024-05-15 23:33:38.516468+00 2024-05-15 23:33:38.516468+00 [null,""] \N 379 f full \N 2024-05-15 23:33:38.516468+00 +134 2024-05-15 23:33:38.646468+00 2024-05-15 23:33:38.646468+00 ["Demo distribution of IEC 104","Demo via IEC60870-5-104","MQTT Demo","OPC Client 1","TELEGRAF Demo","Test distribution of OPC-UA"] \N 385 f full \N 2024-05-15 23:33:38.646468+00 +135 2024-05-15 23:33:38.721463+00 2024-05-15 23:33:38.721463+00 [null,{"nodeName":"mainNode","timeTag":"2021-02-23T10:54:54.433Z"}] \N 386 f full \N 2024-05-15 23:33:38.721463+00 +136 2024-05-15 23:33:38.802387+00 2024-05-15 23:33:38.802387+00 [null,true] \N 390 f full \N 2024-05-15 23:33:38.802387+00 +137 2024-05-15 23:33:38.891481+00 2024-05-15 23:33:38.891481+00 [null,false] \N 392 f full \N 2024-05-15 23:33:38.891481+00 +138 2024-05-15 23:33:38.938809+00 2024-05-15 23:33:38.938809+00 [null,""] \N 393 f full \N 2024-05-15 23:33:38.938809+00 +139 2024-05-15 23:33:38.977298+00 2024-05-15 23:33:38.977298+00 [null,false] \N 395 f full \N 2024-05-15 23:33:38.977298+00 +140 2024-05-15 23:33:39.018353+00 2024-05-15 23:33:39.018353+00 [null,""] \N 396 f full \N 2024-05-15 23:33:39.018353+00 +141 2024-05-15 23:33:39.087871+00 2024-05-15 23:33:39.087871+00 [1.0] \N 400 f full \N 2024-05-15 23:33:39.087871+00 +142 2024-05-15 23:33:39.174181+00 2024-05-15 23:33:39.174181+00 [null,true] \N 405 f full \N 2024-05-15 23:33:39.174181+00 +143 2024-05-15 23:33:39.248363+00 2024-05-15 23:33:39.248363+00 [null,""] \N 406 f full \N 2024-05-15 23:33:39.248363+00 +144 2024-05-15 23:33:39.341344+00 2024-05-15 23:33:39.341344+00 [true] \N 356 f full \N 2024-05-15 23:33:39.341344+00 +145 2024-05-15 23:33:39.529043+00 2024-05-15 23:33:39.529043+00 [null,true] \N 362 f full \N 2024-05-15 23:33:39.529043+00 +146 2024-05-15 23:33:39.574409+00 2024-05-15 23:33:39.574409+00 [null,"","UA/Test"] \N 363 f full \N 2024-05-15 23:33:39.574409+00 +147 2024-05-15 23:33:39.611624+00 2024-05-15 23:33:39.611624+00 [null,"c:\\\\json-scada\\\\conf\\\\Opc.Ua.DefaultClient.Config.xml"] \N 370 f full \N 2024-05-15 23:33:39.611624+00 +148 2024-05-15 23:33:39.649672+00 2024-05-15 23:33:39.649672+00 [null,""] \N 360 f full \N 2024-05-15 23:33:39.649672+00 +149 2024-05-15 23:33:39.702209+00 2024-05-15 23:33:39.702209+00 [null,""] \N 383 f full \N 2024-05-15 23:33:39.702209+00 +150 2024-05-15 23:33:39.788246+00 2024-05-15 23:33:39.788246+00 [1.0] \N 417 f full \N 2024-05-15 23:33:39.788246+00 +151 2024-05-15 23:33:39.841677+00 2024-05-15 23:33:39.841677+00 ["DNP3","IEC60870-5-104","IEC60870-5-104_SERVER","MQTT-SPARKPLUG-B","OPC-UA","OPC-UA_SERVER","TELEGRAF-LISTENER"] \N 411 f full \N 2024-05-15 23:33:39.841677+00 +152 2024-05-15 23:33:39.875875+00 2024-05-15 23:33:39.875875+00 [true] \N 413 f full \N 2024-05-15 23:33:39.875875+00 +153 2024-05-15 23:33:39.912689+00 2024-05-15 23:33:39.912689+00 [false] \N 415 f full \N 2024-05-15 23:33:39.912689+00 +154 2024-05-15 23:33:39.941763+00 2024-05-15 23:33:39.941763+00 ["","mainNode"] \N 416 f full \N 2024-05-15 23:33:39.941763+00 +155 2024-05-15 23:33:39.978163+00 2024-05-15 23:33:39.978163+00 [1.0] \N 418 f full \N 2024-05-15 23:33:39.978163+00 +160 2024-05-15 23:33:40.717462+00 2024-05-15 23:33:40.717462+00 [false] \N 421 f full \N 2024-05-15 23:33:40.717462+00 +161 2024-05-15 23:33:40.779238+00 2024-05-15 23:33:40.779238+00 [false,true] \N 422 f full \N 2024-05-15 23:33:40.779238+00 +157 2024-05-15 23:33:40.476729+00 2024-05-15 23:37:10.085245+00 [null,0.0] \N 433 f full \N 2024-05-15 23:37:10.085245+00 +159 2024-05-15 23:33:40.651494+00 2024-05-15 23:37:10.435025+00 [null,"M_ME_NC_1","M_SP_NA_1","M_SP_TB_1"] \N 493 f full \N 2024-05-15 23:37:10.435025+00 +156 2024-05-15 23:33:40.03113+00 2024-05-15 23:37:10.770619+00 ["","AUTOMATIC","BLOQUEADO","CLOSED","COM_DEFEITO","DESATIVADO","DESSINCRONIZADO","DISABLED","Deactivate","Disable","ENTRADA_A","EXCLUDED","Exclude","FORA OPERAÇÃO","Group_1","Group_2","HABILITADO","INACTIVE","INCLUDED","INTERLOCKED","Include","Individual","LIGADO","LOCAL","LOST_TIME_REF","LOWER","MANUAL","Manual","NORMAL","NO_COMM","No Beep","Normal","NÃO_TRIPOLAR","OFF","OK","OPEN","Off","Open","PARALELO","PERDA REF.TEMPO","REMOTE","RESERVA","TIME_REF_OK","UNIDADE1","UNLOCKED","Unblock","undefined"] \N 469 f full \N 2024-05-15 23:37:10.770619+00 +166 2024-05-15 23:33:41.099556+00 2024-05-15 23:33:41.099556+00 [false,true] \N 424 f full \N 2024-05-15 23:33:41.099556+00 +167 2024-05-15 23:33:41.157797+00 2024-05-15 23:33:41.157797+00 [false,true] \N 454 f full \N 2024-05-15 23:33:41.157797+00 +168 2024-05-15 23:33:41.22604+00 2024-05-15 23:33:41.22604+00 [false] \N 429 f full \N 2024-05-15 23:33:41.22604+00 +172 2024-05-15 23:33:41.523232+00 2024-05-15 23:33:41.523232+00 [null] \N 431 f full \N 2024-05-15 23:33:41.523232+00 +174 2024-05-15 23:33:41.7329+00 2024-05-15 23:33:41.7329+00 [null,"2020-07-13T08:44:37.94-03:00","2020-07-13T10:23:48.977-03:00","2020-07-13T12:01:04.529-03:00","2020-07-13T12:06:45.423-03:00","2020-07-13T12:08:00.529-03:00","2020-07-13T12:08:06.307-03:00","2020-07-13T12:12:37.853-03:00","2020-07-13T12:13:12.517-03:00","2020-07-13T12:39:18.294-03:00","2020-07-13T12:40:33.409-03:00","2020-07-13T12:44:07.186-03:00","2020-07-13T12:45:10.74-03:00","2020-07-13T12:45:28.074-03:00","2020-07-13T12:46:25.849-03:00","2020-07-13T12:47:58.297-03:00","2020-07-13T12:49:24.96-03:00","2020-07-13T12:52:41.403-03:00","2020-07-13T12:52:58.735-03:00","2020-07-13T12:57:24.51-03:00","2020-07-13T12:58:56.956-03:00","2020-07-13T12:59:20.069-03:00","2020-07-13T13:00:00.513-03:00","2020-07-13T13:05:12.506-03:00","2020-07-13T13:06:04.505-03:00","2020-07-13T13:06:10.283-03:00","2020-07-13T13:08:05.836-03:00","2020-07-13T13:08:17.389-03:00","2020-07-13T13:09:20.942-03:00","2020-07-13T13:09:44.052-03:00","2020-07-13T13:10:12.941-03:00","2020-07-13T13:11:51.163-03:00","2020-07-13T13:12:14.274-03:00","2020-07-13T13:12:37.382-03:00","2020-07-13T13:15:17.15-03:00","2020-07-13T13:16:26.485-03:00","2020-07-13T13:16:32.265-03:00","2020-07-13T13:16:43.82-03:00","2020-07-13T13:17:01.156-03:00","2020-07-13T13:17:35.821-03:00","2020-07-13T13:17:41.601-03:00","2020-07-13T13:17:53.153-03:00","2020-07-13T13:19:08.258-03:00","2020-07-13T13:19:42.925-03:00","2020-07-13T13:20:17.588-03:00","2020-07-13T13:20:23.365-03:00","2020-07-19T07:48:50.449-03:00","2020-07-19T08:23:53.875-03:00","2020-07-20T06:52:44.457-03:00","2020-07-20T06:53:59.288-03:00","2020-07-20T06:57:45.322-03:00","2020-07-20T06:58:53.702-03:00","2020-07-21T01:55:11.68-03:00","2020-07-21T13:40:50.628-03:00","2020-07-24T00:38:28.537-03:00","2020-07-24T02:23:26.264-03:00","2020-07-24T03:00:01.788-03:00","2020-07-24T03:01:28.457-03:00","2020-07-24T03:16:06.668-03:00","2020-07-24T03:26:48.003-03:00","2020-07-24T03:31:02.221-03:00","2020-07-24T03:35:45.329-03:00","2020-07-24T03:36:14.218-03:00","2020-07-24T03:42:53.102-03:00","2020-07-24T03:43:49.633-03:00","2020-07-24T03:44:26.986-03:00","2020-07-24T03:45:17.325-03:00","2020-07-24T03:46:10.558-03:00","2020-07-24T03:46:44.626-03:00","2020-07-24T03:50:36.178-03:00","2020-07-24T03:52:36.431-03:00","2020-07-24T03:54:49.324-03:00","2020-07-24T03:57:13.769-03:00","2020-07-24T04:16:11.981-03:00","2020-07-24T04:21:12.433-03:00","2020-07-24T04:21:41.324-03:00","2020-07-24T04:22:04.437-03:00","2020-07-24T04:22:44.886-03:00","2020-07-24T04:23:48.44-03:00","2020-07-24T04:25:49.774-03:00","2020-07-24T04:33:14.653-03:00","2020-07-24T04:34:18.209-03:00","2020-07-24T04:36:36.873-03:00","2020-07-24T04:36:54.208-03:00","2020-07-24T04:37:28.874-03:00","2020-07-24T04:39:12.874-03:00","2020-07-24T04:40:56.874-03:00","2020-07-24T04:43:03.993-03:00","2020-07-24T04:43:32.883-03:00","2020-07-24T04:44:53.769-03:00","2020-07-24T04:47:18.207-03:00","2020-07-24T04:50:11.536-03:00","2020-07-24T04:50:34.648-03:00","2020-07-24T04:51:03.534-03:00","2020-07-24T04:51:38.2-03:00","2020-07-24T04:57:19.08-03:00","2020-07-24T04:59:43.521-03:00","2020-07-24T04:59:49.298-03:00","2020-07-24T04:59:55.077-03:00","2020-07-24T05:00:06.633-03:00","2020-07-24T05:00:18.188-03:00","2020-07-24T05:00:58.631-03:00","2020-07-24T05:05:01.303-03:00","2020-07-24T05:05:24.415-03:00","2020-07-24T05:07:02.641-03:00","2020-07-24T05:07:43.087-03:00","2020-07-24T05:08:00.421-03:00","2020-07-24T05:09:09.755-03:00","2020-07-24T05:10:24.861-03:00","2020-07-24T05:10:47.97-03:00","2020-07-24T05:11:11.082-03:00","2020-07-24T05:12:26.193-03:00","2020-07-24T05:13:35.525-03:00","2020-07-24T05:14:21.748-03:00","2020-07-24T05:18:59.072-03:00","2020-07-24T05:19:22.182-03:00","2020-07-24T05:19:27.96-03:00","2020-07-24T05:21:00.405-03:00","2020-07-24T05:21:46.624-03:00","2020-07-24T05:23:01.738-03:00","2020-07-24T05:24:51.516-03:00","2020-07-24T05:25:03.07-03:00","2020-07-24T05:25:20.403-03:00","2020-07-24T05:25:26.181-03:00","2020-07-24T05:25:49.292-03:00","2020-07-24T05:26:06.624-03:00","2020-07-24T05:28:42.617-03:00","2020-07-24T05:28:48.395-03:00","2020-07-24T05:30:55.51-03:00","2020-07-24T05:31:18.62-03:00","2020-07-24T05:31:24.397-03:00","2020-07-24T05:32:33.732-03:00","2020-07-24T05:33:14.175-03:00","2020-07-24T05:33:31.508-03:00","2020-07-24T05:34:35.066-03:00","2020-07-24T05:35:38.627-03:00","2020-07-24T05:35:55.97-03:00","2020-07-24T05:36:42.192-03:00","2020-07-24T05:39:29.741-03:00","2020-07-24T05:40:33.293-03:00","2020-07-24T05:41:13.735-03:00","2020-07-24T05:41:59.953-03:00","2020-07-24T05:42:46.177-03:00","2020-07-24T05:43:15.062-03:00","2020-07-24T05:43:20.84-03:00","2020-07-24T05:44:24.392-03:00","2020-07-24T05:44:41.725-03:00","2020-07-24T05:45:22.17-03:00","2020-07-24T05:47:17.721-03:00","2020-07-24T05:48:27.052-03:00","2020-07-24T05:48:38.607-03:00","2020-07-24T05:48:44.385-03:00","2020-07-24T05:48:50.164-03:00","2020-07-24T05:49:36.385-03:00","2020-07-24T05:50:05.272-03:00","2020-07-24T05:50:11.05-03:00","2020-07-24T05:50:28.382-03:00","2020-07-24T05:50:39.938-03:00","2020-07-24T05:51:14.606-03:00","2020-07-24T05:51:26.163-03:00","2020-07-24T05:52:12.385-03:00","2020-07-24T05:53:21.72-03:00","2020-07-24T05:53:27.497-03:00","2020-07-24T05:54:02.165-03:00","2020-07-24T05:54:07.942-03:00","2020-07-24T05:54:25.275-03:00","2020-07-24T05:55:28.83-03:00","2020-07-24T05:55:34.609-03:00","2020-07-24T05:55:40.386-03:00","2020-07-24T05:56:26.608-03:00","2020-07-24T05:56:32.387-03:00","2020-07-24T05:56:49.723-03:00","2020-07-24T05:56:55.5-03:00","2020-07-24T05:57:18.614-03:00","2020-07-24T05:58:56.835-03:00","2020-07-24T05:59:19.945-03:00","2020-07-24T05:59:48.835-03:00","2020-07-24T06:01:09.724-03:00","2020-07-24T06:01:27.056-03:00","2020-07-24T06:01:50.167-03:00","2020-07-24T06:01:55.945-03:00","2020-07-24T06:02:36.391-03:00","2020-07-24T06:02:42.169-03:00","2020-07-24T06:02:53.725-03:00","2020-07-24T06:03:16.836-03:00","2020-07-24T06:03:28.393-03:00","2020-07-24T06:03:51.505-03:00","2020-07-24T06:04:55.063-03:00","2020-07-24T06:05:00.841-03:00","2020-07-24T06:05:41.285-03:00","2020-07-24T06:05:52.841-03:00","2020-07-24T06:06:15.952-03:00","2020-07-24T06:06:21.731-03:00","2020-07-24T06:06:27.508-03:00","2020-07-24T06:06:39.064-03:00","2020-07-24T06:07:31.063-03:00","2020-07-24T06:07:42.618-03:00","2020-07-24T06:08:17.282-03:00","2020-07-24T06:09:26.614-03:00","2020-07-24T06:09:32.392-03:00","2020-07-24T06:10:35.946-03:00","2020-07-24T06:11:04.835-03:00","2020-07-24T06:11:10.613-03:00","2020-07-24T06:11:16.391-03:00","2020-07-24T06:11:51.055-03:00","2020-07-24T06:11:56.833-03:00","2020-07-24T06:12:14.167-03:00","2020-07-24T06:12:43.055-03:00","2020-07-24T06:12:48.832-03:00","2020-07-24T06:12:54.61-03:00","2020-07-24T06:13:52.388-03:00","2020-07-24T06:14:03.943-03:00","2020-07-24T06:14:27.054-03:00","2020-07-24T06:14:32.832-03:00","2020-07-24T06:14:55.943-03:00","2020-07-24T06:15:47.944-03:00","2020-07-24T06:15:53.722-03:00","2020-07-24T06:16:16.833-03:00","2020-07-24T06:16:22.611-03:00","2020-07-24T06:16:45.721-03:00","2020-07-24T06:16:51.498-03:00","2020-07-24T06:16:57.277-03:00","2020-07-24T06:17:03.055-03:00","2020-07-24T06:17:08.833-03:00","2020-07-24T06:17:20.391-03:00","2020-07-24T06:17:31.944-03:00","2020-07-24T06:18:35.496-03:00","2020-07-24T06:18:47.052-03:00","2020-07-24T06:18:52.83-03:00","2020-07-24T06:19:04.385-03:00","2020-07-24T06:19:10.163-03:00","2020-07-24T06:19:56.385-03:00","2020-07-24T06:20:19.495-03:00","2020-07-24T06:20:36.827-03:00","2020-07-24T06:22:26.607-03:00","2020-07-24T06:22:32.385-03:00","2020-07-24T06:23:01.273-03:00","2020-07-24T06:23:07.05-03:00","2020-07-24T06:23:12.828-03:00","2020-07-24T06:23:47.492-03:00","2020-07-24T06:24:10.604-03:00","2020-07-24T06:24:39.493-03:00","2020-07-24T06:24:56.826-03:00","2020-07-24T06:25:19.935-03:00","2020-07-24T06:25:31.49-03:00","2020-07-24T06:25:37.268-03:00","2020-07-24T06:25:48.822-03:00","2020-07-24T06:26:00.378-03:00","2020-07-24T06:26:23.487-03:00","2020-07-24T06:28:01.71-03:00","2020-07-24T06:28:13.266-03:00","2020-07-24T06:28:19.042-03:00","2020-07-24T06:28:36.375-03:00","2020-07-24T06:28:53.707-03:00","2020-07-24T06:29:11.04-03:00","2020-07-24T06:29:28.373-03:00","2020-07-24T06:29:57.262-03:00","2020-07-24T06:30:08.818-03:00","2020-07-24T06:30:14.596-03:00","2020-07-24T06:30:37.707-03:00","2020-07-24T06:30:55.041-03:00","2020-07-24T06:31:18.155-03:00","2020-07-24T06:31:23.933-03:00","2020-07-24T06:31:35.489-03:00","2020-07-24T06:31:58.601-03:00","2020-07-24T06:32:21.712-03:00","2020-07-24T06:32:27.491-03:00","2020-07-24T06:32:56.38-03:00","2020-07-24T06:33:07.935-03:00","2020-07-24T06:33:13.713-03:00","2020-07-24T06:33:19.491-03:00","2020-07-24T06:33:31.046-03:00","2020-07-24T06:33:48.378-03:00","2020-07-24T06:34:11.49-03:00","2020-07-24T06:34:17.269-03:00","2020-07-24T06:34:40.379-03:00","2020-07-24T06:34:46.158-03:00","2020-07-24T06:34:57.712-03:00","2020-07-24T06:35:15.046-03:00","2020-07-24T06:35:20.824-03:00","2020-07-24T06:35:32.381-03:00","2020-07-24T06:35:49.715-03:00","2020-07-24T06:36:01.272-03:00","2020-07-24T06:36:07.049-03:00","2020-07-24T06:36:24.382-03:00","2020-07-24T06:36:35.939-03:00","2020-07-24T06:36:53.274-03:00","2020-07-24T06:36:59.052-03:00","2020-07-24T06:37:04.831-03:00","2020-07-24T06:37:10.609-03:00","2020-07-24T06:37:45.276-03:00","2020-07-24T06:37:51.054-03:00","2020-07-24T06:38:02.61-03:00","2020-07-24T06:38:25.722-03:00","2020-07-24T06:38:48.833-03:00","2020-07-24T06:39:00.388-03:00","2020-07-24T06:39:06.166-03:00","2020-07-24T06:39:23.499-03:00","2020-07-24T06:39:29.277-03:00","2020-07-24T06:39:35.055-03:00","2020-07-24T06:39:46.61-03:00","2020-07-24T06:39:52.387-03:00","2020-07-24T06:39:58.165-03:00","2020-07-24T06:40:15.499-03:00","2020-07-24T06:40:32.831-03:00","2020-07-24T06:40:50.163-03:00","2020-07-24T06:40:55.94-03:00","2020-07-24T06:41:13.273-03:00","2020-07-24T06:41:19.051-03:00","2020-07-24T06:41:24.829-03:00","2020-07-24T06:41:30.606-03:00","2020-07-24T06:41:36.385-03:00","2020-07-24T06:41:42.163-03:00","2020-07-24T06:42:05.275-03:00","2020-07-24T06:42:16.83-03:00","2020-07-24T06:42:28.386-03:00","2020-07-24T06:42:45.719-03:00","2020-07-24T06:42:57.275-03:00","2020-07-24T06:43:08.831-03:00","2020-07-24T06:43:20.386-03:00","2020-07-24T06:44:06.606-03:00","2020-07-24T06:44:18.161-03:00","2020-07-24T06:44:23.938-03:00","2020-07-24T06:44:52.827-03:00","2020-07-24T06:44:58.604-03:00","2020-07-24T06:45:04.382-03:00","2020-07-24T06:45:10.16-03:00","2020-07-24T06:45:21.717-03:00","2020-07-24T06:45:33.274-03:00","2020-07-24T06:45:44.829-03:00","2020-07-24T06:45:50.606-03:00","2020-07-24T06:45:56.383-03:00","2020-07-24T06:46:13.716-03:00","2020-07-24T06:46:19.494-03:00","2020-07-24T06:46:25.272-03:00","2020-07-24T06:46:31.05-03:00","2020-07-24T06:46:36.828-03:00","2020-07-24T06:46:42.605-03:00","2020-07-24T06:46:48.382-03:00","2020-07-24T06:47:17.272-03:00","2020-07-24T06:47:28.827-03:00","2020-07-24T06:47:34.605-03:00","2020-07-24T06:47:46.16-03:00","2020-07-24T06:48:20.825-03:00","2020-07-24T06:48:26.603-03:00","2020-07-24T06:48:32.38-03:00","2020-07-24T06:48:55.491-03:00","2020-07-24T06:49:01.269-03:00","2020-07-24T06:49:07.046-03:00","2020-07-24T06:49:24.379-03:00","2020-07-24T06:49:30.156-03:00","2020-07-24T06:49:47.49-03:00","2020-07-24T06:49:53.268-03:00","2020-07-24T06:49:59.045-03:00","2020-07-24T06:50:04.824-03:00","2020-07-24T06:50:16.379-03:00","2020-07-24T06:50:22.157-03:00","2020-07-24T06:50:27.935-03:00","2020-07-24T06:50:45.268-03:00","2020-07-24T06:50:51.045-03:00","2020-07-24T06:50:56.822-03:00","2020-07-24T06:51:02.6-03:00","2020-07-24T06:51:08.377-03:00","2020-07-24T06:51:31.489-03:00","2020-07-24T06:51:37.266-03:00","2020-07-24T06:52:00.377-03:00","2020-07-24T06:52:06.155-03:00","2020-07-24T06:52:11.932-03:00","2020-07-24T06:52:17.71-03:00","2020-07-24T06:52:23.488-03:00","2020-07-24T06:52:29.265-03:00","2020-07-24T06:52:46.597-03:00","2020-07-24T06:52:52.374-03:00","2020-07-24T06:53:09.708-03:00","2020-07-24T06:53:15.486-03:00","2020-07-24T06:53:27.041-03:00","2020-07-24T06:53:32.818-03:00","2020-07-24T06:53:55.929-03:00","2020-07-24T06:54:01.707-03:00","2020-07-24T06:54:07.485-03:00","2020-07-24T06:54:13.262-03:00","2020-07-24T06:54:19.039-03:00","2020-07-24T06:54:24.817-03:00","2020-07-24T06:54:36.373-03:00","2020-07-24T06:54:42.15-03:00","2020-07-24T06:55:11.036-03:00","2020-07-24T06:55:16.814-03:00","2020-07-24T06:55:22.591-03:00","2020-07-24T06:55:28.368-03:00","2020-07-24T06:55:34.146-03:00","2020-07-24T06:55:39.925-03:00","2020-07-24T06:55:45.703-03:00","2020-07-24T06:55:51.48-03:00","2020-07-24T06:56:03.034-03:00","2020-07-24T06:56:08.814-03:00","2020-07-24T06:56:20.37-03:00","2020-07-24T06:56:37.702-03:00","2020-07-24T06:56:43.479-03:00","2020-07-24T06:56:49.258-03:00","2020-07-24T06:57:00.814-03:00","2020-07-24T06:57:06.593-03:00","2020-07-24T06:57:12.37-03:00","2020-07-24T06:57:18.147-03:00","2020-07-24T06:57:35.48-03:00","2020-07-24T06:57:41.257-03:00","2020-07-24T06:57:47.034-03:00","2020-07-24T06:57:52.812-03:00","2020-07-24T06:57:58.589-03:00","2020-07-24T06:58:04.367-03:00","2020-07-24T06:58:15.923-03:00","2020-07-24T06:58:21.701-03:00","2020-07-24T06:58:44.81-03:00","2020-07-24T06:59:02.144-03:00","2020-07-24T06:59:07.922-03:00","2020-07-24T06:59:13.699-03:00","2020-07-24T06:59:19.476-03:00","2020-07-24T06:59:25.254-03:00","2020-07-24T06:59:31.031-03:00","2020-07-24T06:59:54.142-03:00","2020-07-24T07:00:11.478-03:00","2020-07-24T07:00:17.256-03:00","2020-07-24T07:00:28.81-03:00","2020-07-24T07:00:34.588-03:00","2020-07-24T07:00:40.366-03:00","2020-07-24T07:00:51.921-03:00","2020-07-24T07:00:57.699-03:00","2020-07-24T07:01:09.256-03:00","2020-07-24T07:01:15.033-03:00","2020-07-24T07:01:20.81-03:00","2020-07-24T07:01:26.589-03:00","2020-07-24T07:01:32.367-03:00","2020-07-24T07:01:43.923-03:00","2020-07-24T07:01:49.7-03:00","2020-07-24T07:02:01.256-03:00","2020-07-24T07:02:07.033-03:00","2020-07-24T07:02:12.811-03:00","2020-07-24T07:02:18.589-03:00","2020-07-24T07:02:24.368-03:00","2020-07-24T07:02:41.7-03:00","2020-07-24T07:02:47.477-03:00","2020-07-24T07:02:53.254-03:00","2020-07-24T07:02:59.032-03:00","2020-07-24T07:03:16.365-03:00","2020-07-24T07:03:22.142-03:00","2020-07-24T07:03:27.919-03:00","2020-07-24T07:03:39.475-03:00","2020-07-24T07:03:45.252-03:00","2020-07-24T07:03:56.808-03:00","2020-07-24T07:04:02.586-03:00","2020-07-24T07:04:19.919-03:00","2020-07-24T07:04:25.697-03:00","2020-07-24T07:04:31.475-03:00","2020-07-24T07:04:37.253-03:00","2020-07-24T07:04:43.03-03:00","2020-07-24T07:05:00.364-03:00","2020-07-24T07:05:06.142-03:00","2020-07-24T07:05:11.92-03:00","2020-07-24T07:05:17.697-03:00","2020-07-24T07:05:23.476-03:00","2020-07-24T07:05:29.253-03:00","2020-07-24T07:05:35.031-03:00","2020-07-24T07:05:40.809-03:00","2020-07-24T07:05:46.588-03:00","2020-07-24T07:05:52.365-03:00","2020-07-24T07:05:58.142-03:00","2020-07-24T07:06:03.921-03:00","2020-07-24T07:06:09.698-03:00","2020-07-24T07:06:21.254-03:00","2020-07-24T07:06:27.032-03:00","2020-07-24T07:06:38.588-03:00","2020-07-24T07:06:50.143-03:00","2020-07-24T07:06:55.92-03:00","2020-07-24T07:07:01.699-03:00","2020-07-24T07:07:07.476-03:00","2020-07-24T07:07:19.033-03:00","2020-07-24T07:07:24.811-03:00","2020-07-24T07:07:30.589-03:00","2020-07-24T07:07:36.367-03:00","2020-07-24T07:07:42.144-03:00","2020-07-24T07:07:47.922-03:00","2020-07-24T07:07:59.478-03:00","2020-07-24T07:08:05.255-03:00","2020-07-24T07:08:11.034-03:00","2020-07-24T07:08:16.811-03:00","2020-07-24T07:08:22.588-03:00","2020-07-24T07:08:28.367-03:00","2020-07-24T07:08:34.145-03:00","2020-07-24T07:08:39.923-03:00","2020-07-24T07:08:45.701-03:00","2020-07-24T07:08:57.256-03:00","2020-07-24T07:09:03.034-03:00","2020-07-24T07:09:08.812-03:00","2020-07-24T07:09:20.367-03:00","2020-07-24T07:09:26.144-03:00","2020-07-24T07:09:37.7-03:00","2020-07-24T07:09:43.478-03:00","2020-07-24T07:09:49.255-03:00","2020-07-24T07:10:00.811-03:00","2020-07-24T07:10:06.589-03:00","2020-07-24T07:10:12.366-03:00","2020-07-24T07:10:18.144-03:00","2020-07-24T07:10:23.922-03:00","2020-07-24T07:10:29.7-03:00","2020-07-24T07:10:35.478-03:00","2020-07-24T07:10:41.255-03:00","2020-07-24T07:10:47.033-03:00","2020-07-24T07:10:52.811-03:00","2020-07-24T07:10:58.588-03:00","2020-07-24T07:11:04.366-03:00","2020-07-24T07:11:10.144-03:00","2020-07-24T07:11:15.921-03:00","2020-07-24T07:11:21.7-03:00","2020-07-24T07:11:27.477-03:00","2020-07-24T07:11:33.255-03:00","2020-07-24T07:11:39.032-03:00","2020-07-24T07:11:44.81-03:00","2020-07-24T07:11:50.589-03:00","2020-07-24T07:12:02.144-03:00","2020-07-24T07:12:13.705-03:00","2020-07-24T07:12:19.483-03:00","2020-07-24T07:12:25.259-03:00","2020-07-24T07:12:31.037-03:00","2020-07-24T07:12:36.815-03:00","2020-07-24T07:12:42.592-03:00","2020-07-24T07:12:48.371-03:00","2020-07-24T07:12:54.148-03:00","2020-07-24T07:12:59.926-03:00","2020-07-24T07:13:05.704-03:00","2020-07-24T07:13:11.481-03:00","2020-07-24T07:13:17.258-03:00","2020-07-24T07:13:23.036-03:00","2020-07-24T07:13:28.814-03:00","2020-07-24T07:13:46.147-03:00","2020-07-24T07:13:51.926-03:00","2020-07-24T07:13:57.704-03:00","2020-07-24T07:14:09.258-03:00","2020-07-24T07:14:15.036-03:00","2020-07-24T07:14:20.814-03:00","2020-07-24T07:14:26.591-03:00","2020-07-24T07:14:32.368-03:00","2020-07-24T07:14:38.147-03:00","2020-07-24T07:14:43.925-03:00","2020-07-24T07:14:49.702-03:00","2020-07-24T07:15:01.258-03:00","2020-07-24T07:15:07.036-03:00","2020-07-24T07:15:12.814-03:00","2020-07-24T07:15:18.591-03:00","2020-07-24T07:15:24.371-03:00","2020-07-24T07:15:30.149-03:00","2020-07-24T07:15:35.928-03:00","2020-07-24T07:15:41.706-03:00","2020-07-24T07:15:47.484-03:00","2020-07-24T07:15:53.26-03:00","2020-07-24T07:15:59.038-03:00","2020-07-24T07:16:04.815-03:00","2020-07-24T07:16:10.594-03:00","2020-07-24T07:16:16.373-03:00","2020-07-24T07:16:22.15-03:00","2020-07-24T07:16:27.929-03:00","2020-07-24T07:16:33.706-03:00","2020-07-24T07:16:39.483-03:00","2020-07-24T07:16:45.261-03:00","2020-07-24T07:16:51.039-03:00","2020-07-24T07:16:56.816-03:00","2020-07-24T07:17:02.593-03:00","2020-07-24T07:17:08.372-03:00","2020-07-24T07:17:14.15-03:00","2020-07-24T07:17:19.928-03:00","2020-07-24T07:17:31.485-03:00","2020-07-24T07:17:37.261-03:00","2020-07-24T07:17:43.039-03:00","2020-07-24T07:17:48.816-03:00","2020-07-24T07:18:00.372-03:00","2020-07-24T07:18:06.15-03:00","2020-07-24T07:18:11.928-03:00","2020-07-24T07:18:17.705-03:00","2020-07-24T07:18:23.482-03:00","2020-07-24T07:18:29.26-03:00","2020-07-24T07:18:35.037-03:00","2020-07-24T07:18:40.815-03:00","2020-07-24T07:18:46.593-03:00","2020-07-24T07:18:52.37-03:00","2020-07-24T07:18:58.148-03:00","2020-07-24T07:19:03.925-03:00","2020-07-24T07:19:09.704-03:00","2020-07-24T07:19:15.482-03:00","2020-07-24T07:19:21.259-03:00","2020-07-24T07:19:27.036-03:00","2020-07-24T07:19:32.814-03:00","2020-07-24T07:19:38.592-03:00","2020-07-24T07:19:44.37-03:00","2020-07-24T07:19:50.148-03:00","2020-07-24T07:19:55.925-03:00","2020-07-24T07:20:01.704-03:00","2020-07-24T07:20:07.481-03:00","2020-07-24T07:20:13.259-03:00","2020-07-24T07:20:19.038-03:00","2020-07-24T07:20:24.816-03:00","2020-07-24T07:20:30.594-03:00","2020-07-24T07:20:36.372-03:00","2020-07-24T07:20:42.149-03:00","2020-07-24T07:20:47.927-03:00","2020-07-24T07:20:53.705-03:00"] \N 434 f full \N 2024-05-15 23:33:41.7329+00 +205 2024-05-15 23:33:45.26745+00 2024-05-15 23:33:45.26745+00 [false,true] \N 503 f full \N 2024-05-15 23:33:45.26745+00 +210 2024-05-15 23:33:45.776813+00 2024-05-15 23:33:45.776813+00 [true] \N 511 f full \N 2024-05-15 23:33:45.776813+00 +217 2024-05-15 23:33:46.609453+00 2024-05-15 23:33:46.609453+00 ["$2a$08$8BZKbQkra8qAYDQWOr7DCe3LdRvxbdjmlGPlXka75h/xOfq6hcrZ6"] \N 522 f full \N 2024-05-15 23:33:46.609453+00 +218 2024-05-15 23:33:46.760503+00 2024-05-15 23:33:46.760503+00 ["admin@json-scada.org"] \N 523 f full \N 2024-05-15 23:33:46.760503+00 +219 2024-05-15 23:33:46.901658+00 2024-05-15 23:33:46.901658+00 [1] \N 526 f full \N 2024-05-15 23:33:46.901658+00 +163 2024-05-15 23:33:40.920298+00 2024-05-15 23:37:09.85007+00 [""] \N 451 f full \N 2024-05-15 23:37:09.85007+00 +175 2024-05-15 23:33:41.789903+00 2024-05-15 23:37:09.876673+00 [null,15.5,20.0,24.0,50.0,72.0,75.0,128.0,150.0,240.0,1.7976931348623157E308] \N 438 f full \N 2024-05-15 23:37:09.876673+00 +176 2024-05-15 23:33:41.829346+00 2024-05-15 23:37:09.941304+00 [null,-1.7976931348623157E308,13.0,22.0,66.0,122.0,130.0,220.0] \N 440 f full \N 2024-05-15 23:37:09.941304+00 +173 2024-05-15 23:33:41.597093+00 2024-05-15 23:37:10.087126+00 [null,[6939.0,6940.0],[6942.0,6943.0],[6952.0,6953.0],[11641.0,11642.0],[11643.0,11644.0],[11645.0,11646.0],[11645.0,11646.0,11651.0],[11647.0,11648.0],[11649.0,11650.0],[28961.0,28962.0],[28973.0,28974.0],[38033.0,38034.0],[38563.0,38564.0],[38576.0,38577.0],[38580.0,38581.0],[38587.0,38588.0]] \N 432 f full \N 2024-05-15 23:37:10.087126+00 +177 2024-05-15 23:33:42.12559+00 2024-05-15 23:37:10.108751+00 [null,false] \N 443 f full \N 2024-05-15 23:37:10.108751+00 +165 2024-05-15 23:33:41.059007+00 2024-05-15 23:37:10.591013+00 [null,false,true] \N 419 f full \N 2024-05-15 23:37:10.591013+00 +187 2024-05-15 23:33:43.482267+00 2024-05-15 23:33:43.482267+00 [false] \N 459 f full \N 2024-05-15 23:33:43.482267+00 +192 2024-05-15 23:33:44.172516+00 2024-05-15 23:33:44.172516+00 [null,false,true] \N 486 f full \N 2024-05-15 23:33:44.172516+00 +197 2024-05-15 23:33:44.632507+00 2024-05-15 23:33:44.632507+00 [null,null,"2020-07-24T07:19:21.259-03:00","2020-07-24T07:19:27.036-03:00","2020-07-24T07:19:32.814-03:00","2020-07-24T07:19:38.592-03:00","2020-07-24T07:19:44.37-03:00","2020-07-24T07:19:50.148-03:00","2020-07-24T07:20:01.704-03:00","2020-07-24T07:20:13.259-03:00","2020-07-24T07:20:19.038-03:00","2020-07-24T07:20:24.816-03:00","2020-07-24T07:20:30.594-03:00","2020-07-24T07:20:36.372-03:00","2020-07-24T07:20:42.149-03:00","2020-07-24T07:20:47.927-03:00","2020-07-24T07:20:53.705-03:00"] \N 494 f full \N 2024-05-15 23:33:44.632507+00 +198 2024-05-15 23:33:44.724097+00 2024-05-15 23:33:44.724097+00 [null,false] \N 496 f full \N 2024-05-15 23:33:44.724097+00 +211 2024-05-15 23:33:45.829207+00 2024-05-15 23:33:45.829207+00 ["admin","user"] \N 512 f full \N 2024-05-15 23:33:45.829207+00 +212 2024-05-15 23:33:45.954393+00 2024-05-15 23:33:45.954393+00 [true] \N 513 f full \N 2024-05-15 23:33:45.954393+00 +213 2024-05-15 23:33:46.098953+00 2024-05-15 23:33:46.098953+00 ["signin"] \N 515 f full \N 2024-05-15 23:33:46.098953+00 +214 2024-05-15 23:33:46.30423+00 2024-05-15 23:33:46.30423+00 ["admin"] \N 519 f full \N 2024-05-15 23:33:46.30423+00 +178 2024-05-15 23:33:42.24746+00 2024-05-15 23:37:10.009984+00 ["","Outros"] \N 450 f full \N 2024-05-15 23:37:10.009984+00 +184 2024-05-15 23:33:43.331148+00 2024-05-15 23:37:10.047253+00 ["calculated","command","manual","supervised","system"] \N 445 f full \N 2024-05-15 23:37:10.047253+00 +183 2024-05-15 23:33:43.287987+00 2024-05-15 23:37:10.42992+00 [null,"-0.10466145724058151","-0.7055350542068481","-1.0424281358718872","-1.2983192205429077","-10.985777854919434","-11.085649490356445","-11.935001373291016","-124.51041412353516","-125.78704833984375","-13.896791458129883","-133.62701416015625","-14.965018272399902","-16.42888832092285","-2.4744882583618164","-22.27588653564453","-25.69894790649414","-26.59542465209961","-27.03482437133789","-27.266141891479492","-28.529142379760742","-29.531768798828125","-3.7612221240997314","-3.975717067718506","-319.5862731933594","-3317.891845703125","-3321.226806640625","-39.0969123840332","-39.69157791137695","-4.294440746307373","-4.6952667236328125","-40.64738082885742","-5317.861328125","-6.075241565704346","-60.26453399658203","-78.89786529541016","-8.08919906616211","-8.717971801757812","-9.575118064880371","-9.877490997314453","0","0.10111498832702637","0.20924825966358185","0.355722039937973","0.41735702753067017","0.4737163782119751","0.4790831208229065","0.4993535578250885","0.5039536356925964","0.596286952495575","0.6202616691589355","0.7055350542068481","1","1.0887748003005981","1.1086978912353516","1.1952999830245972","1.2949082851409912","1.300200343132019","1.4715445041656494","1.5118608474731445","1.5670604705810547","1.8527148962020874","1.9384082555770874","10.111498832702637","10.125402450561523","10.177931785583496","10.457712173461914","10.943865776062012","10.985777854919434","100.79071807861328","101.65904235839844","104.82234954833984","105.83026123046875","107.181884765625","11.994095802307129","110.49737548828125","1108.6978759765625","116.89628601074219","117.16053009033203","117.43767547607422","117.84744262695312","117.99929809570312","118.46720886230469","119.84485626220703","12.351432800292969","120.94886779785156","1209.4886474609375","124.34769439697266","124.54713439941406","125.4068832397461","125.54895782470703","125.86283111572266","126.79277801513672","127.09709930419922","127.53489685058594","129.78021240234375","13.382675170898438","13.412035942077637","13.58668327331543","13.75815486907959","130.46629333496094","135.4673309326172","135.79742431640625","138.7023162841797","139.09120178222656","139.53868103027344","14.110700607299805","14.181641578674316","14.542816162109375","14.648970603942871","14.980607032775879","141.21719360351562","141.8981170654297","142.1149139404297","142.21571350097656","142.71966552734375","143.33505249023438","145.65621948242188","148.41641235351562","149.47393798828125","149.51815795898438","150.52792358398438","1511.86083984375","15140.4658203125","156.93115234375","16.230506896972656","16.397891998291016","16.909421920776367","167.0691375732422","167.8508758544922","168.3205108642578","169.58047485351562","170.33631896972656","172.4658966064453","174.3145751953125","180.29107666015625","183.01812744140625","187.63705444335938","188.47865295410156","19.46095085144043","190.7968292236328","194.9393768310547","199.72921752929688","2.2447526454925537","2.3954155445098877","2.4189772605895996","2.559809923171997","2.6165363788604736","2.689424991607666","2.9294755458831787","2.9814348220825195","20.158143997192383","202.17308044433594","205.7745819091797","21.769615173339844","210.82640075683594","212.66842651367188","213.72332763671875","216.70005798339844","218.7086944580078","22.342491149902344","22.388731002807617","22.467254638671875","220.8324737548828","221.9691925048828","2217.395751953125","224.28761291503906","226.19534301757812","226.72129821777344","227.66604614257812","229.35057067871094","229.80284118652344","23.359169006347656","23.407957077026367","23.46961784362793","23.65395164489746","23.786609649658203","23.794696807861328","23.86313819885254","230.2757110595703","232.1547088623047","232.94944763183594","232.997802734375","234.29669189453125","235.19552612304688","235.28541564941406","235.7122344970703","236.0244598388672","236.59371948242188","236.6992645263672","237.05978393554688","237.4629364013672","237.56373596191406","237.66452026367188","237.845703125","238.57164001464844","239.07559204101562","24.595443725585938","240.04318237304688","240.1542510986328","241.65879821777344","242.9052734375","244.92144775390625","245.3435821533203","245.61460876464844","248.07235717773438","248.67807006835938","249.6300048828125","25.09688949584961","251.7763214111328","2519.76806640625","253.5443878173828","26.2659969329834","26.828655242919922","2686.2216796875","27.2134952545166","276.16656494140625","28.523773193359375","282.2347412109375","285.6302490234375","29.2067928314209","29.26211929321289","29.359418869018555","29.48032569885254","29.95560073852539","3.064038038253784","3.1345646381378174","3.139843702316284","3.232062339782715","3.243227481842041","3.2604734897613525","3.2870748043060303","3.326093912124634","3.33679461479187","3.3826494216918945","3.4369635581970215","3.4862914085388184","3.6622426509857178","3.830047369003296","3.994828462600708","30.22051429748535","30.88161277770996","300.61083984375","304.65533447265625","308.6004943847656","309.79791259765625","31.67544937133789","31.758886337280273","310.4354248046875","32.48989486694336","322.6732482910156","324.3363952636719","324.5461120605469","327.5698547363281","327.575927734375","33.47622299194336","330.59161376953125","340.8008728027344","349.56927490234375","350.3875427246094","353.1883850097656","353.5423278808594","358.7659912109375","366.55865478515625","38.99793243408203","384.0405578613281","39.45859909057617","395.9181213378906","4.086568832397461","4.132419586181641","4.157140254974365","4.384793281555176","4.463496685028076","4.810405254364014","4.837954521179199","40.90803527832031","41.00959396362305","41.44194412231445","410.4442138671875","414.7242126464844","42.02973175048828","42.23393249511719","42.53368377685547","426.44793701171875","44.167137145996094","446.9282531738281","4494.18212890625","47.9083137512207","472.3884582519531","48.79690933227539","481.3768310546875","49.23556900024414","49.23625946044922","49.48976516723633","49.6357421875","49.80416488647461","498.0416564941406","5.011430740356445","5.019377708435059","5.022199630737305","5.083419322967529","5.113328456878662","5.163955211639404","5.174097537994385","5.217533588409424","5.578066349029541","5.682643413543701","50.11430358886719","50.13509750366211","50.38058090209961","50.39535903930664","50.62701416015625","514.4364624023438","52.11887741088867","52.41117477416992","522.3208618164062","5298.26953125","53.031349182128906","53.36789321899414","53.620662689208984","56.81425094604492","56.926307678222656","568.0808715820312","57.02617645263672","57.3988151550293","57.74019241333008","57.8328742980957","5745.0712890625","58.20011520385742","58.4586181640625","59.78491973876953","59.82255554199219","59.922428131103516","6.047443389892578","6.652187824249268","60.47443389892578","60.82361602783203","603.7364501953125","61.764957427978516","61.92839431762695","63.49815368652344","63.90131759643555","66.5218734741211","67.26276397705078","67.80123901367188","689.1796264648438","69.51001739501953","7.055350303649902","7.761146545410156","7.918362140655518","70.9581527709961","71.1444091796875","71.24638366699219","71.86378479003906","71.9645767211914","72.06536865234375","72.3071060180664","73.692138671875","74.28955078125","74.62871551513672","75.35584259033203","75.90174102783203","75.94052124023438","76.17053985595703","76.2142333984375","76.60094451904297","76.65570068359375","76.69841003417969","76.95305633544922","77.60885620117188","78.01201629638672","8.31428050994873","8.704866409301758","8.988364219665527","80.58932495117188","8017.341796875","83.54962921142578","838.1289672851562","85.12239074707031","86.68002319335938","88.60880279541016","9.071165084838867","9.40127944946289","9.948968887329102","90.067626953125","91.21057891845703","911.2862548828125","9188.10546875","93.63182830810547","93.87847137451172","94.74327850341797","95.17878723144531","96.25061798095703","96.28388214111328","96.75909423828125","96.79530334472656","96.92041015625","97.03253173828125","97.87329864501953","98.45423126220703","98.61224365234375","99.87071228027344","998.7070922851562"] \N 489 f full \N 2024-05-15 23:37:10.42992+00 +182 2024-05-15 23:33:43.215316+00 2024-05-15 23:37:10.473523+00 [null,"20","3"] \N 485 f full \N 2024-05-15 23:37:10.473523+00 +164 2024-05-15 23:33:40.984539+00 2024-05-15 23:37:10.556971+00 ["analog","digital"] \N 446 f full \N 2024-05-15 23:37:10.556971+00 +189 2024-05-15 23:33:43.588213+00 2024-05-15 23:37:10.621483+00 [null,"demo"] \N 468 f full \N 2024-05-15 23:37:10.621483+00 +191 2024-05-15 23:33:44.11886+00 2024-05-15 23:37:10.672166+00 [null] \N 483 f full \N 2024-05-15 23:37:10.672166+00 +171 2024-05-15 23:33:41.457092+00 2024-05-15 23:33:41.457092+00 [false,true] \N 430 f full \N 2024-05-15 23:33:41.457092+00 +185 2024-05-15 23:33:43.384962+00 2024-05-15 23:33:43.384962+00 [false] \N 455 f full \N 2024-05-15 23:33:43.384962+00 +190 2024-05-15 23:33:44.072267+00 2024-05-15 23:33:44.072267+00 [false,true] \N 480 f full \N 2024-05-15 23:33:44.072267+00 +193 2024-05-15 23:33:44.240111+00 2024-05-15 23:33:44.240111+00 [null,false] \N 488 f full \N 2024-05-15 23:33:44.240111+00 +194 2024-05-15 23:33:44.304734+00 2024-05-15 23:33:44.304734+00 [null,false] \N 490 f full \N 2024-05-15 23:33:44.304734+00 +195 2024-05-15 23:33:44.349395+00 2024-05-15 23:33:44.349395+00 [null,false] \N 491 f full \N 2024-05-15 23:33:44.349395+00 +196 2024-05-15 23:33:44.514223+00 2024-05-15 23:33:44.514223+00 [null,false] \N 492 f full \N 2024-05-15 23:33:44.514223+00 +200 2024-05-15 23:33:44.869895+00 2024-05-15 23:33:44.869895+00 [true] \N 510 f full \N 2024-05-15 23:33:44.869895+00 +201 2024-05-15 23:33:44.947253+00 2024-05-15 23:33:44.947253+00 [true] \N 498 f full \N 2024-05-15 23:33:44.947253+00 +202 2024-05-15 23:33:45.004391+00 2024-05-15 23:33:45.004391+00 [true] \N 500 f full \N 2024-05-15 23:33:45.004391+00 +203 2024-05-15 23:33:45.102702+00 2024-05-15 23:33:45.102702+00 [3] \N 501 f full \N 2024-05-15 23:33:45.102702+00 +204 2024-05-15 23:33:45.188403+00 2024-05-15 23:33:45.188403+00 [true] \N 502 f full \N 2024-05-15 23:33:45.188403+00 +206 2024-05-15 23:33:45.344674+00 2024-05-15 23:33:45.344674+00 [true] \N 505 f full \N 2024-05-15 23:33:45.344674+00 +207 2024-05-15 23:33:45.453936+00 2024-05-15 23:33:45.453936+00 [true] \N 506 f full \N 2024-05-15 23:33:45.453936+00 +208 2024-05-15 23:33:45.61481+00 2024-05-15 23:33:45.61481+00 [true] \N 507 f full \N 2024-05-15 23:33:45.61481+00 +209 2024-05-15 23:33:45.720157+00 2024-05-15 23:33:45.720157+00 [true] \N 508 f full \N 2024-05-15 23:33:45.720157+00 +216 2024-05-15 23:33:46.540171+00 2024-05-15 23:33:46.540171+00 ["admin"] \N 521 f full \N 2024-05-15 23:33:46.540171+00 +199 2024-05-15 23:33:44.800872+00 2024-05-15 23:37:09.844973+00 ["","ALARMED","ATIVADO","ATIVOU","AUTOMATIC","Activate","Automatico","Beep Activated","Block","CLOSED","Chavear","Close","DEFECT","DESABILITADO","DESBLOQUEADO","DESLIGADO","EM OPERAÇÃO","ENABLED","ENTRADA_B","EXCLUDED","Enable","Exclude","Group_1","Group_2","INCLUDED","INDIVIDUAL","INTERMEDIARY","Include","LIBERADO","LOCAL","LOCKED","LOST_TIME_REF","MANUAL","NORMAL","NO_COMMS","OK","ON","OPEN","OPERATED","On","PRINCIPAL","Paralell","REF.TEMPO OK","REMOTO","Reset","SEM_DEFEITO","SIGNALED","SINCRONIZADO","STARTED","TIME_REF_OK","TRANSFERIDO","TRIPOLAR","Tripolar","UNIDADE2","undefined"] \N 462 f full \N 2024-05-15 23:37:09.844973+00 +170 2024-05-15 23:33:41.352607+00 2024-05-15 23:37:09.927778+00 ["BRA","CAM","HMIX","KAW2","KEP1","KIK3","KNH2","KOR1","PE1","SEA","SEC","SECC","SEE","SEH","SEK","SEN","SEP","SEY","SEZ","U1","U2","U3","US1","US2","US3","UT1","UT2","UT3","UT4","UT5","UT6","UT7","_System"] \N 461 f full \N 2024-05-15 23:37:09.927778+00 +186 2024-05-15 23:33:43.441718+00 2024-05-15 23:37:09.964901+00 [null] \N 456 f full \N 2024-05-15 23:37:09.964901+00 +169 2024-05-15 23:33:41.28521+00 2024-05-15 23:37:09.986388+00 [""] \N 436 f full \N 2024-05-15 23:37:09.986388+00 +180 2024-05-15 23:33:42.801413+00 2024-05-15 23:37:10.495808+00 ["","ALARMED","ATIVADO","AUTOMATIC","Activate","Active Beep","Automatico","Block","CLOSED","Chavear","Close","DEFECT","DESABILITADO","DESBLOQUEADO","DESLIGADO","EM OPERAÇÃO","ENABLED","ENTRADA_B","EXCLUDED","Enable","Exclude","Group_1","Group_2","INCLUDED","INDIVIDUAL","INTERMEDIARY","Include","LIBERADO","LOCAL","LOCKED","LOST_TIME_REF","MANUAL","NORMAL","NO_COMMS","OK","ON","OPEN","OPERATED","On","PRINCIPAL","Paralell","RAISE","REF.TEMPO OK","REMOTO","Reset","SEM_DEFEITO","SIGNALED","SINCRONIZADO","STARTED","TIME_REF_OK","TRANSFERIDO","TRIPOLAR","Tripolar","UNIDADE2","undefined"] \N 466 f full \N 2024-05-15 23:37:10.495808+00 +179 2024-05-15 23:33:42.693941+00 2024-05-15 23:37:10.584372+00 [null] \N 453 f full \N 2024-05-15 23:37:10.584372+00 +181 2024-05-15 23:33:43.122619+00 2024-05-15 23:37:10.875819+00 ["","-0.1047 kW","-0.7055 MVAr","-1.0424 kW","-1.2983 MVAr","-10.9858 MVAr","-11.0856 MVAr","-11.935 MW","-124.5104 kW","-125.787 MW","-13.8968 MW","-133.627 MW","-14.965 MW","-16.4289 MVAr","-2.4745 MVAr","-22.2759 MVAr","-25.6989 MVAr","-26.5954 MVAr","-27.0348 MVAr","-27.2661 MW","-28.5291 MW","-29.5318 MW","-3.7612 MVAr","-3.9757 MVAr","-319.5863 MW","-3317.8918 A","-3321.2268 A","-39.0969 MW","-39.6916 MW","-4.2944 MVAr","-4.6953 MVAr","-40.6474 MW","-5317.8613 kVAr","-6.0752 MVAr","-60.2645 MW","-78.8979 MW","-8.0892 MVAr","-8.718 MVAr","-9.5751 kVAr","-9.8775 MW","0 A","0 Hz","0 MVAr","0 MW","0 Pos","0 Vca","0 kV","0 kVAr","0 kW","0 km","0 oC","0.1011 MVAr","0.2092 MVAr","0.3557 MVAr","0.4174 MVAr","0.4737 MVAr","0.4791 MVAr","0.4994 MVAr","0.504 MVAr","0.5963 MVAr","0.6203 MVAr","0.7055 MVAr","0e+00","1.0888 km","1.1087 MVAr","1.1953 MVAr","1.2949 MVAr","1.3002 MVAr","1.4715 MVAr","1.5119 MVAr","1.5671 MVAr","1.8527 MVAr","1.9384 MW","10.1115 Pos","10.1254 Pos","10.1779 MW","10.4577 MVAr","10.6956 MVA","10.9439 Pos","10.9858 Pos","100.7907 MW","101.659 MW","104.8223 A","105.8303 A","107.1819 A","11.9941 MVAr","110.4974 A","1108.6979 MW","116.8963 A","117.1605 A","117.4377 MW","117.8474 A","117.9993 A","118.4672 A","119.8449 MW","12.3514 MW","120.9489 MW","1209.4886 MW","124.3477 Vcc","124.5471 A","125.4069 Vcc","125.549 MW","125.8534 MVA","125.8628 MW","125.9111 MVA","126.7928 Vcc","127.0971 Vcc","127.5349 Vcc","129.7802 A","13.3827 MVAr","13.412 kV","13.5867 MVAr","13.7582 MVAr","130.4663 Vcc","135.4673 A","135.7974 MVA","138.7023 kV","139.0912 A","139.5387 201","14.1107 kV","14.1816 MVAr","14.5428 MW","14.649 MW","14.931 MVA","14.9806 A","141.2172 Vca","141.8981 A","142.1149 A","142.2157 kV","142.7197 kV","143.3351 A","145.6562 kV","148.4164 A","149.4739 A","149.5182 Vca","150.5279 A","1511.8608 MW","15140.4658 MW","156.9312 A","16.2305 km","16.3979 km","16.9094 kW","167.0691 A","167.8509 A","168.3205 A","169.5805 MW","170.3363 A","172.4659 A","174.3146 A","180.2911 A","183.0181 A","187.6371 A","188.4787 A","19.461 oC","190.7968 km","194.9394 A","199.7292 km","2.2448 MVAr","2.3954 MVAr","2.419 kV","2.5598 km","2.6165 MW","2.6894 km","2.9295 MW","2.9814 MW","20.1581 MW","202.1731 A","205.7746 MW","21.7696 oC","210.8264 A","212.6684 A","213.7233 A","216.7001 A","218.7087 A","22.3425 km","22.3887 MW","22.4673 kV","220.8325 Vca","221.9692 Vca","2217.3958 MW","224.2876 Vca","226.1953 A","226.7213 kV","227.666 kV","229.3506 kV","229.8028 km","23.3592 kV","23.408 kV","23.4696 kV","23.654 kV","23.7866 kV","23.7947 kV","23.8631 kV","230.2757 kV","232.1547 kV","232.9494 kV","232.9978 kV","234.2967 kV","235.1955 kV","235.2854 kV","235.7122 kV","236.0245 kV","236.5937 kV","236.6993 kV","237.0598 kV","237.4629 kV","237.5637 kV","237.6645 kV","237.8457 kV","238.5716 kV","239.0756 kV","24.5954 kV","240.0432 kV","240.1543 kV","241.6588 kV","242.9053 kV","244.9214 A","245.3436 kV","245.6146 kV","248.0724 A","248.6781 A","249.63 A","25.0969 MW","251.7763 A","2519.7681 MW","253.5444 A","26.0291 MVA","26.266 MVA","26.8287 MW","2686.2217 MW","27.2135 A","276.1666 A","28.5238 MW","282.2347 A","285.6302 A","289566 Updates","29.2068 MVA","29.2621 MW","29.3594 MW","29.4803 MVA","29.9556 MW","3.064 MW","3.1346 MW","3.1398 A","3.2321 MW","3.2432 MW","3.2605 MVAr","3.2871 MVAr","3.3261 MVAr","3.3368 km","3.3826 MVAr","3.437 MW","3.4863 MVAr","3.6622 kW","3.83 MW","3.9948 MW","30.2205 MW","30.7917 MVA","30.8816 MVA","300.6108 A","304.6553 A","308.6005 A","309.7979 A","31.6754 MW","31.7589 MVA","310.4354 A","32.4899 km","322.6732 A","324.3364 Vcc","324.5461 A","327.5699 A","327.5759 A","33.4762 MVA","330.5916 A","340.8009 A","349.5693 A","350.3875 A","353.1884 A","353.5423 A","358.766 A","366.5587 A","38.9979 MW","384.0406 oC","39.4586 MW","39.631 MVA","395.9181 MW","4.0866 MVAr","4.1324 MW","4.1571 MW","4.3848 MW","4.4635 MW","4.8104 MW","4.838 kV","40.2146 MVA","40.908 MW","41.0096 MW","41.139 MVA","41.4419 oC","41.512 MVA","410.4442 A","414.7242 A","42.0297 oC","42.2339 MW","42.3647 MVA","42.5337 oC","426.4479 oC","44.1671 oC","446.9283 oC","4494.1821 MW","47.9083 MW","472.3885 oC","48.7969 oC","481.3768 oC","49.2356 oC","49.2363 oC","49.4898 A","49.6357 MW","49.8042 MW","498.0417 MW","5.0114 MW","5.0194 oC","5.0222 oC","5.0834 oC","5.1133 oC","5.164 MW","5.1741 MW","5.2175 oC","5.5781 MVAr","5.6826 MW","50.1143 MW","50.1351 MW","50.3806 oC","50.3954 A","50.3954 MW","50.627 oC","514.4365 MW","52.1189 MW","52.4112 A","522.3209 oC","5298.2695 MW","53.0313 oC","53.3679 A","53.6207 oC","54.4052 MVA","56.8143 km","56.9263 A","568.0809 oC","57.0262 MW","57.3988 km","57.7402 A","57.8329 A","5745.0713 MW","58.2001 Hz","58.4586 A","59.7849 Hz","59.8226 Hz","59.9224 A","6.0474 A","6.0474 MVAr","6.6522 MW","60.4744 Hz","60.8236 Hz","603.7365 A","61.765 A","61.9284 MVA","63.4982 A","63.9013 MW","66.5219 A","67.2628 kV","67.8012 MW","689.1796 MW","69.51 kV","7.0554 MVAr","7.0554 MW","7.7611 MVAr","7.9184 Pos","70.9582 kV","71.1444 km","71.2464 MVA","71.8638 kV","71.9646 kV","72.0654 kV","72.3071 kV","73.6921 MVA","74.2896 kV","74.6287 A","75.3558 A","75.9017 A","75.9405 A","76.1705 A","76.2142 A","76.6009 A","76.6557 A","76.6984 A","76.9531 A","77.6089 A","78.012 A","8.3143 MVAr","8.7049 Pos","8.9884 Pos","80.5893 A","8017.3418 MW","83.5496 A","838.129 kV","85.1224 A","86.68 A","88.6088 A","9.0712 Pos","9.4013 MW","9.531 MVA","9.949 MW","90.0676 A","91.2106 A","911.2863 MW","9188.1055 MW","93.6318 A","93.8785 A","94.7433 A","95.1788 A","96.2506 A","96.2839 A","96.7591 A","96.7953 A","96.9204 MW","97.0325 MW","97.8733 A","98.4542 MW","98.6122 A","99.8707 MW","998.7071 MW","ALARMED","ATIVADO","AUTOMATIC","BLOQUEADO","Beep Active","CLOSED","COM_DEFEITO","DEFECT","DESABILITADO","DESATIVADO","DESBLOQUEADO","DESLIGADO","DESSINCRONIZADO","DISABLED","ENABLED","ENTRADA_B","EXCLUDED","Group_1","Group_2","INACTIVE","INCLUDED","INDIVIDUAL","INTERLOCKED","INTERMEDIARY","LIBERADO","LIGADO","LOCAL","LOCKED","LOST_TIME_REF","MANUAL","NORMAL","NO_COMM","NO_COMMS","OFF","OK","ON","OPEN","OPERATED","PARALELO","Paralell","REMOTE","REMOTO","SEM_DEFEITO","SIGNALED","SINCRONIZADO","STARTED","TIME_REF_OK","TRANSFERIDO","TRIPOLAR","UNIDADE2","UNLOCKED"] \N 482 f full \N 2024-05-15 23:37:10.875819+00 +188 2024-05-15 23:33:43.549276+00 2024-05-15 23:37:10.905898+00 ["","201","A","Enum","Hz","Lower/Raise","MVA","MVAr","MW","Pos","Updates","Vca","Vcc","kV","kVAr","kW","km","oC"] \N 463 f full \N 2024-05-15 23:37:10.905898+00 +215 2024-05-15 23:33:46.415095+00 2024-05-15 23:33:46.415095+00 ["admin"] \N 520 f full \N 2024-05-15 23:33:46.415095+00 +158 2024-05-15 23:33:40.573051+00 2024-05-15 23:37:09.881994+00 ["","AUTOMATIC","BLOQUEADO","Beep Deactivated","CLOSED","COM_DEFEITO","DESATIVADO","DESATIVOU","DESSINCRONIZADO","DISABLED","Deactivate","Disable","ENTRADA_A","EXCLUDED","Exclude","FORA D OPERAÇÃO","Group_1","Group_2","HABILITADO","INACTIVE","INCLUDED","INTERLOCKED","Include","Individual","LIGADO","LOCAL","LOST_TIME_REF","MANUAL","Manual","NORMAL","NO_COMM","Normal","NÃO_TRIPOLAR","OFF","OK","OPEN","Off","Open","PARALELO","PERDA REF.TEMPO","REMOTE","RESERVA","TIME_REF_OK","UNIDADE1","UNLOCKED","Unblock","undefined"] \N 477 f full \N 2024-05-15 23:37:09.881994+00 +162 2024-05-15 23:33:40.85739+00 2024-05-15 23:37:10.701914+00 ["230kV","800kVcc","AL3 23kV","AL4 23kV","AL5 23kV","AL6 23kV","AL7 23kV","AL8 23kV","AL9 23kV","AM","Alimentadores 23kV","Argentina","Barra A 230kV","Barra A1 230kV","Barra A2 230kV","Barra B 230kV","Barra P 138kV","Barra P 230kV","Barra P 23kV","Barra P 69kV","Barra P1 13,8kV","Barra P2 13,8kV","Barra P2 69kV","CAte","COS","Cap.bank BC1","Cap.bank BC1 230kV","Cap.bank BC1 23kV","Cap.bank BC2","Cap.bank BC2 23kV","Cap.bank BC3 23kV","Centro-oeste","ECE","ES","FD1 23kV","FD10 23kV","FD11 23kV","FD12 23kV","FD13 23kV","FD14 23kV","FD15 23kV","FD16 23kV","FD17 23kV","FD2 23kV","FD21 13,8kV","FD22 13,8kV","FD23 13,8kV","FD24 13,8kV","FD25 13,8kV","FD26 13,8kV","FD27 13,8kV","G1","G2","G3","G4","G5","G6","Generation","Geração","Gereação","IB 138kV","IB 230kV","IB 23kV","IB 69kV","IB1 13,8kV","IB2 13,8kV","IB3 13,8kV","IHM OSHMI","Interbarras 1","Interbarras 1 23kV","Interbarras 2","Interbarras 2 23kV","Interbarras 3 23kV","Interbarras 4","Interbarras 4 23kV","Interbarras 5 23kV","MG","MT","Nordeste","Norte","PR","Painel Alimentadores","Paraguai","RJ","RN","RO","RS","RTU","SC","SP","Serv. Aux.","Serv. Aux. CA","Serv. Aux. CA A","Serv. Aux. CA B","Serv. Aux. CA G","Serv. Aux. CA I","Serv. Aux. CC","Serv. Aux. CC Barra A","Serv. Aux. CC Barra B","Serv. Aux. CC I","Status","Substat.","Sudeste","Sul","TL KEA1 230kV","TL1 230kV","TL1 GUA2 230kV","TL1 KAL1 138kV","TL1 KAW1","TL1 KAW1 69kV","TL1 KGL1 69kV","TL1 KHB1 230kV","TL1 KMA1 230kV","TL1 KME1 69kV","TL1 KPL3","TL1 KPL3 230kV","TL1 KPL4 230kV","TL1 KPM2","TL1 KPR 230kV","TL1 KPR1 69kV","TL1 KPR2","TL1 KPR2 230kV","TL1 KSL2 69kV","TL1 KYU2","TL1 KYU2 138kV","TL1 KYU2 230kV","TL10 230kV","TL11 230kV","TL12 230kV","TL13 230kV","TL14 230kV","TL15 230kV","TL16 230kV","TL17 230kV","TL18 230kV","TL19 230kV","TL2 230kV","TL2 KAW1","TL2 KAW1 69kV","TL2 KGL1 69kV","TL2 KHB1 230kV","TL2 KYU2 230kV","TL20 230kV","TL3 230kV","TL4 230kV","TL5 230V","TL5 230kV","TL6 230kV","TL7 230kV","TL8 230kV","TL8 525kV","TL9 230kV","TR1","TR1 13,8kV","TR1 230kV","TR1 23kV","TR1 69kV","TR1 Sd.138kV","TR1 Sd.23kV","TR2","TR2 230kV","TR2 69kV","TR2 Sd.13,8kV","TR2 Sd.138kV","TR2 Sd.230kV","TR2 Sd.23kV","TR2 Sd.69kV","TR3","TR3 Sd.138kV","TR3 Sd.230kV","TR3 Sd.23kV","TR3 Sd.69kV","TR4","TR4 L13,8","TR4 Sd.13,8kV","TR4 Sd.69kV","TR5","TR5 Sd.13,8","TR5 Sd.13,8kV","TR5 Sd.69kV","UAC","UAC1","UAC2","UAC3","UAC4","UAC5","UAC6","UAC7","UAC8","UAC9","UCS","UCS1","UCS2","Uruguai"] \N 442 f full \N 2024-05-15 23:37:10.701914+00 +\. + + +-- +-- Data for Name: metabase_table; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.metabase_table (id, created_at, updated_at, name, description, entity_type, active, db_id, display_name, visibility_type, schema, points_of_interest, caveats, show_in_getting_started, field_order, initial_sync_status, is_upload, database_require_filter) FROM stdin; +6 2024-05-15 23:19:50.673639+00 2024-05-15 23:20:04.291322+00 ACCOUNTS Information on customer accounts registered with Piespace. Each account represents a new organization signing up for on-demand pies. entity/UserTable t 1 Accounts \N PUBLIC Is it? We’ll let you be the judge of that. Piespace’s business operates with a two week trial period. If you see that “Canceled At” is null then that account is still happily paying for their pies. f database complete f \N +1 2024-05-15 23:19:50.452483+00 2024-05-15 23:20:04.30209+00 ANALYTIC_EVENTS Piespace does some anonymous analytics tracking on how users interact with their platform. They’ve only had time to implement a few events, but you know how it is. Pies come first. entity/EventTable t 1 Analytic Events \N PUBLIC Is it? We’ll let you be the judge of that. Piespace has cracked time travel, so keep in mind that some events may have already happened in the future. f database complete f \N +2 2024-05-15 23:19:50.524327+00 2024-05-15 23:20:04.327657+00 FEEDBACK With each order of pies sent out, Piespace includes a place for customers to submit feedback and review their order. entity/GenericTable t 1 Feedback \N PUBLIC Is it? We’ll let you be the judge of that. Not every account feels inclined to submit feedback. That’s cool. There’s still quite a few responses here. f database complete f \N +7 2024-05-15 23:19:50.782847+00 2024-05-15 23:20:04.343422+00 INVOICES Confirmed payments from Piespace’s customers. Most accounts pay for their pie subscription on a monthly basis. entity/GenericTable t 1 Invoices \N PUBLIC Is it? We’ll let you be the judge of that. You can group by “Account ID” to see all the payments from an account and unveil information like total amount paid to date. f database complete f \N +5 2024-05-15 23:19:50.634719+00 2024-05-15 23:20:04.480819+00 ORDERS Confirmed Sample Company orders for a product, from a user. entity/TransactionTable t 1 Orders \N PUBLIC Is it? You tell us! You can join this on the Products and Orders table using the ID fields. Discount is left null if not applicable. f database complete f \N +3 2024-05-15 23:19:50.564633+00 2024-05-15 23:20:04.538898+00 PEOPLE Information on the user accounts registered with Sample Company. entity/UserTable t 1 People \N PUBLIC Is it? You tell us! Note that employees and customer support staff will have accounts. f database complete f \N +8 2024-05-15 23:19:50.808893+00 2024-05-15 23:20:04.578349+00 PRODUCTS Includes a catalog of all the products ever sold by the famed Sample Company. entity/ProductTable t 1 Products \N PUBLIC Is it? You tell us! The rating column is an integer from 1-5 where 1 is dreadful and 5 is the best thing ever. f database complete f \N +4 2024-05-15 23:19:50.588933+00 2024-05-15 23:20:04.746077+00 REVIEWS Reviews that Sample Company customers have left on our products. entity/GenericTable t 1 Reviews \N PUBLIC Is it? You tell us! These reviews aren't tied to orders so it is possible people have reviewed products they did not purchase from us. f database complete f \N +17 2024-05-15 23:30:00.846809+00 2024-05-15 23:30:00.846809+00 cache_inval_bgw_job \N \N t 2 Cache Inval Bgw Job cruft _timescaledb_cache \N \N f database complete f \N +18 2024-05-15 23:30:00.863869+00 2024-05-15 23:30:00.863869+00 cache_inval_extension \N \N t 2 Cache Inval Extension cruft _timescaledb_cache \N \N f database complete f \N +32 2024-05-15 23:30:01.126367+00 2024-05-15 23:30:01.126367+00 cache_inval_hypertable \N \N t 2 Cache Inval Hypertable cruft _timescaledb_cache \N \N f database complete f \N +43 2024-05-15 23:30:01.266687+00 2024-05-15 23:30:19.745714+00 chunk_index \N entity/GenericTable t 2 Chunk Index \N _timescaledb_catalog \N \N f database complete f \N +44 2024-05-15 23:30:01.282728+00 2024-05-15 23:30:19.753342+00 continuous_aggs_invalidation_threshold \N entity/GenericTable t 2 Continuous Aggs Invalidation Threshold \N _timescaledb_catalog \N \N f database complete f \N +45 2024-05-15 23:30:01.294054+00 2024-05-15 23:30:19.761646+00 bgw_job \N entity/GenericTable t 2 Bgw Job \N _timescaledb_config \N \N f database complete f \N +46 2024-05-15 23:30:01.310857+00 2024-05-15 23:30:19.770705+00 remote_txn \N entity/GenericTable t 2 Remote Txn \N _timescaledb_catalog \N \N f database complete f \N +12 2024-05-15 23:30:00.767837+00 2024-05-15 23:30:19.777697+00 bgw_job_stat \N entity/GenericTable t 2 Bgw Job Stat \N _timescaledb_internal \N \N f database complete f \N +13 2024-05-15 23:30:00.779916+00 2024-05-15 23:30:19.784053+00 chunk_constraint \N entity/GenericTable t 2 Chunk Constraint \N _timescaledb_catalog \N \N f database complete f \N +14 2024-05-15 23:30:00.795292+00 2024-05-15 23:30:19.790755+00 bgw_policy_chunk_stats \N entity/GenericTable t 2 Bgw Policy Chunk Stats \N _timescaledb_internal \N \N f database complete f \N +15 2024-05-15 23:30:00.812776+00 2024-05-15 23:30:19.804926+00 grafana_realtime \N entity/GenericTable t 2 Grafana Realtime \N public \N \N f database complete f \N +16 2024-05-15 23:30:00.831436+00 2024-05-15 23:30:19.877632+00 jobs \N entity/GenericTable t 2 Jobs \N timescaledb_information \N \N f database complete f \N +9 2024-05-15 23:30:00.704611+00 2024-05-15 23:30:19.909403+00 data_nodes \N entity/GenericTable t 2 Data Nodes \N timescaledb_information \N \N f database complete f \N +10 2024-05-15 23:30:00.729225+00 2024-05-15 23:30:19.92902+00 chunk \N entity/GenericTable t 2 Chunk \N _timescaledb_catalog \N \N f database complete f \N +11 2024-05-15 23:30:00.754344+00 2024-05-15 23:30:19.940565+00 realtime_data Realtime data and catalog data entity/GenericTable t 2 Realtime Data \N public \N \N f database complete f \N +19 2024-05-15 23:30:00.883657+00 2024-05-15 23:30:19.960025+00 dimension \N entity/GenericTable t 2 Dimension \N _timescaledb_catalog \N \N f database complete f \N +20 2024-05-15 23:30:00.959754+00 2024-05-15 23:30:20.038648+00 hypertable_data_node \N entity/GenericTable t 2 Hypertable Data Node \N _timescaledb_catalog \N \N f database complete f \N +21 2024-05-15 23:30:00.983509+00 2024-05-15 23:30:20.051716+00 grafana_hist \N entity/GenericTable t 2 Grafana Hist \N public \N \N f database complete f \N +22 2024-05-15 23:30:00.999956+00 2024-05-15 23:30:20.062386+00 compression_algorithm \N entity/GenericTable t 2 Compression Algorithm \N _timescaledb_catalog \N \N f database complete f \N +23 2024-05-15 23:30:01.011549+00 2024-05-15 23:30:20.072421+00 tablespace \N entity/GenericTable t 2 Tablespace \N _timescaledb_catalog \N \N f database complete f \N +24 2024-05-15 23:30:01.023599+00 2024-05-15 23:30:20.081413+00 compressed_chunk_stats \N entity/GenericTable t 2 Compressed Chunk Stats \N _timescaledb_internal \N \N f database complete f \N +25 2024-05-15 23:30:01.038424+00 2024-05-15 23:30:20.088439+00 chunk_copy_operation \N entity/GenericTable t 2 Chunk Copy Operation \N _timescaledb_catalog \N \N f database complete f \N +26 2024-05-15 23:30:01.048708+00 2024-05-15 23:30:20.099193+00 dimension_slice \N entity/GenericTable t 2 Dimension Slice \N _timescaledb_catalog \N \N f database complete f \N +27 2024-05-15 23:30:01.060133+00 2024-05-15 23:30:20.107373+00 metadata \N entity/GenericTable t 2 Metadata \N _timescaledb_catalog \N \N f database complete f \N +28 2024-05-15 23:30:01.072186+00 2024-05-15 23:30:20.114076+00 continuous_aggs_materialization_invalidation_log \N entity/EventTable t 2 Continuous Aggs Materialization Invalidation Log \N _timescaledb_catalog \N \N f database complete f \N +29 2024-05-15 23:30:01.086974+00 2024-05-15 23:30:20.123547+00 hist Historical data table entity/GenericTable t 2 Hist \N public \N \N f database complete f \N +30 2024-05-15 23:30:01.097991+00 2024-05-15 23:30:20.130716+00 hypertable \N entity/GenericTable t 2 Hypertable \N _timescaledb_catalog \N \N f database complete f \N +31 2024-05-15 23:30:01.115083+00 2024-05-15 23:30:20.139596+00 chunks \N entity/GenericTable t 2 Chunks \N timescaledb_information \N \N f database complete f \N +33 2024-05-15 23:30:01.137333+00 2024-05-15 23:30:20.148986+00 dimensions \N entity/GenericTable t 2 Dimensions \N timescaledb_information \N \N f database complete f \N +34 2024-05-15 23:30:01.148028+00 2024-05-15 23:30:20.160404+00 job_stats \N entity/GenericTable t 2 Job Stats \N timescaledb_information \N \N f database complete f \N +35 2024-05-15 23:30:01.168909+00 2024-05-15 23:30:20.195376+00 hypertable_chunk_local_size \N entity/GenericTable t 2 Hypertable Chunk Local Size \N _timescaledb_internal \N \N f database complete f \N +36 2024-05-15 23:30:01.179203+00 2024-05-15 23:30:20.203185+00 continuous_aggregates \N entity/GenericTable t 2 Continuous Aggregates \N timescaledb_information \N \N f database complete f \N +37 2024-05-15 23:30:01.191376+00 2024-05-15 23:30:20.210737+00 compression_chunk_size \N entity/GenericTable t 2 Compression Chunk Size \N _timescaledb_catalog \N \N f database complete f \N +38 2024-05-15 23:30:01.204425+00 2024-05-15 23:30:20.220322+00 compression_settings \N entity/GenericTable t 2 Compression Settings \N timescaledb_information \N \N f database complete f \N +39 2024-05-15 23:30:01.220194+00 2024-05-15 23:30:20.226868+00 hypertables \N entity/GenericTable t 2 Hypertables \N timescaledb_information \N \N f database complete f \N +40 2024-05-15 23:30:01.230712+00 2024-05-15 23:30:20.232433+00 chunk_replication_status \N entity/GenericTable t 2 Chunk Replication Status \N timescaledb_experimental \N \N f database complete f \N +41 2024-05-15 23:30:01.24258+00 2024-05-15 23:30:20.240061+00 continuous_aggs_hypertable_invalidation_log \N entity/EventTable t 2 Continuous Aggs Hypertable Invalidation Log \N _timescaledb_catalog \N \N f database complete f \N +42 2024-05-15 23:30:01.253566+00 2024-05-15 23:30:20.248414+00 continuous_agg \N entity/GenericTable t 2 Continuous Agg \N _timescaledb_catalog \N \N f database complete f \N +47 2024-05-15 23:30:01.323571+00 2024-05-15 23:30:20.254943+00 chunk_data_node \N entity/GenericTable t 2 Chunk Data Node \N _timescaledb_catalog \N \N f database complete f \N +48 2024-05-15 23:30:01.346095+00 2024-05-15 23:30:20.263565+00 hypertable_compression \N entity/GenericTable t 2 Hypertable Compression \N _timescaledb_catalog \N \N f database complete f \N +55 2024-05-15 23:33:25.876511+00 2024-05-15 23:33:34.793235+00 roles \N entity/GenericTable t 3 Roles \N \N \N \N f database complete f \N +57 2024-05-15 23:33:25.938949+00 2024-05-15 23:33:34.888533+00 soeData \N entity/GenericTable t 3 SoeData \N \N \N \N f database complete f \N +56 2024-05-15 23:33:25.909689+00 2024-05-15 23:33:34.900909+00 userActions \N entity/UserTable t 3 UserActions \N \N \N \N f database complete f \N +49 2024-05-15 23:33:25.718629+00 2024-05-15 23:33:34.912589+00 users \N entity/UserTable t 3 Users \N \N \N \N f database complete f \N +52 2024-05-15 23:33:25.812628+00 2024-05-15 23:33:34.543224+00 commandsQueue \N entity/GenericTable t 3 CommandsQueue \N \N \N \N f database complete f \N +50 2024-05-15 23:33:25.75013+00 2024-05-15 23:33:34.617374+00 processInstances \N entity/GenericTable t 3 ProcessInstances \N \N \N \N f database complete f \N +54 2024-05-15 23:33:25.854336+00 2024-05-15 23:33:34.692663+00 protocolConnections \N entity/GenericTable t 3 ProtocolConnections \N \N \N \N f database complete f \N +51 2024-05-15 23:33:25.781799+00 2024-05-15 23:33:34.76966+00 protocolDriverInstances \N entity/GenericTable t 3 ProtocolDriverInstances \N \N \N \N f database complete f \N +53 2024-05-15 23:33:25.834702+00 2024-05-15 23:33:34.780112+00 realtimeData \N entity/GenericTable t 3 RealtimeData \N \N \N \N f database complete f \N +\. + + +-- +-- Data for Name: metric; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.metric (id, table_id, creator_id, name, description, archived, definition, created_at, updated_at, points_of_interest, caveats, how_is_this_calculated, show_in_getting_started, entity_id) FROM stdin; +\. + + +-- +-- Data for Name: metric_important_field; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.metric_important_field (id, metric_id, field_id) FROM stdin; +\. + + +-- +-- Data for Name: model_index; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.model_index (id, model_id, pk_ref, value_ref, schedule, state, indexed_at, error, created_at, creator_id) FROM stdin; +\. + + +-- +-- Data for Name: model_index_value; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.model_index_value (model_index_id, model_pk, name) FROM stdin; +\. + + +-- +-- Data for Name: moderation_review; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.moderation_review (id, updated_at, created_at, status, text, moderated_item_id, moderated_item_type, moderator_id, most_recent) FROM stdin; +\. + + +-- +-- Data for Name: native_query_snippet; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.native_query_snippet (id, name, description, content, creator_id, archived, created_at, updated_at, collection_id, entity_id) FROM stdin; +\. + + +-- +-- Data for Name: parameter_card; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.parameter_card (id, updated_at, created_at, card_id, parameterized_object_type, parameterized_object_id, parameter_id) FROM stdin; +\. + + +-- +-- Data for Name: permissions; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.permissions (id, object, group_id) FROM stdin; +1 / 2 +2 /collection/root/ 1 +3 /application/subscription/ 1 +4 /collection/namespace/snippets/root/ 1 +7 /db/1/ 1 +8 /download/db/1/ 1 +9 /download/db/1/native/ 1 +12 /db/2/ 1 +13 /download/db/2/ 1 +14 /download/db/2/native/ 1 +17 /db/3/ 1 +18 /download/db/3/ 1 +19 /download/db/3/native/ 1 +\. + + +-- +-- Data for Name: permissions_group; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.permissions_group (id, name) FROM stdin; +1 All Users +2 Administrators +\. + + +-- +-- Data for Name: permissions_group_membership; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.permissions_group_membership (id, user_id, group_id, is_group_manager) FROM stdin; +1 1 1 f +2 1 2 f +\. + + +-- +-- Data for Name: permissions_revision; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.permissions_revision (id, before, after, user_id, created_at, remark) FROM stdin; +\. + + +-- +-- Data for Name: persisted_info; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.persisted_info (id, database_id, card_id, question_slug, table_name, definition, query_hash, active, state, refresh_begin, refresh_end, state_change_at, error, created_at, creator_id) FROM stdin; +\. + + +-- +-- Data for Name: pulse; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.pulse (id, creator_id, name, created_at, updated_at, skip_if_empty, alert_condition, alert_first_only, alert_above_goal, collection_id, collection_position, archived, dashboard_id, parameters, entity_id) FROM stdin; +\. + + +-- +-- Data for Name: pulse_card; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.pulse_card (id, pulse_id, card_id, "position", include_csv, include_xls, dashboard_card_id, entity_id, format_rows) FROM stdin; +\. + + +-- +-- Data for Name: pulse_channel; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.pulse_channel (id, pulse_id, channel_type, details, schedule_type, schedule_hour, schedule_day, created_at, updated_at, schedule_frame, enabled, entity_id) FROM stdin; +\. + + +-- +-- Data for Name: pulse_channel_recipient; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.pulse_channel_recipient (id, pulse_channel_id, user_id) FROM stdin; +\. + + +-- +-- Data for Name: qrtz_blob_triggers; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.qrtz_blob_triggers (sched_name, trigger_name, trigger_group, blob_data) FROM stdin; +\. + + +-- +-- Data for Name: qrtz_calendars; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.qrtz_calendars (sched_name, calendar_name, calendar) FROM stdin; +\. + + +-- +-- Data for Name: qrtz_cron_triggers; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.qrtz_cron_triggers (sched_name, trigger_name, trigger_group, cron_expression, time_zone_id) FROM stdin; +MetabaseScheduler metabase.task.upgrade-checks.trigger DEFAULT 0 15 6,18 * * ? * America/Sao_Paulo +MetabaseScheduler metabase.task.anonymous-stats.trigger DEFAULT 0 33 6 * * ? * America/Sao_Paulo +MetabaseScheduler metabase.task.refresh-channel-cache.trigger DEFAULT 0 59 0/4 1/1 * ? * America/Sao_Paulo +MetabaseScheduler metabase.task.truncate-audit-tables.trigger DEFAULT 0 0 */12 * * ? * America/Sao_Paulo +MetabaseScheduler metabase.task.send-pulses.trigger DEFAULT 0 0 * * * ? * America/Sao_Paulo +MetabaseScheduler metabase.task.follow-up-emails.trigger DEFAULT 0 0 12 * * ? * America/Sao_Paulo +MetabaseScheduler metabase.task.creator-sentiment-emails.trigger DEFAULT 0 0 2 ? * 7 America/Sao_Paulo +MetabaseScheduler metabase.task.task-history-cleanup.trigger DEFAULT 0 0 0 * * ? * America/Sao_Paulo +MetabaseScheduler metabase.task.sync-and-analyze.trigger.2 DEFAULT 0 59 * * * ? * America/Sao_Paulo +MetabaseScheduler metabase.task.update-field-values.trigger.2 DEFAULT 0 0 18 * * ? * America/Sao_Paulo +MetabaseScheduler metabase.task.sync-and-analyze.trigger.3 DEFAULT 0 17 * * * ? * America/Sao_Paulo +MetabaseScheduler metabase.task.update-field-values.trigger.3 DEFAULT 0 0 6 * * ? * America/Sao_Paulo +\. + + +-- +-- Data for Name: qrtz_fired_triggers; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.qrtz_fired_triggers (sched_name, entry_id, trigger_name, trigger_group, instance_name, fired_time, sched_time, priority, state, job_name, job_group, is_nonconcurrent, requests_recovery) FROM stdin; +\. + + +-- +-- Data for Name: qrtz_job_details; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.qrtz_job_details (sched_name, job_name, job_group, description, job_class_name, is_durable, is_nonconcurrent, is_update_data, requests_recovery, job_data) FROM stdin; +MetabaseScheduler metabase.task.sync-and-analyze.job DEFAULT sync-and-analyze for all databases metabase.task.sync_databases.SyncAndAnalyzeDatabase t t f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +MetabaseScheduler metabase.task.update-field-values.job DEFAULT update-field-values for all databases metabase.task.sync_databases.UpdateFieldValues t t f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +MetabaseScheduler metabase.task.PersistenceRefresh.job DEFAULT Persisted Model refresh task metabase.task.persist_refresh.PersistenceRefresh t t f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +MetabaseScheduler metabase.task.upgrade-checks.job DEFAULT \N metabase.task.upgrade_checks.CheckForNewVersions f f f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +MetabaseScheduler metabase.task.PersistencePrune.job DEFAULT Persisted Model prune task metabase.task.persist_refresh.PersistencePrune t t f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +MetabaseScheduler metabase.task.anonymous-stats.job DEFAULT \N metabase.task.send_anonymous_stats.SendAnonymousUsageStats f f f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +MetabaseScheduler metabase.task.IndexValues.job DEFAULT Indexed Value Refresh task metabase.task.index_values.ModelIndexRefresh t t f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +MetabaseScheduler metabase.task.refresh-channel-cache.job DEFAULT \N metabase.task.refresh_slack_channel_user_cache.RefreshCache f f f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +MetabaseScheduler metabase.task.truncate-audit-tables.job DEFAULT \N metabase.task.truncate_audit_tables.TruncateAuditTables f f f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +MetabaseScheduler metabase.task.send-pulses.job DEFAULT \N metabase.task.send_pulses.SendPulses f f f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +MetabaseScheduler metabase.task.follow-up-emails.job DEFAULT \N metabase.task.follow_up_emails.FollowUpEmail f f f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +MetabaseScheduler metabase.task.creator-sentiment-emails.job DEFAULT \N metabase.task.creator_sentiment_emails.CreatorSentimentEmail f f f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +MetabaseScheduler metabase.task.task-history-cleanup.job DEFAULT \N metabase.task.task_history_cleanup.TaskHistoryCleanup f f f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +MetabaseScheduler metabase.task.email-remove-legacy-pulse.job DEFAULT \N metabase.task.email_remove_legacy_pulse.EmailRemoveLegacyPulse t f f f \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000000000010770800000010000000007800 +\. + + +-- +-- Data for Name: qrtz_locks; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.qrtz_locks (sched_name, lock_name) FROM stdin; +MetabaseScheduler STATE_ACCESS +MetabaseScheduler TRIGGER_ACCESS +\. + + +-- +-- Data for Name: qrtz_paused_trigger_grps; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.qrtz_paused_trigger_grps (sched_name, trigger_group) FROM stdin; +\. + + +-- +-- Data for Name: qrtz_scheduler_state; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.qrtz_scheduler_state (sched_name, instance_name, last_checkin_time, checkin_interval) FROM stdin; +MetabaseScheduler WinDev2305Eval1715815209311 1715816762501 7500 +\. + + +-- +-- Data for Name: qrtz_simple_triggers; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.qrtz_simple_triggers (sched_name, trigger_name, trigger_group, repeat_count, repeat_interval, times_triggered) FROM stdin; +\. + + +-- +-- Data for Name: qrtz_simprop_triggers; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.qrtz_simprop_triggers (sched_name, trigger_name, trigger_group, str_prop_1, str_prop_2, str_prop_3, int_prop_1, int_prop_2, long_prop_1, long_prop_2, dec_prop_1, dec_prop_2, bool_prop_1, bool_prop_2) FROM stdin; +\. + + +-- +-- Data for Name: qrtz_triggers; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.qrtz_triggers (sched_name, trigger_name, trigger_group, job_name, job_group, description, next_fire_time, prev_fire_time, priority, trigger_state, trigger_type, start_time, end_time, calendar_name, misfire_instr, job_data) FROM stdin; +MetabaseScheduler metabase.task.upgrade-checks.trigger DEFAULT metabase.task.upgrade-checks.job DEFAULT \N 1715850900000 -1 5 WAITING CRON 1715815209000 0 \N 0 \\x +MetabaseScheduler metabase.task.anonymous-stats.trigger DEFAULT metabase.task.anonymous-stats.job DEFAULT \N 1715851980000 -1 5 WAITING CRON 1715815209000 0 \N 0 \\x +MetabaseScheduler metabase.task.refresh-channel-cache.trigger DEFAULT metabase.task.refresh-channel-cache.job DEFAULT \N 1715817540000 -1 5 WAITING CRON 1715815209000 0 \N 2 \\x +MetabaseScheduler metabase.task.truncate-audit-tables.trigger DEFAULT metabase.task.truncate-audit-tables.job DEFAULT \N 1715828400000 -1 5 WAITING CRON 1715815209000 0 \N 2 \\x +MetabaseScheduler metabase.task.send-pulses.trigger DEFAULT metabase.task.send-pulses.job DEFAULT \N 1715817600000 -1 5 WAITING CRON 1715815209000 0 \N 1 \\x +MetabaseScheduler metabase.task.follow-up-emails.trigger DEFAULT metabase.task.follow-up-emails.job DEFAULT \N 1715871600000 -1 5 WAITING CRON 1715815209000 0 \N 0 \\x +MetabaseScheduler metabase.task.creator-sentiment-emails.trigger DEFAULT metabase.task.creator-sentiment-emails.job DEFAULT \N 1716008400000 -1 5 WAITING CRON 1715815209000 0 \N 0 \\x +MetabaseScheduler metabase.task.task-history-cleanup.trigger DEFAULT metabase.task.task-history-cleanup.job DEFAULT \N 1715828400000 -1 5 WAITING CRON 1715815209000 0 \N 0 \\x +MetabaseScheduler metabase.task.sync-and-analyze.trigger.2 DEFAULT metabase.task.sync-and-analyze.job DEFAULT sync-and-analyze Database 2 1715817540000 -1 5 WAITING CRON 1715815799000 0 \N 2 \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f4000000000000c7708000000100000000174000564622d6964737200116a6176612e6c616e672e496e746567657212e2a0a4f781873802000149000576616c7565787200106a6176612e6c616e672e4e756d62657286ac951d0b94e08b0200007870000000027800 +MetabaseScheduler metabase.task.update-field-values.trigger.2 DEFAULT metabase.task.update-field-values.job DEFAULT update-field-values Database 2 1715893200000 -1 5 WAITING CRON 1715815799000 0 \N 2 \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f4000000000000c7708000000100000000174000564622d6964737200116a6176612e6c616e672e496e746567657212e2a0a4f781873802000149000576616c7565787200106a6176612e6c616e672e4e756d62657286ac951d0b94e08b0200007870000000027800 +MetabaseScheduler metabase.task.sync-and-analyze.trigger.3 DEFAULT metabase.task.sync-and-analyze.job DEFAULT sync-and-analyze Database 3 1715818620000 -1 5 WAITING CRON 1715816005000 0 \N 2 \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f4000000000000c7708000000100000000174000564622d6964737200116a6176612e6c616e672e496e746567657212e2a0a4f781873802000149000576616c7565787200106a6176612e6c616e672e4e756d62657286ac951d0b94e08b0200007870000000037800 +MetabaseScheduler metabase.task.update-field-values.trigger.3 DEFAULT metabase.task.update-field-values.job DEFAULT update-field-values Database 3 1715850000000 -1 5 WAITING CRON 1715816005000 0 \N 2 \\xaced0005737200156f72672e71756172747a2e4a6f62446174614d61709fb083e8bfa9b0cb020000787200266f72672e71756172747a2e7574696c732e537472696e674b65794469727479466c61674d61708208e8c3fbc55d280200015a0013616c6c6f77735472616e7369656e74446174617872001d6f72672e71756172747a2e7574696c732e4469727479466c61674d617013e62ead28760ace0200025a000564697274794c00036d617074000f4c6a6176612f7574696c2f4d61703b787000737200116a6176612e7574696c2e486173684d61700507dac1c31660d103000246000a6c6f6164466163746f724900097468726573686f6c6478703f4000000000000c7708000000100000000174000564622d6964737200116a6176612e6c616e672e496e746567657212e2a0a4f781873802000149000576616c7565787200106a6176612e6c616e672e4e756d62657286ac951d0b94e08b0200007870000000037800 +\. + + +-- +-- Data for Name: query; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.query (query_hash, average_execution_time, query) FROM stdin; +\\x99a7fada5b51c92fb1d9de9d4c98a3672710d11112b7e56cc3742c2889f2d550 3888 {"database":3,"query":{"source-table":53},"type":"query","middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\\x12c8ffc97a071ce334b36c27ab1f36586886e670af05ddd5b92c0a27c9dfefa0 834 {"database":3,"type":"query","query":{"source-table":53,"fields":[["field",484,{"base-type":"type/Float"}],["field",422,{"base-type":"type/Boolean"}],["field",478,{"base-type":"type/Float"}],["field",480,{"base-type":"type/Boolean"}],["field",451,{"base-type":"type/Text"}],["field",459,{"base-type":"type/Boolean"}],["field",423,{"base-type":"type/Float"}],["field",474,{"base-type":"type/Text"}],["field",477,{"base-type":"type/Text"}],["field",462,{"base-type":"type/Text"}],["field",444,{"base-type":"type/Float"}],["field",430,{"base-type":"type/Boolean"}],["field",471,{"base-type":"type/Float"}],["field",461,{"base-type":"type/Text"}],["field",442,{"base-type":"type/Text"}],["field",450,{"base-type":"type/Text"}],["field",438,{"base-type":"type/*"}],["field",427,{"base-type":"type/Float"}],["field",449,{"base-type":"type/Float"}],["field",437,{"base-type":"type/Float"}],["field",467,{"base-type":"type/Float"}],["field",439,{"base-type":"type/Float"}],["field",454,{"base-type":"type/Boolean"}],["field",475,{"base-type":"type/Float"}],["field",424,{"base-type":"type/Boolean"}],["field",425,{"base-type":"type/Float"}],["field",465,{"base-type":"type/Float"}],["field",440,{"base-type":"type/*"}],["field",456,{"base-type":"type/*"}],["field",448,{"base-type":"type/Float"}],["field",481,{"base-type":"type/Float"}],["field",436,{"base-type":"type/Text"}],["field",445,{"base-type":"type/Text"}],["field",429,{"base-type":"type/Boolean"}],["field",432,{"base-type":"type/*"}],["field",458,{"base-type":"type/Float"}],["field",420,{"base-type":"type/Float"}],["field",433,{"base-type":"type/*"}],["field",443,{"base-type":"type/*"}],["field",476,{"base-type":"type/Float"}],["field",457,{"base-type":"type/Float"}],["field",426,{"base-type":"type/Float"}],["field",452,{"base-type":"type/Dictionary"}],["field",485,{"base-type":"type/Text"}],["field",496,{"base-type":"type/Boolean"}],["field",487,{"base-type":"type/Float"}],["field",491,{"base-type":"type/Boolean"}],["field",490,{"base-type":"type/Boolean"}],["field",489,{"base-type":"type/Text"}],["field",494,{"base-type":"type/*"}],["field",495,{"base-type":"type/Instant"}],["field",493,{"base-type":"type/Text"}],["field",497,{"base-type":"type/Boolean"}],["field",492,{"base-type":"type/Boolean"}],["field",488,{"base-type":"type/Boolean"}],["field",486,{"base-type":"type/Boolean"}],["field",469,{"base-type":"type/Text"}],["field",466,{"base-type":"type/Text"}],["field",455,{"base-type":"type/Boolean"}],["field",435,{"base-type":"type/Float"}],["field",470,{"base-type":"type/Text"}],["field",464,{"base-type":"type/Instant"}],["field",421,{"base-type":"type/Boolean"}],["field",446,{"base-type":"type/Text"}],["field",472,{"base-type":"type/Text"}],["field",463,{"base-type":"type/Text"}],["field",447,{"base-type":"type/Float"}],["field",460,{"base-type":"type/Float"}],["field",473,{"base-type":"type/Float"}],["field",482,{"base-type":"type/Text"}],["field",434,{"base-type":"type/*"}],["field",419,{"base-type":"type/*"}],["field",479,{"base-type":"type/*"}],["field",428,{"base-type":"type/Array"}],["field",431,{"base-type":"type/*"}],["field",453,{"base-type":"type/*"}],["field",468,{"base-type":"type/Text"}],["field",483,{"base-type":"type/*"}]],"filter":["and",["contains",["field",470,{"base-type":"type/Text"}],"KAW2",{"case-sensitive":false}],["=",["field",463,{"base-type":"type/Text"}],"MW"]]},"middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\\x1163ffd3b7f0743fac0578ff7571b1e72209a16606a66940b05a9304c5c35e60 561 {"database":3,"type":"query","query":{"source-table":53,"fields":[["field",422,{"base-type":"type/Boolean"}],["field",478,{"base-type":"type/Float"}],["field",480,{"base-type":"type/Boolean"}],["field",451,{"base-type":"type/Text"}],["field",459,{"base-type":"type/Boolean"}],["field",423,{"base-type":"type/Float"}],["field",474,{"base-type":"type/Text"}],["field",477,{"base-type":"type/Text"}],["field",462,{"base-type":"type/Text"}],["field",444,{"base-type":"type/Float"}],["field",430,{"base-type":"type/Boolean"}],["field",471,{"base-type":"type/Float"}],["field",461,{"base-type":"type/Text"}],["field",442,{"base-type":"type/Text"}],["field",450,{"base-type":"type/Text"}],["field",438,{"base-type":"type/*"}],["field",427,{"base-type":"type/Float"}],["field",449,{"base-type":"type/Float"}],["field",437,{"base-type":"type/Float"}],["field",467,{"base-type":"type/Float"}],["field",439,{"base-type":"type/Float"}],["field",454,{"base-type":"type/Boolean"}],["field",475,{"base-type":"type/Float"}],["field",424,{"base-type":"type/Boolean"}],["field",425,{"base-type":"type/Float"}],["field",465,{"base-type":"type/Float"}],["field",440,{"base-type":"type/*"}],["field",456,{"base-type":"type/*"}],["field",448,{"base-type":"type/Float"}],["field",481,{"base-type":"type/Float"}],["field",436,{"base-type":"type/Text"}],["field",445,{"base-type":"type/Text"}],["field",429,{"base-type":"type/Boolean"}],["field",432,{"base-type":"type/*"}],["field",458,{"base-type":"type/Float"}],["field",420,{"base-type":"type/Float"}],["field",433,{"base-type":"type/*"}],["field",443,{"base-type":"type/*"}],["field",476,{"base-type":"type/Float"}],["field",457,{"base-type":"type/Float"}],["field",426,{"base-type":"type/Float"}],["field",452,{"base-type":"type/Dictionary"}],["field",485,{"base-type":"type/Text"}],["field",496,{"base-type":"type/Boolean"}],["field",487,{"base-type":"type/Float"}],["field",491,{"base-type":"type/Boolean"}],["field",490,{"base-type":"type/Boolean"}],["field",489,{"base-type":"type/Text"}],["field",494,{"base-type":"type/*"}],["field",495,{"base-type":"type/Instant"}],["field",493,{"base-type":"type/Text"}],["field",497,{"base-type":"type/Boolean"}],["field",492,{"base-type":"type/Boolean"}],["field",488,{"base-type":"type/Boolean"}],["field",486,{"base-type":"type/Boolean"}],["field",469,{"base-type":"type/Text"}],["field",466,{"base-type":"type/Text"}],["field",455,{"base-type":"type/Boolean"}],["field",435,{"base-type":"type/Float"}],["field",470,{"base-type":"type/Text"}],["field",464,{"base-type":"type/Instant"}],["field",421,{"base-type":"type/Boolean"}],["field",446,{"base-type":"type/Text"}],["field",472,{"base-type":"type/Text"}],["field",463,{"base-type":"type/Text"}],["field",447,{"base-type":"type/Float"}],["field",460,{"base-type":"type/Float"}],["field",473,{"base-type":"type/Float"}],["field",482,{"base-type":"type/Text"}],["field",434,{"base-type":"type/*"}],["field",419,{"base-type":"type/*"}],["field",479,{"base-type":"type/*"}],["field",428,{"base-type":"type/Array"}],["field",431,{"base-type":"type/*"}],["field",453,{"base-type":"type/*"}],["field",468,{"base-type":"type/Text"}],["field",483,{"base-type":"type/*"}]],"filter":["and",["contains",["field",470,{"base-type":"type/Text"}],"KAW2",{"case-sensitive":false}],["=",["field",463,{"base-type":"type/Text"}],"MW"]]},"middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\\xf8608a0e2d97d231593b33363ce88360a1a71dba740a3dca73ac44b3c6871549 442 {"database":3,"type":"query","query":{"source-table":53,"filter":["and",["contains",["field",470,{"base-type":"type/Text"}],"KAW2",{"case-sensitive":false}],["=",["field",463,{"base-type":"type/Text"}],"MW"]]},"middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\\xc98a8837d004ffbe9b189a9e9a5d498ef74991f3fdb34709ff562e82b656e30d 421 {"database":3,"type":"query","query":{"source-table":53,"fields":[["field",441,{"base-type":"type/Float"}],["field",484,{"base-type":"type/Float"}],["field",422,{"base-type":"type/Boolean"}],["field",478,{"base-type":"type/Float"}],["field",480,{"base-type":"type/Boolean"}],["field",451,{"base-type":"type/Text"}],["field",459,{"base-type":"type/Boolean"}],["field",423,{"base-type":"type/Float"}],["field",474,{"base-type":"type/Text"}],["field",477,{"base-type":"type/Text"}],["field",462,{"base-type":"type/Text"}],["field",444,{"base-type":"type/Float"}],["field",430,{"base-type":"type/Boolean"}],["field",471,{"base-type":"type/Float"}],["field",461,{"base-type":"type/Text"}],["field",442,{"base-type":"type/Text"}],["field",450,{"base-type":"type/Text"}],["field",438,{"base-type":"type/*"}],["field",427,{"base-type":"type/Float"}],["field",449,{"base-type":"type/Float"}],["field",437,{"base-type":"type/Float"}],["field",467,{"base-type":"type/Float"}],["field",439,{"base-type":"type/Float"}],["field",454,{"base-type":"type/Boolean"}],["field",475,{"base-type":"type/Float"}],["field",424,{"base-type":"type/Boolean"}],["field",425,{"base-type":"type/Float"}],["field",465,{"base-type":"type/Float"}],["field",440,{"base-type":"type/*"}],["field",456,{"base-type":"type/*"}],["field",448,{"base-type":"type/Float"}],["field",481,{"base-type":"type/Float"}],["field",436,{"base-type":"type/Text"}],["field",445,{"base-type":"type/Text"}],["field",429,{"base-type":"type/Boolean"}],["field",432,{"base-type":"type/*"}],["field",458,{"base-type":"type/Float"}],["field",420,{"base-type":"type/Float"}],["field",433,{"base-type":"type/*"}],["field",443,{"base-type":"type/*"}],["field",476,{"base-type":"type/Float"}],["field",457,{"base-type":"type/Float"}],["field",426,{"base-type":"type/Float"}],["field",452,{"base-type":"type/Dictionary"}],["field",485,{"base-type":"type/Text"}],["field",496,{"base-type":"type/Boolean"}],["field",487,{"base-type":"type/Float"}],["field",491,{"base-type":"type/Boolean"}],["field",490,{"base-type":"type/Boolean"}],["field",489,{"base-type":"type/Text"}],["field",494,{"base-type":"type/*"}],["field",493,{"base-type":"type/Text"}],["field",497,{"base-type":"type/Boolean"}],["field",492,{"base-type":"type/Boolean"}],["field",488,{"base-type":"type/Boolean"}],["field",486,{"base-type":"type/Boolean"}],["field",469,{"base-type":"type/Text"}],["field",466,{"base-type":"type/Text"}],["field",455,{"base-type":"type/Boolean"}],["field",435,{"base-type":"type/Float"}],["field",470,{"base-type":"type/Text"}],["field",464,{"base-type":"type/Instant"}],["field",421,{"base-type":"type/Boolean"}],["field",446,{"base-type":"type/Text"}],["field",472,{"base-type":"type/Text"}],["field",463,{"base-type":"type/Text"}],["field",447,{"base-type":"type/Float"}],["field",460,{"base-type":"type/Float"}],["field",473,{"base-type":"type/Float"}],["field",482,{"base-type":"type/Text"}],["field",434,{"base-type":"type/*"}],["field",419,{"base-type":"type/*"}],["field",479,{"base-type":"type/*"}],["field",428,{"base-type":"type/Array"}],["field",431,{"base-type":"type/*"}],["field",453,{"base-type":"type/*"}],["field",468,{"base-type":"type/Text"}],["field",483,{"base-type":"type/*"}]],"filter":["and",["contains",["field",470,{"base-type":"type/Text"}],"KAW2",{"case-sensitive":false}],["=",["field",463,{"base-type":"type/Text"}],"MW"]]},"middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\\xe4d6ec86045bdbdc40ee79c886fb410a85ee2ff64fcd52e962d196563f4bd80c 649 {"database":3,"type":"query","query":{"source-table":53,"fields":[["field",441,{"base-type":"type/Float"}],["field",484,{"base-type":"type/Float"}],["field",422,{"base-type":"type/Boolean"}],["field",478,{"base-type":"type/Float"}],["field",480,{"base-type":"type/Boolean"}],["field",451,{"base-type":"type/Text"}],["field",459,{"base-type":"type/Boolean"}],["field",423,{"base-type":"type/Float"}],["field",474,{"base-type":"type/Text"}],["field",477,{"base-type":"type/Text"}],["field",462,{"base-type":"type/Text"}],["field",444,{"base-type":"type/Float"}],["field",430,{"base-type":"type/Boolean"}],["field",471,{"base-type":"type/Float"}],["field",461,{"base-type":"type/Text"}],["field",442,{"base-type":"type/Text"}],["field",450,{"base-type":"type/Text"}],["field",438,{"base-type":"type/*"}],["field",427,{"base-type":"type/Float"}],["field",449,{"base-type":"type/Float"}],["field",437,{"base-type":"type/Float"}],["field",467,{"base-type":"type/Float"}],["field",439,{"base-type":"type/Float"}],["field",454,{"base-type":"type/Boolean"}],["field",475,{"base-type":"type/Float"}],["field",424,{"base-type":"type/Boolean"}],["field",425,{"base-type":"type/Float"}],["field",465,{"base-type":"type/Float"}],["field",440,{"base-type":"type/*"}],["field",456,{"base-type":"type/*"}],["field",448,{"base-type":"type/Float"}],["field",481,{"base-type":"type/Float"}],["field",436,{"base-type":"type/Text"}],["field",445,{"base-type":"type/Text"}],["field",429,{"base-type":"type/Boolean"}],["field",432,{"base-type":"type/*"}],["field",458,{"base-type":"type/Float"}],["field",420,{"base-type":"type/Float"}],["field",433,{"base-type":"type/*"}],["field",443,{"base-type":"type/*"}],["field",476,{"base-type":"type/Float"}],["field",457,{"base-type":"type/Float"}],["field",426,{"base-type":"type/Float"}],["field",452,{"base-type":"type/Dictionary"}],["field",485,{"base-type":"type/Text"}],["field",496,{"base-type":"type/Boolean"}],["field",487,{"base-type":"type/Float"}],["field",491,{"base-type":"type/Boolean"}],["field",490,{"base-type":"type/Boolean"}],["field",494,{"base-type":"type/*"}],["field",493,{"base-type":"type/Text"}],["field",497,{"base-type":"type/Boolean"}],["field",492,{"base-type":"type/Boolean"}],["field",488,{"base-type":"type/Boolean"}],["field",486,{"base-type":"type/Boolean"}],["field",469,{"base-type":"type/Text"}],["field",466,{"base-type":"type/Text"}],["field",455,{"base-type":"type/Boolean"}],["field",435,{"base-type":"type/Float"}],["field",470,{"base-type":"type/Text"}],["field",464,{"base-type":"type/Instant"}],["field",421,{"base-type":"type/Boolean"}],["field",446,{"base-type":"type/Text"}],["field",472,{"base-type":"type/Text"}],["field",463,{"base-type":"type/Text"}],["field",447,{"base-type":"type/Float"}],["field",460,{"base-type":"type/Float"}],["field",473,{"base-type":"type/Float"}],["field",482,{"base-type":"type/Text"}],["field",434,{"base-type":"type/*"}],["field",419,{"base-type":"type/*"}],["field",479,{"base-type":"type/*"}],["field",428,{"base-type":"type/Array"}],["field",431,{"base-type":"type/*"}],["field",453,{"base-type":"type/*"}],["field",468,{"base-type":"type/Text"}],["field",483,{"base-type":"type/*"}]],"filter":["and",["contains",["field",470,{"base-type":"type/Text"}],"KAW2",{"case-sensitive":false}],["=",["field",463,{"base-type":"type/Text"}],"MW"]]},"middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\\x1b8ad653a132c20e38b9e3baaad014c733be7519d21c2ac56592271b44909bf2 609 {"database":3,"type":"query","query":{"source-table":53,"fields":[["field",441,{"base-type":"type/Float"}],["field",484,{"base-type":"type/Float"}],["field",422,{"base-type":"type/Boolean"}],["field",478,{"base-type":"type/Float"}],["field",480,{"base-type":"type/Boolean"}],["field",451,{"base-type":"type/Text"}],["field",459,{"base-type":"type/Boolean"}],["field",423,{"base-type":"type/Float"}],["field",474,{"base-type":"type/Text"}],["field",477,{"base-type":"type/Text"}],["field",462,{"base-type":"type/Text"}],["field",444,{"base-type":"type/Float"}],["field",430,{"base-type":"type/Boolean"}],["field",471,{"base-type":"type/Float"}],["field",461,{"base-type":"type/Text"}],["field",442,{"base-type":"type/Text"}],["field",450,{"base-type":"type/Text"}],["field",438,{"base-type":"type/*"}],["field",427,{"base-type":"type/Float"}],["field",449,{"base-type":"type/Float"}],["field",437,{"base-type":"type/Float"}],["field",467,{"base-type":"type/Float"}],["field",439,{"base-type":"type/Float"}],["field",454,{"base-type":"type/Boolean"}],["field",475,{"base-type":"type/Float"}],["field",424,{"base-type":"type/Boolean"}],["field",425,{"base-type":"type/Float"}],["field",465,{"base-type":"type/Float"}],["field",440,{"base-type":"type/*"}],["field",456,{"base-type":"type/*"}],["field",448,{"base-type":"type/Float"}],["field",481,{"base-type":"type/Float"}],["field",436,{"base-type":"type/Text"}],["field",445,{"base-type":"type/Text"}],["field",429,{"base-type":"type/Boolean"}],["field",432,{"base-type":"type/*"}],["field",458,{"base-type":"type/Float"}],["field",420,{"base-type":"type/Float"}],["field",433,{"base-type":"type/*"}],["field",443,{"base-type":"type/*"}],["field",476,{"base-type":"type/Float"}],["field",457,{"base-type":"type/Float"}],["field",426,{"base-type":"type/Float"}],["field",452,{"base-type":"type/Dictionary"}],["field",485,{"base-type":"type/Text"}],["field",496,{"base-type":"type/Boolean"}],["field",487,{"base-type":"type/Float"}],["field",491,{"base-type":"type/Boolean"}],["field",490,{"base-type":"type/Boolean"}],["field",494,{"base-type":"type/*"}],["field",493,{"base-type":"type/Text"}],["field",497,{"base-type":"type/Boolean"}],["field",492,{"base-type":"type/Boolean"}],["field",488,{"base-type":"type/Boolean"}],["field",486,{"base-type":"type/Boolean"}],["field",469,{"base-type":"type/Text"}],["field",466,{"base-type":"type/Text"}],["field",455,{"base-type":"type/Boolean"}],["field",435,{"base-type":"type/Float"}],["field",464,{"base-type":"type/Instant"}],["field",421,{"base-type":"type/Boolean"}],["field",446,{"base-type":"type/Text"}],["field",472,{"base-type":"type/Text"}],["field",463,{"base-type":"type/Text"}],["field",447,{"base-type":"type/Float"}],["field",460,{"base-type":"type/Float"}],["field",473,{"base-type":"type/Float"}],["field",482,{"base-type":"type/Text"}],["field",434,{"base-type":"type/*"}],["field",419,{"base-type":"type/*"}],["field",479,{"base-type":"type/*"}],["field",428,{"base-type":"type/Array"}],["field",431,{"base-type":"type/*"}],["field",453,{"base-type":"type/*"}],["field",468,{"base-type":"type/Text"}],["field",483,{"base-type":"type/*"}],["field",470,{"base-type":"type/Text"}]],"filter":["and",["contains",["field",470,{"base-type":"type/Text"}],"KAW2",{"case-sensitive":false}],["=",["field",463,{"base-type":"type/Text"}],"MW"]]},"middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\\xf034e4dfc044eac86083fc88c38bcf799a79daa7f7d9c082c6b2c2653be6103c 362 {"database":3,"type":"query","query":{"source-table":53,"fields":[["field",441,{"base-type":"type/Float"}],["field",484,{"base-type":"type/Float"}],["field",422,{"base-type":"type/Boolean"}],["field",478,{"base-type":"type/Float"}],["field",480,{"base-type":"type/Boolean"}],["field",451,{"base-type":"type/Text"}],["field",459,{"base-type":"type/Boolean"}],["field",423,{"base-type":"type/Float"}],["field",474,{"base-type":"type/Text"}],["field",477,{"base-type":"type/Text"}],["field",462,{"base-type":"type/Text"}],["field",444,{"base-type":"type/Float"}],["field",430,{"base-type":"type/Boolean"}],["field",471,{"base-type":"type/Float"}],["field",461,{"base-type":"type/Text"}],["field",442,{"base-type":"type/Text"}],["field",450,{"base-type":"type/Text"}],["field",438,{"base-type":"type/*"}],["field",427,{"base-type":"type/Float"}],["field",449,{"base-type":"type/Float"}],["field",437,{"base-type":"type/Float"}],["field",467,{"base-type":"type/Float"}],["field",439,{"base-type":"type/Float"}],["field",454,{"base-type":"type/Boolean"}],["field",475,{"base-type":"type/Float"}],["field",424,{"base-type":"type/Boolean"}],["field",425,{"base-type":"type/Float"}],["field",465,{"base-type":"type/Float"}],["field",440,{"base-type":"type/*"}],["field",456,{"base-type":"type/*"}],["field",448,{"base-type":"type/Float"}],["field",481,{"base-type":"type/Float"}],["field",436,{"base-type":"type/Text"}],["field",445,{"base-type":"type/Text"}],["field",429,{"base-type":"type/Boolean"}],["field",432,{"base-type":"type/*"}],["field",458,{"base-type":"type/Float"}],["field",420,{"base-type":"type/Float"}],["field",433,{"base-type":"type/*"}],["field",443,{"base-type":"type/*"}],["field",476,{"base-type":"type/Float"}],["field",457,{"base-type":"type/Float"}],["field",426,{"base-type":"type/Float"}],["field",452,{"base-type":"type/Dictionary"}],["field",485,{"base-type":"type/Text"}],["field",496,{"base-type":"type/Boolean"}],["field",487,{"base-type":"type/Float"}],["field",491,{"base-type":"type/Boolean"}],["field",490,{"base-type":"type/Boolean"}],["field",494,{"base-type":"type/*"}],["field",493,{"base-type":"type/Text"}],["field",497,{"base-type":"type/Boolean"}],["field",492,{"base-type":"type/Boolean"}],["field",488,{"base-type":"type/Boolean"}],["field",486,{"base-type":"type/Boolean"}],["field",469,{"base-type":"type/Text"}],["field",466,{"base-type":"type/Text"}],["field",455,{"base-type":"type/Boolean"}],["field",435,{"base-type":"type/Float"}],["field",464,{"base-type":"type/Instant"}],["field",421,{"base-type":"type/Boolean"}],["field",446,{"base-type":"type/Text"}],["field",472,{"base-type":"type/Text"}],["field",463,{"base-type":"type/Text"}],["field",447,{"base-type":"type/Float"}],["field",460,{"base-type":"type/Float"}],["field",473,{"base-type":"type/Float"}],["field",482,{"base-type":"type/Text"}],["field",434,{"base-type":"type/*"}],["field",419,{"base-type":"type/*"}],["field",479,{"base-type":"type/*"}],["field",428,{"base-type":"type/Array"}],["field",431,{"base-type":"type/*"}],["field",453,{"base-type":"type/*"}],["field",468,{"base-type":"type/Text"}],["field",483,{"base-type":"type/*"}]],"filter":["and",["contains",["field",470,{"base-type":"type/Text"}],"KAW2",{"case-sensitive":false}],["=",["field",463,{"base-type":"type/Text"}],"MW"]]},"middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\\xba1174e549ace1818c884d2d92124d90ea5f38c34885c36b0a4d0ed579f6e542 294 {"database":3,"type":"query","query":{"source-table":53,"fields":[["field",441,{"base-type":"type/Float"}],["field",422,{"base-type":"type/Boolean"}],["field",478,{"base-type":"type/Float"}],["field",480,{"base-type":"type/Boolean"}],["field",451,{"base-type":"type/Text"}],["field",459,{"base-type":"type/Boolean"}],["field",423,{"base-type":"type/Float"}],["field",474,{"base-type":"type/Text"}],["field",477,{"base-type":"type/Text"}],["field",462,{"base-type":"type/Text"}],["field",444,{"base-type":"type/Float"}],["field",430,{"base-type":"type/Boolean"}],["field",471,{"base-type":"type/Float"}],["field",461,{"base-type":"type/Text"}],["field",442,{"base-type":"type/Text"}],["field",450,{"base-type":"type/Text"}],["field",438,{"base-type":"type/*"}],["field",427,{"base-type":"type/Float"}],["field",449,{"base-type":"type/Float"}],["field",437,{"base-type":"type/Float"}],["field",467,{"base-type":"type/Float"}],["field",439,{"base-type":"type/Float"}],["field",454,{"base-type":"type/Boolean"}],["field",475,{"base-type":"type/Float"}],["field",424,{"base-type":"type/Boolean"}],["field",425,{"base-type":"type/Float"}],["field",465,{"base-type":"type/Float"}],["field",440,{"base-type":"type/*"}],["field",456,{"base-type":"type/*"}],["field",448,{"base-type":"type/Float"}],["field",481,{"base-type":"type/Float"}],["field",436,{"base-type":"type/Text"}],["field",445,{"base-type":"type/Text"}],["field",429,{"base-type":"type/Boolean"}],["field",432,{"base-type":"type/*"}],["field",458,{"base-type":"type/Float"}],["field",420,{"base-type":"type/Float"}],["field",433,{"base-type":"type/*"}],["field",443,{"base-type":"type/*"}],["field",476,{"base-type":"type/Float"}],["field",457,{"base-type":"type/Float"}],["field",426,{"base-type":"type/Float"}],["field",452,{"base-type":"type/Dictionary"}],["field",485,{"base-type":"type/Text"}],["field",496,{"base-type":"type/Boolean"}],["field",487,{"base-type":"type/Float"}],["field",491,{"base-type":"type/Boolean"}],["field",490,{"base-type":"type/Boolean"}],["field",489,{"base-type":"type/Text"}],["field",494,{"base-type":"type/*"}],["field",495,{"base-type":"type/Instant"}],["field",493,{"base-type":"type/Text"}],["field",497,{"base-type":"type/Boolean"}],["field",492,{"base-type":"type/Boolean"}],["field",488,{"base-type":"type/Boolean"}],["field",486,{"base-type":"type/Boolean"}],["field",469,{"base-type":"type/Text"}],["field",466,{"base-type":"type/Text"}],["field",455,{"base-type":"type/Boolean"}],["field",435,{"base-type":"type/Float"}],["field",470,{"base-type":"type/Text"}],["field",464,{"base-type":"type/Instant"}],["field",421,{"base-type":"type/Boolean"}],["field",446,{"base-type":"type/Text"}],["field",472,{"base-type":"type/Text"}],["field",463,{"base-type":"type/Text"}],["field",447,{"base-type":"type/Float"}],["field",460,{"base-type":"type/Float"}],["field",473,{"base-type":"type/Float"}],["field",482,{"base-type":"type/Text"}],["field",434,{"base-type":"type/*"}],["field",419,{"base-type":"type/*"}],["field",479,{"base-type":"type/*"}],["field",428,{"base-type":"type/Array"}],["field",431,{"base-type":"type/*"}],["field",453,{"base-type":"type/*"}],["field",468,{"base-type":"type/Text"}],["field",483,{"base-type":"type/*"}]],"filter":["and",["contains",["field",470,{"base-type":"type/Text"}],"KAW2",{"case-sensitive":false}],["=",["field",463,{"base-type":"type/Text"}],"MW"]]},"middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\\x129421befa972ab2cd56807c6de93454c890530476a24faf245cd67e24c0ad14 846 {"database":3,"type":"query","query":{"source-table":53,"fields":[["field",441,{"base-type":"type/Float"}],["field",478,{"base-type":"type/Float"}],["field",480,{"base-type":"type/Boolean"}],["field",451,{"base-type":"type/Text"}],["field",459,{"base-type":"type/Boolean"}],["field",423,{"base-type":"type/Float"}],["field",474,{"base-type":"type/Text"}],["field",477,{"base-type":"type/Text"}],["field",462,{"base-type":"type/Text"}],["field",444,{"base-type":"type/Float"}],["field",430,{"base-type":"type/Boolean"}],["field",471,{"base-type":"type/Float"}],["field",461,{"base-type":"type/Text"}],["field",442,{"base-type":"type/Text"}],["field",450,{"base-type":"type/Text"}],["field",438,{"base-type":"type/*"}],["field",427,{"base-type":"type/Float"}],["field",449,{"base-type":"type/Float"}],["field",437,{"base-type":"type/Float"}],["field",467,{"base-type":"type/Float"}],["field",439,{"base-type":"type/Float"}],["field",454,{"base-type":"type/Boolean"}],["field",475,{"base-type":"type/Float"}],["field",424,{"base-type":"type/Boolean"}],["field",425,{"base-type":"type/Float"}],["field",465,{"base-type":"type/Float"}],["field",440,{"base-type":"type/*"}],["field",456,{"base-type":"type/*"}],["field",448,{"base-type":"type/Float"}],["field",481,{"base-type":"type/Float"}],["field",436,{"base-type":"type/Text"}],["field",445,{"base-type":"type/Text"}],["field",429,{"base-type":"type/Boolean"}],["field",432,{"base-type":"type/*"}],["field",458,{"base-type":"type/Float"}],["field",420,{"base-type":"type/Float"}],["field",433,{"base-type":"type/*"}],["field",443,{"base-type":"type/*"}],["field",476,{"base-type":"type/Float"}],["field",457,{"base-type":"type/Float"}],["field",426,{"base-type":"type/Float"}],["field",452,{"base-type":"type/Dictionary"}],["field",485,{"base-type":"type/Text"}],["field",496,{"base-type":"type/Boolean"}],["field",487,{"base-type":"type/Float"}],["field",491,{"base-type":"type/Boolean"}],["field",490,{"base-type":"type/Boolean"}],["field",489,{"base-type":"type/Text"}],["field",494,{"base-type":"type/*"}],["field",495,{"base-type":"type/Instant"}],["field",493,{"base-type":"type/Text"}],["field",497,{"base-type":"type/Boolean"}],["field",492,{"base-type":"type/Boolean"}],["field",488,{"base-type":"type/Boolean"}],["field",486,{"base-type":"type/Boolean"}],["field",469,{"base-type":"type/Text"}],["field",466,{"base-type":"type/Text"}],["field",455,{"base-type":"type/Boolean"}],["field",435,{"base-type":"type/Float"}],["field",470,{"base-type":"type/Text"}],["field",464,{"base-type":"type/Instant"}],["field",421,{"base-type":"type/Boolean"}],["field",446,{"base-type":"type/Text"}],["field",472,{"base-type":"type/Text"}],["field",463,{"base-type":"type/Text"}],["field",447,{"base-type":"type/Float"}],["field",460,{"base-type":"type/Float"}],["field",473,{"base-type":"type/Float"}],["field",482,{"base-type":"type/Text"}],["field",434,{"base-type":"type/*"}],["field",419,{"base-type":"type/*"}],["field",479,{"base-type":"type/*"}],["field",428,{"base-type":"type/Array"}],["field",431,{"base-type":"type/*"}],["field",453,{"base-type":"type/*"}],["field",468,{"base-type":"type/Text"}],["field",483,{"base-type":"type/*"}]],"filter":["and",["contains",["field",470,{"base-type":"type/Text"}],"KAW2",{"case-sensitive":false}],["=",["field",463,{"base-type":"type/Text"}],"MW"]]},"middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\\x4d806e01b2cc71168ae6893a749f4d811258e26de5b4c0814362c77105ba0feb 278 {"database":3,"type":"query","query":{"source-table":53,"fields":[["field",441,{"base-type":"type/Float"}],["field",480,{"base-type":"type/Boolean"}],["field",451,{"base-type":"type/Text"}],["field",459,{"base-type":"type/Boolean"}],["field",423,{"base-type":"type/Float"}],["field",474,{"base-type":"type/Text"}],["field",477,{"base-type":"type/Text"}],["field",462,{"base-type":"type/Text"}],["field",444,{"base-type":"type/Float"}],["field",430,{"base-type":"type/Boolean"}],["field",471,{"base-type":"type/Float"}],["field",461,{"base-type":"type/Text"}],["field",442,{"base-type":"type/Text"}],["field",450,{"base-type":"type/Text"}],["field",438,{"base-type":"type/*"}],["field",427,{"base-type":"type/Float"}],["field",449,{"base-type":"type/Float"}],["field",437,{"base-type":"type/Float"}],["field",467,{"base-type":"type/Float"}],["field",439,{"base-type":"type/Float"}],["field",454,{"base-type":"type/Boolean"}],["field",475,{"base-type":"type/Float"}],["field",424,{"base-type":"type/Boolean"}],["field",425,{"base-type":"type/Float"}],["field",465,{"base-type":"type/Float"}],["field",440,{"base-type":"type/*"}],["field",456,{"base-type":"type/*"}],["field",448,{"base-type":"type/Float"}],["field",481,{"base-type":"type/Float"}],["field",436,{"base-type":"type/Text"}],["field",445,{"base-type":"type/Text"}],["field",429,{"base-type":"type/Boolean"}],["field",432,{"base-type":"type/*"}],["field",458,{"base-type":"type/Float"}],["field",420,{"base-type":"type/Float"}],["field",433,{"base-type":"type/*"}],["field",443,{"base-type":"type/*"}],["field",476,{"base-type":"type/Float"}],["field",457,{"base-type":"type/Float"}],["field",426,{"base-type":"type/Float"}],["field",452,{"base-type":"type/Dictionary"}],["field",485,{"base-type":"type/Text"}],["field",496,{"base-type":"type/Boolean"}],["field",487,{"base-type":"type/Float"}],["field",491,{"base-type":"type/Boolean"}],["field",490,{"base-type":"type/Boolean"}],["field",489,{"base-type":"type/Text"}],["field",494,{"base-type":"type/*"}],["field",495,{"base-type":"type/Instant"}],["field",493,{"base-type":"type/Text"}],["field",497,{"base-type":"type/Boolean"}],["field",492,{"base-type":"type/Boolean"}],["field",488,{"base-type":"type/Boolean"}],["field",486,{"base-type":"type/Boolean"}],["field",469,{"base-type":"type/Text"}],["field",466,{"base-type":"type/Text"}],["field",455,{"base-type":"type/Boolean"}],["field",435,{"base-type":"type/Float"}],["field",470,{"base-type":"type/Text"}],["field",464,{"base-type":"type/Instant"}],["field",421,{"base-type":"type/Boolean"}],["field",446,{"base-type":"type/Text"}],["field",472,{"base-type":"type/Text"}],["field",463,{"base-type":"type/Text"}],["field",447,{"base-type":"type/Float"}],["field",460,{"base-type":"type/Float"}],["field",473,{"base-type":"type/Float"}],["field",482,{"base-type":"type/Text"}],["field",434,{"base-type":"type/*"}],["field",419,{"base-type":"type/*"}],["field",479,{"base-type":"type/*"}],["field",428,{"base-type":"type/Array"}],["field",431,{"base-type":"type/*"}],["field",453,{"base-type":"type/*"}],["field",468,{"base-type":"type/Text"}],["field",483,{"base-type":"type/*"}]],"filter":["and",["contains",["field",470,{"base-type":"type/Text"}],"KAW2",{"case-sensitive":false}],["=",["field",463,{"base-type":"type/Text"}],"MW"]]},"middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\\x0bfe2218becbd65cb43e1735b431d274d135a8312d20c1757337d6445c411d42 26 {"database":3,"query":{"source-table":52},"type":"query","middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\\x70373464713a90b87617d6ea9ff9f5f3d98bfe6548952bda7f560ee511fbe31e 148 {"database":2,"query":{"source-table":11},"type":"query","middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\\x1875f33165798c324bcdfea881dde3a00f2dd5f8b2abfc06056a763d9fe1e09f 55 {"database":2,"query":{"source-table":29},"type":"query","middleware":{"js-int-to-string?":true,"add-default-userland-constraints?":true}} +\. + + +-- +-- Data for Name: query_action; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.query_action (action_id, database_id, dataset_query) FROM stdin; +\. + + +-- +-- Data for Name: query_cache; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.query_cache (query_hash, updated_at, results) FROM stdin; +\. + + +-- +-- Data for Name: query_execution; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.query_execution (id, hash, started_at, running_time, result_rows, native, context, error, executor_id, card_id, dashboard_id, pulse_id, database_id, cache_hit, action_id, is_sandboxed, cache_hash) FROM stdin; +1 \\x99a7fada5b51c92fb1d9de9d4c98a3672710d11112b7e56cc3742c2889f2d550 2024-05-15 23:36:57.479514+00 3888 2000 f ad-hoc \N 1 \N \N \N 3 f \N f \N +2 \\xf8608a0e2d97d231593b33363ce88360a1a71dba740a3dca73ac44b3c6871549 2024-05-15 23:38:21.517105+00 467 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +3 \\x12c8ffc97a071ce334b36c27ab1f36586886e670af05ddd5b92c0a27c9dfefa0 2024-05-15 23:40:46.80917+00 833 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +4 \\xf8608a0e2d97d231593b33363ce88360a1a71dba740a3dca73ac44b3c6871549 2024-05-15 23:40:51.171651+00 407 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +5 \\x12c8ffc97a071ce334b36c27ab1f36586886e670af05ddd5b92c0a27c9dfefa0 2024-05-15 23:40:52.317597+00 842 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +6 \\x1163ffd3b7f0743fac0578ff7571b1e72209a16606a66940b05a9304c5c35e60 2024-05-15 23:40:57.502486+00 561 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +7 \\xf8608a0e2d97d231593b33363ce88360a1a71dba740a3dca73ac44b3c6871549 2024-05-15 23:41:02.179359+00 663 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +8 \\xc98a8837d004ffbe9b189a9e9a5d498ef74991f3fdb34709ff562e82b656e30d 2024-05-15 23:41:18.645995+00 421 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +9 \\xe4d6ec86045bdbdc40ee79c886fb410a85ee2ff64fcd52e962d196563f4bd80c 2024-05-15 23:41:22.434684+00 649 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +10 \\xf034e4dfc044eac86083fc88c38bcf799a79daa7f7d9c082c6b2c2653be6103c 2024-05-15 23:41:31.419464+00 269 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +11 \\x1b8ad653a132c20e38b9e3baaad014c733be7519d21c2ac56592271b44909bf2 2024-05-15 23:41:34.770193+00 609 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +12 \\xf034e4dfc044eac86083fc88c38bcf799a79daa7f7d9c082c6b2c2653be6103c 2024-05-15 23:41:35.657045+00 1197 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +13 \\xf8608a0e2d97d231593b33363ce88360a1a71dba740a3dca73ac44b3c6871549 2024-05-15 23:41:48.125695+00 271 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +14 \\xba1174e549ace1818c884d2d92124d90ea5f38c34885c36b0a4d0ed579f6e542 2024-05-15 23:42:21.755956+00 294 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +15 \\x129421befa972ab2cd56807c6de93454c890530476a24faf245cd67e24c0ad14 2024-05-15 23:42:25.489286+00 846 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +16 \\x4d806e01b2cc71168ae6893a749f4d811258e26de5b4c0814362c77105ba0feb 2024-05-15 23:42:38.595158+00 278 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +17 \\xf8608a0e2d97d231593b33363ce88360a1a71dba740a3dca73ac44b3c6871549 2024-05-15 23:43:02.648049+00 281 26 f ad-hoc \N 1 \N \N \N 3 f \N f \N +18 \\x0bfe2218becbd65cb43e1735b431d274d135a8312d20c1757337d6445c411d42 2024-05-15 23:43:43.537615+00 26 0 f ad-hoc No fields found for table "commandsQueue". 1 \N \N \N 3 \N \N \N \N +19 \\x70373464713a90b87617d6ea9ff9f5f3d98bfe6548952bda7f560ee511fbe31e 2024-05-15 23:44:47.901415+00 150 0 f ad-hoc \N 1 \N \N \N 2 f \N f \N +20 \\x70373464713a90b87617d6ea9ff9f5f3d98bfe6548952bda7f560ee511fbe31e 2024-05-15 23:45:02.983417+00 131 0 f ad-hoc \N 1 \N \N \N 2 f \N f \N +21 \\x1875f33165798c324bcdfea881dde3a00f2dd5f8b2abfc06056a763d9fe1e09f 2024-05-15 23:45:33.447579+00 55 0 f ad-hoc \N 1 \N \N \N 2 f \N f \N +\. + + +-- +-- Data for Name: recent_views; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.recent_views (id, user_id, model, model_id, "timestamp") FROM stdin; +1 1 table 53 2024-05-15 23:36:57.416544+00 +2 1 table 53 2024-05-15 23:38:21.476891+00 +3 1 table 53 2024-05-15 23:40:46.797783+00 +4 1 table 53 2024-05-15 23:40:51.145555+00 +5 1 table 53 2024-05-15 23:40:52.293749+00 +6 1 table 53 2024-05-15 23:40:57.422367+00 +7 1 table 53 2024-05-15 23:41:02.148294+00 +8 1 table 53 2024-05-15 23:41:18.609435+00 +9 1 table 53 2024-05-15 23:41:22.380482+00 +10 1 table 53 2024-05-15 23:41:31.375987+00 +11 1 table 53 2024-05-15 23:41:34.752314+00 +12 1 table 53 2024-05-15 23:41:35.625664+00 +13 1 table 53 2024-05-15 23:41:48.110135+00 +14 1 table 53 2024-05-15 23:42:21.745178+00 +15 1 table 53 2024-05-15 23:42:25.380654+00 +16 1 table 53 2024-05-15 23:42:38.562315+00 +17 1 table 53 2024-05-15 23:43:02.640938+00 +18 1 table 52 2024-05-15 23:43:43.517739+00 +19 1 table 11 2024-05-15 23:44:47.869515+00 +20 1 table 11 2024-05-15 23:45:02.955158+00 +21 1 table 29 2024-05-15 23:45:33.436444+00 +\. + + +-- +-- Data for Name: report_card; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.report_card (id, created_at, updated_at, name, description, display, dataset_query, visualization_settings, creator_id, database_id, table_id, query_type, archived, collection_id, public_uuid, made_public_by_id, enable_embedding, embedding_params, cache_ttl, result_metadata, collection_position, dataset, entity_id, parameters, parameter_mappings, collection_preview, metabase_version, type, initially_published_at) FROM stdin; +\. + + +-- +-- Data for Name: report_cardfavorite; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.report_cardfavorite (id, created_at, updated_at, card_id, owner_id) FROM stdin; +\. + + +-- +-- Data for Name: report_dashboard; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.report_dashboard (id, created_at, updated_at, name, description, creator_id, parameters, points_of_interest, caveats, show_in_getting_started, public_uuid, made_public_by_id, enable_embedding, embedding_params, archived, "position", collection_id, collection_position, cache_ttl, entity_id, auto_apply_filters, width, initially_published_at) FROM stdin; +\. + + +-- +-- Data for Name: report_dashboardcard; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.report_dashboardcard (id, created_at, updated_at, size_x, size_y, "row", col, card_id, dashboard_id, parameter_mappings, visualization_settings, entity_id, action_id, dashboard_tab_id) FROM stdin; +\. + + +-- +-- Data for Name: revision; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.revision (id, model, model_id, user_id, "timestamp", object, is_reversion, is_creation, message, most_recent, metabase_version) FROM stdin; +\. + + +-- +-- Data for Name: sandboxes; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.sandboxes (id, group_id, table_id, card_id, attribute_remappings, permission_id) FROM stdin; +\. + + +-- +-- Data for Name: secret; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.secret (id, version, creator_id, created_at, updated_at, name, kind, source, value) FROM stdin; +\. + + +-- +-- Data for Name: segment; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.segment (id, table_id, creator_id, name, description, archived, definition, created_at, updated_at, points_of_interest, caveats, show_in_getting_started, entity_id) FROM stdin; +\. + + +-- +-- Data for Name: setting; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.setting (key, value) FROM stdin; +setup-token 7d85338e-7ee6-46f8-ac57-e9a2dfb06b23 +startup-time-millis 47907 +redirect-all-requests-to-https false +site-url http://127.0.0.1:3001 +analytics-uuid a3fc561d-8d2d-4df4-a96d-345670c0082d +instance-creation 2024-05-15T20:28:01.299308-03:00 +site-name json@scada.com +admin-email json@scada.com +site-locale en +anon-tracking-enabled false +site-uuid c286b688-f72a-4d38-8dfa-f23727380d2d +check-for-updates false +settings-last-updated 2024-05-15 20:34:23.061892-03 +\. + + +-- +-- Data for Name: table_privileges; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.table_privileges (table_id, role, "select", update, insert, delete) FROM stdin; +40 \N t t t t +19 \N t t t t +29 \N t t t t +45 \N t t t t +17 \N t t t t +12 \N t t t t +18 \N t t t t +48 \N t t t t +20 \N t t t t +35 \N t t t t +28 \N t t t t +10 \N t t t t +16 \N t t t t +15 \N t t t t +25 \N t t t t +30 \N t t t t +44 \N t t t t +27 \N t t t t +21 \N t t t t +37 \N t t t t +41 \N t t t t +43 \N t t t t +13 \N t t t t +22 \N t t t t +42 \N t t t t +23 \N t t t t +32 \N t t t t +14 \N t t t t +11 \N t t t t +39 \N t t t t +31 \N t t t t +36 \N t t t t +9 \N t t t t +26 \N t t t t +24 \N t t t t +47 \N t t t t +33 \N t t t t +34 \N t t t t +46 \N t t t t +38 \N t t t t +\. + + +-- +-- Data for Name: task_history; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.task_history (id, task, db_id, started_at, ended_at, duration, task_details) FROM stdin; +1 sync 1 2024-05-15 23:19:50.061501+00 2024-05-15 23:19:54.527725+00 4466 \N +2 sync-dbms-version 1 2024-05-15 23:19:50.061501+00 2024-05-15 23:19:50.229732+00 168 {"flavor":"H2","version":"2.1.214 (2022-06-13)","semantic-version":[2,1]} +3 sync-timezone 1 2024-05-15 23:19:50.229732+00 2024-05-15 23:19:50.377491+00 147 {"timezone-id":"America/Sao_Paulo"} +4 sync-tables 1 2024-05-15 23:19:50.377491+00 2024-05-15 23:19:51.15013+00 772 {"updated-tables":8,"total-tables":0} +5 sync-fields 1 2024-05-15 23:19:51.15013+00 2024-05-15 23:19:52.096961+00 946 {"total-fields":71,"updated-fields":71} +6 sync-fks 1 2024-05-15 23:19:52.096961+00 2024-05-15 23:19:52.240003+00 143 {"total-fks":6,"updated-fks":6,"total-failed":0} +7 sync-indexes 1 2024-05-15 23:19:52.240003+00 2024-05-15 23:19:53.03199+00 791 {"total-indexes":14,"added-indexes":14,"removed-indexes":0} +8 sync-metabase-metadata 1 2024-05-15 23:19:53.03199+00 2024-05-15 23:19:54.526622+00 1494 \N +9 sync-table-privileges 1 2024-05-15 23:19:54.526622+00 2024-05-15 23:19:54.527725+00 1 \N +10 analyze 1 2024-05-15 23:19:54.697952+00 2024-05-15 23:20:04.818633+00 10120 \N +11 fingerprint-fields 1 2024-05-15 23:19:54.697952+00 2024-05-15 23:20:03.667379+00 8969 {"no-data-fingerprints":0,"failed-fingerprints":0,"updated-fingerprints":63,"fingerprints-attempted":63} +12 classify-fields 1 2024-05-15 23:20:03.668634+00 2024-05-15 23:20:04.284523+00 615 {"fields-classified":63,"fields-failed":0} +13 classify-tables 1 2024-05-15 23:20:04.284523+00 2024-05-15 23:20:04.818633+00 534 {"total-tables":8,"tables-classified":8} +14 field values scanning 1 2024-05-15 23:20:04.996074+00 2024-05-15 23:20:09.269895+00 4273 \N +15 delete-expired-advanced-field-values 1 2024-05-15 23:20:04.996074+00 2024-05-15 23:20:05.770808+00 774 {"deleted":0} +16 update-field-values 1 2024-05-15 23:20:05.770808+00 2024-05-15 23:20:09.269895+00 3499 {"errors":0,"created":24,"updated":0,"deleted":1} +17 sync 2 2024-05-15 23:30:00.460441+00 2024-05-15 23:30:11.727516+00 11267 \N +18 sync-dbms-version 2 2024-05-15 23:30:00.460441+00 2024-05-15 23:30:00.614279+00 153 {"flavor":"PostgreSQL","version":"14.1","semantic-version":[14,1]} +19 sync-timezone 2 2024-05-15 23:30:00.614279+00 2024-05-15 23:30:00.684192+00 69 {"timezone-id":"America/Sao_Paulo"} +20 sync-tables 2 2024-05-15 23:30:00.684192+00 2024-05-15 23:30:01.420125+00 735 {"updated-tables":40,"total-tables":0} +21 sync-fields 2 2024-05-15 23:30:01.420125+00 2024-05-15 23:30:07.886292+00 6466 {"total-fields":272,"updated-fields":272} +22 sync-fks 2 2024-05-15 23:30:07.88721+00 2024-05-15 23:30:09.99408+00 2106 {"total-fks":25,"updated-fks":25,"total-failed":0} +23 sync-indexes 2 2024-05-15 23:30:09.99408+00 2024-05-15 23:30:11.675716+00 1681 {"total-indexes":41,"added-indexes":41,"removed-indexes":0} +24 sync-metabase-metadata 2 2024-05-15 23:30:11.675716+00 2024-05-15 23:30:11.675716+00 0 \N +25 sync-table-privileges 2 2024-05-15 23:30:11.675716+00 2024-05-15 23:30:11.727516+00 51 {"total-table-privileges":40} +26 analyze 2 2024-05-15 23:30:11.947851+00 2024-05-15 23:30:20.268239+00 8320 \N +27 fingerprint-fields 2 2024-05-15 23:30:11.947851+00 2024-05-15 23:30:18.287782+00 6339 {"no-data-fingerprints":155,"failed-fingerprints":0,"updated-fingerprints":98,"fingerprints-attempted":253} +28 classify-fields 2 2024-05-15 23:30:18.287782+00 2024-05-15 23:30:19.733994+00 1446 {"fields-classified":98,"fields-failed":0} +29 classify-tables 2 2024-05-15 23:30:19.733994+00 2024-05-15 23:30:20.268239+00 534 {"total-tables":37,"tables-classified":37} +30 field values scanning 2 2024-05-15 23:30:20.410669+00 2024-05-15 23:30:29.137623+00 8726 \N +31 delete-expired-advanced-field-values 2 2024-05-15 23:30:20.410669+00 2024-05-15 23:30:22.965663+00 2554 {"deleted":0} +32 update-field-values 2 2024-05-15 23:30:22.965663+00 2024-05-15 23:30:29.137623+00 6171 {"errors":0,"created":86,"updated":0,"deleted":0} +33 sync 3 2024-05-15 23:33:25.49278+00 2024-05-15 23:33:28.317873+00 2825 \N +34 sync-dbms-version 3 2024-05-15 23:33:25.49278+00 2024-05-15 23:33:25.702672+00 209 {"version":"7.0.9","semantic-version":[7,0,9,0]} +35 sync-timezone 3 2024-05-15 23:33:25.702672+00 2024-05-15 23:33:25.704085+00 1 {"timezone-id":null} +36 sync-tables 3 2024-05-15 23:33:25.704085+00 2024-05-15 23:33:26.040137+00 336 {"updated-tables":9,"total-tables":0} +37 sync-fields 3 2024-05-15 23:33:26.042971+00 2024-05-15 23:33:27.960432+00 1917 {"total-fields":167,"updated-fields":183} +38 sync-fks 3 2024-05-15 23:33:27.961955+00 2024-05-15 23:33:27.989937+00 27 {"total-fks":0,"updated-fks":0,"total-failed":0} +39 sync-indexes 3 2024-05-15 23:33:27.989937+00 2024-05-15 23:33:28.312108+00 322 {"total-indexes":15,"added-indexes":15,"removed-indexes":0} +40 sync-metabase-metadata 3 2024-05-15 23:33:28.312989+00 2024-05-15 23:33:28.31691+00 3 \N +41 sync-table-privileges 3 2024-05-15 23:33:28.31691+00 2024-05-15 23:33:28.317873+00 0 \N +42 analyze 3 2024-05-15 23:33:28.770955+00 2024-05-15 23:33:34.947761+00 6176 \N +43 fingerprint-fields 3 2024-05-15 23:33:28.770955+00 2024-05-15 23:33:32.532541+00 3761 {"no-data-fingerprints":0,"failed-fingerprints":3,"updated-fingerprints":171,"fingerprints-attempted":174} +44 classify-fields 3 2024-05-15 23:33:32.532541+00 2024-05-15 23:33:34.532696+00 2000 {"fields-classified":171,"fields-failed":0} +45 classify-tables 3 2024-05-15 23:33:34.532696+00 2024-05-15 23:33:34.94558+00 412 {"total-tables":9,"tables-classified":9} +46 field values scanning 3 2024-05-15 23:33:35.123308+00 2024-05-15 23:33:46.969543+00 11846 \N +47 delete-expired-advanced-field-values 3 2024-05-15 23:33:35.123308+00 2024-05-15 23:33:37.075141+00 1951 {"deleted":0} +48 update-field-values 3 2024-05-15 23:33:37.075141+00 2024-05-15 23:33:46.969543+00 9894 {"errors":0,"created":109,"updated":0,"deleted":4} +\. + + +-- +-- Data for Name: timeline; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.timeline (id, name, description, icon, collection_id, archived, creator_id, created_at, updated_at, "default", entity_id) FROM stdin; +\. + + +-- +-- Data for Name: timeline_event; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.timeline_event (id, timeline_id, name, description, "timestamp", time_matters, timezone, icon, archived, creator_id, created_at, updated_at) FROM stdin; +\. + + +-- +-- Data for Name: view_log; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public.view_log (id, user_id, model, model_id, "timestamp", metadata, has_access, context) FROM stdin; +1 1 table 53 2024-05-15 23:36:57.397878+00 \N t \N +2 1 table 53 2024-05-15 23:38:21.456441+00 \N t \N +3 1 table 53 2024-05-15 23:40:46.785526+00 \N t \N +4 1 table 53 2024-05-15 23:40:51.137075+00 \N t \N +5 1 table 53 2024-05-15 23:40:52.288551+00 \N t \N +6 1 table 53 2024-05-15 23:40:57.416279+00 \N t \N +7 1 table 53 2024-05-15 23:41:02.133333+00 \N t \N +8 1 table 53 2024-05-15 23:41:18.602959+00 \N t \N +9 1 table 53 2024-05-15 23:41:22.298868+00 \N t \N +10 1 table 53 2024-05-15 23:41:31.354688+00 \N t \N +11 1 table 53 2024-05-15 23:41:34.732187+00 \N t \N +12 1 table 53 2024-05-15 23:41:35.610882+00 \N t \N +13 1 table 53 2024-05-15 23:41:48.103999+00 \N t \N +14 1 table 53 2024-05-15 23:42:21.739138+00 \N t \N +15 1 table 53 2024-05-15 23:42:25.377029+00 \N t \N +16 1 table 53 2024-05-15 23:42:38.54135+00 \N t \N +17 1 table 53 2024-05-15 23:43:02.636017+00 \N t \N +18 1 table 52 2024-05-15 23:43:43.505246+00 \N t \N +19 1 table 11 2024-05-15 23:44:47.848698+00 \N t \N +20 1 table 11 2024-05-15 23:45:02.935604+00 \N t \N +21 1 table 29 2024-05-15 23:45:33.418284+00 \N t \N +\. + + +-- +-- Name: action_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.action_id_seq', 1, false); + + +-- +-- Name: activity_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.activity_id_seq', 1, false); + + +-- +-- Name: api_key_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.api_key_id_seq', 1, false); + + +-- +-- Name: application_permissions_revision_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.application_permissions_revision_id_seq', 1, false); + + +-- +-- Name: audit_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.audit_log_id_seq', 1, false); + + +-- +-- Name: bookmark_ordering_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.bookmark_ordering_id_seq', 1, false); + + +-- +-- Name: card_bookmark_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.card_bookmark_id_seq', 1, false); + + +-- +-- Name: card_label_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.card_label_id_seq', 1, false); + + +-- +-- Name: collection_bookmark_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.collection_bookmark_id_seq', 1, false); + + +-- +-- Name: collection_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.collection_id_seq', 1, true); + + +-- +-- Name: collection_permission_graph_revision_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.collection_permission_graph_revision_id_seq', 1, false); + + +-- +-- Name: connection_impersonations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.connection_impersonations_id_seq', 1, false); + + +-- +-- Name: core_user_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.core_user_id_seq', 1, true); + + +-- +-- Name: dashboard_bookmark_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.dashboard_bookmark_id_seq', 1, false); + + +-- +-- Name: dashboard_favorite_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.dashboard_favorite_id_seq', 1, false); + + +-- +-- Name: dashboard_tab_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.dashboard_tab_id_seq', 1, false); + + +-- +-- Name: dashboardcard_series_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.dashboardcard_series_id_seq', 1, false); + + +-- +-- Name: dependency_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.dependency_id_seq', 1, false); + + +-- +-- Name: dimension_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.dimension_id_seq', 1, false); + + +-- +-- Name: group_table_access_policy_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.group_table_access_policy_id_seq', 1, false); + + +-- +-- Name: label_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.label_id_seq', 1, false); + + +-- +-- Name: login_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.login_history_id_seq', 1, false); + + +-- +-- Name: metabase_database_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.metabase_database_id_seq', 3, true); + + +-- +-- Name: metabase_field_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.metabase_field_id_seq', 526, true); + + +-- +-- Name: metabase_fieldvalues_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.metabase_fieldvalues_id_seq', 219, true); + + +-- +-- Name: metabase_table_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.metabase_table_id_seq', 57, true); + + +-- +-- Name: metric_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.metric_id_seq', 1, false); + + +-- +-- Name: metric_important_field_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.metric_important_field_id_seq', 1, false); + + +-- +-- Name: model_index_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.model_index_id_seq', 1, false); + + +-- +-- Name: moderation_review_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.moderation_review_id_seq', 1, false); + + +-- +-- Name: native_query_snippet_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.native_query_snippet_id_seq', 1, false); + + +-- +-- Name: parameter_card_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.parameter_card_id_seq', 1, false); + + +-- +-- Name: permissions_group_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.permissions_group_id_seq', 2, true); + + +-- +-- Name: permissions_group_membership_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.permissions_group_membership_id_seq', 2, true); + + +-- +-- Name: permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.permissions_id_seq', 19, true); + + +-- +-- Name: permissions_revision_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.permissions_revision_id_seq', 1, false); + + +-- +-- Name: persisted_info_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.persisted_info_id_seq', 1, false); + + +-- +-- Name: pulse_card_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.pulse_card_id_seq', 1, false); + + +-- +-- Name: pulse_channel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.pulse_channel_id_seq', 1, false); + + +-- +-- Name: pulse_channel_recipient_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.pulse_channel_recipient_id_seq', 1, false); + + +-- +-- Name: pulse_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.pulse_id_seq', 1, false); + + +-- +-- Name: query_execution_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.query_execution_id_seq', 21, true); + + +-- +-- Name: recent_views_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.recent_views_id_seq', 21, true); + + +-- +-- Name: report_card_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.report_card_id_seq', 1, false); + + +-- +-- Name: report_cardfavorite_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.report_cardfavorite_id_seq', 1, false); + + +-- +-- Name: report_dashboard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.report_dashboard_id_seq', 1, false); + + +-- +-- Name: report_dashboardcard_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.report_dashboardcard_id_seq', 1, false); + + +-- +-- Name: revision_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.revision_id_seq', 1, false); + + +-- +-- Name: secret_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.secret_id_seq', 1, false); + + +-- +-- Name: segment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.segment_id_seq', 1, false); + + +-- +-- Name: task_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.task_history_id_seq', 48, true); + + +-- +-- Name: timeline_event_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.timeline_event_id_seq', 1, false); + + +-- +-- Name: timeline_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.timeline_id_seq', 1, false); + + +-- +-- Name: view_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres +-- + +SELECT pg_catalog.setval('public.view_log_id_seq', 21, true); + + +-- +-- Name: action action_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.action + ADD CONSTRAINT action_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: action action_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.action + ADD CONSTRAINT action_pkey PRIMARY KEY (id); + + +-- +-- Name: action action_public_uuid_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.action + ADD CONSTRAINT action_public_uuid_key UNIQUE (public_uuid); + + +-- +-- Name: activity activity_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.activity + ADD CONSTRAINT activity_pkey PRIMARY KEY (id); + + +-- +-- Name: api_key api_key_key_prefix_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.api_key + ADD CONSTRAINT api_key_key_prefix_key UNIQUE (key_prefix); + + +-- +-- Name: api_key api_key_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.api_key + ADD CONSTRAINT api_key_name_key UNIQUE (name); + + +-- +-- Name: api_key api_key_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.api_key + ADD CONSTRAINT api_key_pkey PRIMARY KEY (id); + + +-- +-- Name: audit_log audit_log_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.audit_log + ADD CONSTRAINT audit_log_pkey PRIMARY KEY (id); + + +-- +-- Name: bookmark_ordering bookmark_ordering_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.bookmark_ordering + ADD CONSTRAINT bookmark_ordering_pkey PRIMARY KEY (id); + + +-- +-- Name: card_bookmark card_bookmark_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.card_bookmark + ADD CONSTRAINT card_bookmark_pkey PRIMARY KEY (id); + + +-- +-- Name: card_label card_label_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.card_label + ADD CONSTRAINT card_label_pkey PRIMARY KEY (id); + + +-- +-- Name: collection_bookmark collection_bookmark_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.collection_bookmark + ADD CONSTRAINT collection_bookmark_pkey PRIMARY KEY (id); + + +-- +-- Name: collection collection_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.collection + ADD CONSTRAINT collection_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: collection collection_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.collection + ADD CONSTRAINT collection_pkey PRIMARY KEY (id); + + +-- +-- Name: collection_permission_graph_revision collection_revision_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.collection_permission_graph_revision + ADD CONSTRAINT collection_revision_pkey PRIMARY KEY (id); + + +-- +-- Name: connection_impersonations conn_impersonation_unique_group_id_db_id; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.connection_impersonations + ADD CONSTRAINT conn_impersonation_unique_group_id_db_id UNIQUE (group_id, db_id); + + +-- +-- Name: connection_impersonations connection_impersonations_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.connection_impersonations + ADD CONSTRAINT connection_impersonations_pkey PRIMARY KEY (id); + + +-- +-- Name: core_session core_session_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.core_session + ADD CONSTRAINT core_session_pkey PRIMARY KEY (id); + + +-- +-- Name: core_user core_user_email_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.core_user + ADD CONSTRAINT core_user_email_key UNIQUE (email); + + +-- +-- Name: core_user core_user_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.core_user + ADD CONSTRAINT core_user_pkey PRIMARY KEY (id); + + +-- +-- Name: dashboard_bookmark dashboard_bookmark_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_bookmark + ADD CONSTRAINT dashboard_bookmark_pkey PRIMARY KEY (id); + + +-- +-- Name: dashboard_favorite dashboard_favorite_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_favorite + ADD CONSTRAINT dashboard_favorite_pkey PRIMARY KEY (id); + + +-- +-- Name: dashboard_tab dashboard_tab_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_tab + ADD CONSTRAINT dashboard_tab_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: dashboard_tab dashboard_tab_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_tab + ADD CONSTRAINT dashboard_tab_pkey PRIMARY KEY (id); + + +-- +-- Name: dashboardcard_series dashboardcard_series_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboardcard_series + ADD CONSTRAINT dashboardcard_series_pkey PRIMARY KEY (id); + + +-- +-- Name: databasechangeloglock databasechangeloglock_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.databasechangeloglock + ADD CONSTRAINT databasechangeloglock_pkey PRIMARY KEY (id); + + +-- +-- Name: dependency dependency_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dependency + ADD CONSTRAINT dependency_pkey PRIMARY KEY (id); + + +-- +-- Name: dimension dimension_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dimension + ADD CONSTRAINT dimension_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: dimension dimension_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dimension + ADD CONSTRAINT dimension_pkey PRIMARY KEY (id); + + +-- +-- Name: application_permissions_revision general_permissions_revision_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.application_permissions_revision + ADD CONSTRAINT general_permissions_revision_pkey PRIMARY KEY (id); + + +-- +-- Name: sandboxes group_table_access_policy_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.sandboxes + ADD CONSTRAINT group_table_access_policy_pkey PRIMARY KEY (id); + + +-- +-- Name: databasechangelog idx_databasechangelog_id_author_filename; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.databasechangelog + ADD CONSTRAINT idx_databasechangelog_id_author_filename UNIQUE (id, author, filename); + + +-- +-- Name: metabase_field idx_uniq_field_table_id_parent_id_name; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metabase_field + ADD CONSTRAINT idx_uniq_field_table_id_parent_id_name UNIQUE (table_id, parent_id, name); + + +-- +-- Name: metabase_table idx_uniq_table_db_id_schema_name; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metabase_table + ADD CONSTRAINT idx_uniq_table_db_id_schema_name UNIQUE (db_id, schema, name); + + +-- +-- Name: report_cardfavorite idx_unique_cardfavorite_card_id_owner_id; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_cardfavorite + ADD CONSTRAINT idx_unique_cardfavorite_card_id_owner_id UNIQUE (card_id, owner_id); + + +-- +-- Name: label label_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.label + ADD CONSTRAINT label_pkey PRIMARY KEY (id); + + +-- +-- Name: label label_slug_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.label + ADD CONSTRAINT label_slug_key UNIQUE (slug); + + +-- +-- Name: login_history login_history_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.login_history + ADD CONSTRAINT login_history_pkey PRIMARY KEY (id); + + +-- +-- Name: metabase_database metabase_database_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metabase_database + ADD CONSTRAINT metabase_database_pkey PRIMARY KEY (id); + + +-- +-- Name: metabase_field metabase_field_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metabase_field + ADD CONSTRAINT metabase_field_pkey PRIMARY KEY (id); + + +-- +-- Name: metabase_fieldvalues metabase_fieldvalues_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metabase_fieldvalues + ADD CONSTRAINT metabase_fieldvalues_pkey PRIMARY KEY (id); + + +-- +-- Name: metabase_table metabase_table_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metabase_table + ADD CONSTRAINT metabase_table_pkey PRIMARY KEY (id); + + +-- +-- Name: metric metric_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metric + ADD CONSTRAINT metric_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: metric_important_field metric_important_field_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metric_important_field + ADD CONSTRAINT metric_important_field_pkey PRIMARY KEY (id); + + +-- +-- Name: metric metric_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metric + ADD CONSTRAINT metric_pkey PRIMARY KEY (id); + + +-- +-- Name: model_index model_index_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.model_index + ADD CONSTRAINT model_index_pkey PRIMARY KEY (id); + + +-- +-- Name: moderation_review moderation_review_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.moderation_review + ADD CONSTRAINT moderation_review_pkey PRIMARY KEY (id); + + +-- +-- Name: native_query_snippet native_query_snippet_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.native_query_snippet + ADD CONSTRAINT native_query_snippet_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: native_query_snippet native_query_snippet_name_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.native_query_snippet + ADD CONSTRAINT native_query_snippet_name_key UNIQUE (name); + + +-- +-- Name: native_query_snippet native_query_snippet_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.native_query_snippet + ADD CONSTRAINT native_query_snippet_pkey PRIMARY KEY (id); + + +-- +-- Name: parameter_card parameter_card_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.parameter_card + ADD CONSTRAINT parameter_card_pkey PRIMARY KEY (id); + + +-- +-- Name: permissions permissions_group_id_object_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.permissions + ADD CONSTRAINT permissions_group_id_object_key UNIQUE (group_id, object); + + +-- +-- Name: permissions_group_membership permissions_group_membership_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.permissions_group_membership + ADD CONSTRAINT permissions_group_membership_pkey PRIMARY KEY (id); + + +-- +-- Name: permissions_group permissions_group_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.permissions_group + ADD CONSTRAINT permissions_group_pkey PRIMARY KEY (id); + + +-- +-- Name: permissions permissions_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.permissions + ADD CONSTRAINT permissions_pkey PRIMARY KEY (id); + + +-- +-- Name: permissions_revision permissions_revision_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.permissions_revision + ADD CONSTRAINT permissions_revision_pkey PRIMARY KEY (id); + + +-- +-- Name: persisted_info persisted_info_card_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.persisted_info + ADD CONSTRAINT persisted_info_card_id_key UNIQUE (card_id); + + +-- +-- Name: persisted_info persisted_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.persisted_info + ADD CONSTRAINT persisted_info_pkey PRIMARY KEY (id); + + +-- +-- Name: http_action pk_http_action; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.http_action + ADD CONSTRAINT pk_http_action PRIMARY KEY (action_id); + + +-- +-- Name: implicit_action pk_implicit_action; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.implicit_action + ADD CONSTRAINT pk_implicit_action PRIMARY KEY (action_id); + + +-- +-- Name: qrtz_blob_triggers pk_qrtz_blob_triggers; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_blob_triggers + ADD CONSTRAINT pk_qrtz_blob_triggers PRIMARY KEY (sched_name, trigger_name, trigger_group); + + +-- +-- Name: qrtz_calendars pk_qrtz_calendars; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_calendars + ADD CONSTRAINT pk_qrtz_calendars PRIMARY KEY (sched_name, calendar_name); + + +-- +-- Name: qrtz_cron_triggers pk_qrtz_cron_triggers; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_cron_triggers + ADD CONSTRAINT pk_qrtz_cron_triggers PRIMARY KEY (sched_name, trigger_name, trigger_group); + + +-- +-- Name: qrtz_fired_triggers pk_qrtz_fired_triggers; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_fired_triggers + ADD CONSTRAINT pk_qrtz_fired_triggers PRIMARY KEY (sched_name, entry_id); + + +-- +-- Name: qrtz_job_details pk_qrtz_job_details; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_job_details + ADD CONSTRAINT pk_qrtz_job_details PRIMARY KEY (sched_name, job_name, job_group); + + +-- +-- Name: qrtz_locks pk_qrtz_locks; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_locks + ADD CONSTRAINT pk_qrtz_locks PRIMARY KEY (sched_name, lock_name); + + +-- +-- Name: qrtz_scheduler_state pk_qrtz_scheduler_state; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_scheduler_state + ADD CONSTRAINT pk_qrtz_scheduler_state PRIMARY KEY (sched_name, instance_name); + + +-- +-- Name: qrtz_simple_triggers pk_qrtz_simple_triggers; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_simple_triggers + ADD CONSTRAINT pk_qrtz_simple_triggers PRIMARY KEY (sched_name, trigger_name, trigger_group); + + +-- +-- Name: qrtz_simprop_triggers pk_qrtz_simprop_triggers; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_simprop_triggers + ADD CONSTRAINT pk_qrtz_simprop_triggers PRIMARY KEY (sched_name, trigger_name, trigger_group); + + +-- +-- Name: qrtz_triggers pk_qrtz_triggers; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_triggers + ADD CONSTRAINT pk_qrtz_triggers PRIMARY KEY (sched_name, trigger_name, trigger_group); + + +-- +-- Name: query_action pk_query_action; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.query_action + ADD CONSTRAINT pk_query_action PRIMARY KEY (action_id); + + +-- +-- Name: qrtz_paused_trigger_grps pk_sched_name; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_paused_trigger_grps + ADD CONSTRAINT pk_sched_name PRIMARY KEY (sched_name, trigger_group); + + +-- +-- Name: pulse_card pulse_card_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse_card + ADD CONSTRAINT pulse_card_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: pulse_card pulse_card_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse_card + ADD CONSTRAINT pulse_card_pkey PRIMARY KEY (id); + + +-- +-- Name: pulse_channel pulse_channel_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse_channel + ADD CONSTRAINT pulse_channel_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: pulse_channel pulse_channel_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse_channel + ADD CONSTRAINT pulse_channel_pkey PRIMARY KEY (id); + + +-- +-- Name: pulse_channel_recipient pulse_channel_recipient_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse_channel_recipient + ADD CONSTRAINT pulse_channel_recipient_pkey PRIMARY KEY (id); + + +-- +-- Name: pulse pulse_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse + ADD CONSTRAINT pulse_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: pulse pulse_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse + ADD CONSTRAINT pulse_pkey PRIMARY KEY (id); + + +-- +-- Name: query_cache query_cache_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.query_cache + ADD CONSTRAINT query_cache_pkey PRIMARY KEY (query_hash); + + +-- +-- Name: query_execution query_execution_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.query_execution + ADD CONSTRAINT query_execution_pkey PRIMARY KEY (id); + + +-- +-- Name: query query_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.query + ADD CONSTRAINT query_pkey PRIMARY KEY (query_hash); + + +-- +-- Name: recent_views recent_views_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.recent_views + ADD CONSTRAINT recent_views_pkey PRIMARY KEY (id); + + +-- +-- Name: report_card report_card_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_card + ADD CONSTRAINT report_card_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: report_card report_card_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_card + ADD CONSTRAINT report_card_pkey PRIMARY KEY (id); + + +-- +-- Name: report_card report_card_public_uuid_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_card + ADD CONSTRAINT report_card_public_uuid_key UNIQUE (public_uuid); + + +-- +-- Name: report_cardfavorite report_cardfavorite_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_cardfavorite + ADD CONSTRAINT report_cardfavorite_pkey PRIMARY KEY (id); + + +-- +-- Name: report_dashboard report_dashboard_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_dashboard + ADD CONSTRAINT report_dashboard_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: report_dashboard report_dashboard_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_dashboard + ADD CONSTRAINT report_dashboard_pkey PRIMARY KEY (id); + + +-- +-- Name: report_dashboard report_dashboard_public_uuid_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_dashboard + ADD CONSTRAINT report_dashboard_public_uuid_key UNIQUE (public_uuid); + + +-- +-- Name: report_dashboardcard report_dashboardcard_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_dashboardcard + ADD CONSTRAINT report_dashboardcard_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: report_dashboardcard report_dashboardcard_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_dashboardcard + ADD CONSTRAINT report_dashboardcard_pkey PRIMARY KEY (id); + + +-- +-- Name: revision revision_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.revision + ADD CONSTRAINT revision_pkey PRIMARY KEY (id); + + +-- +-- Name: secret secret_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.secret + ADD CONSTRAINT secret_pkey PRIMARY KEY (id, version); + + +-- +-- Name: segment segment_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.segment + ADD CONSTRAINT segment_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: segment segment_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.segment + ADD CONSTRAINT segment_pkey PRIMARY KEY (id); + + +-- +-- Name: setting setting_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.setting + ADD CONSTRAINT setting_pkey PRIMARY KEY (key); + + +-- +-- Name: task_history task_history_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.task_history + ADD CONSTRAINT task_history_pkey PRIMARY KEY (id); + + +-- +-- Name: timeline timeline_entity_id_key; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.timeline + ADD CONSTRAINT timeline_entity_id_key UNIQUE (entity_id); + + +-- +-- Name: timeline_event timeline_event_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.timeline_event + ADD CONSTRAINT timeline_event_pkey PRIMARY KEY (id); + + +-- +-- Name: timeline timeline_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.timeline + ADD CONSTRAINT timeline_pkey PRIMARY KEY (id); + + +-- +-- Name: bookmark_ordering unique_bookmark_user_id_ordering; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.bookmark_ordering + ADD CONSTRAINT unique_bookmark_user_id_ordering UNIQUE (user_id, ordering); + + +-- +-- Name: bookmark_ordering unique_bookmark_user_id_type_item_id; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.bookmark_ordering + ADD CONSTRAINT unique_bookmark_user_id_type_item_id UNIQUE (user_id, type, item_id); + + +-- +-- Name: card_bookmark unique_card_bookmark_user_id_card_id; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.card_bookmark + ADD CONSTRAINT unique_card_bookmark_user_id_card_id UNIQUE (user_id, card_id); + + +-- +-- Name: card_label unique_card_label_card_id_label_id; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.card_label + ADD CONSTRAINT unique_card_label_card_id_label_id UNIQUE (card_id, label_id); + + +-- +-- Name: collection_bookmark unique_collection_bookmark_user_id_collection_id; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.collection_bookmark + ADD CONSTRAINT unique_collection_bookmark_user_id_collection_id UNIQUE (user_id, collection_id); + + +-- +-- Name: collection unique_collection_personal_owner_id; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.collection + ADD CONSTRAINT unique_collection_personal_owner_id UNIQUE (personal_owner_id); + + +-- +-- Name: dashboard_bookmark unique_dashboard_bookmark_user_id_dashboard_id; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_bookmark + ADD CONSTRAINT unique_dashboard_bookmark_user_id_dashboard_id UNIQUE (user_id, dashboard_id); + + +-- +-- Name: dashboard_favorite unique_dashboard_favorite_user_id_dashboard_id; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_favorite + ADD CONSTRAINT unique_dashboard_favorite_user_id_dashboard_id UNIQUE (user_id, dashboard_id); + + +-- +-- Name: dimension unique_dimension_field_id; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dimension + ADD CONSTRAINT unique_dimension_field_id UNIQUE (field_id); + + +-- +-- Name: sandboxes unique_gtap_table_id_group_id; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.sandboxes + ADD CONSTRAINT unique_gtap_table_id_group_id UNIQUE (table_id, group_id); + + +-- +-- Name: metric_important_field unique_metric_important_field_metric_id_field_id; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metric_important_field + ADD CONSTRAINT unique_metric_important_field_metric_id_field_id UNIQUE (metric_id, field_id); + + +-- +-- Name: model_index_value unique_model_index_value_model_index_id_model_pk; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.model_index_value + ADD CONSTRAINT unique_model_index_value_model_index_id_model_pk UNIQUE (model_index_id, model_pk); + + +-- +-- Name: parameter_card unique_parameterized_object_card_parameter; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.parameter_card + ADD CONSTRAINT unique_parameterized_object_card_parameter UNIQUE (parameterized_object_id, parameterized_object_type, parameter_id); + + +-- +-- Name: permissions_group_membership unique_permissions_group_membership_user_id_group_id; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.permissions_group_membership + ADD CONSTRAINT unique_permissions_group_membership_user_id_group_id UNIQUE (user_id, group_id); + + +-- +-- Name: permissions_group unique_permissions_group_name; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.permissions_group + ADD CONSTRAINT unique_permissions_group_name UNIQUE (name); + + +-- +-- Name: view_log view_log_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.view_log + ADD CONSTRAINT view_log_pkey PRIMARY KEY (id); + + +-- +-- Name: idx_action_creator_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_action_creator_id ON public.action USING btree (creator_id); + + +-- +-- Name: idx_action_made_public_by_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_action_made_public_by_id ON public.action USING btree (made_public_by_id); + + +-- +-- Name: idx_action_model_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_action_model_id ON public.action USING btree (model_id); + + +-- +-- Name: idx_action_public_uuid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_action_public_uuid ON public.action USING btree (public_uuid); + + +-- +-- Name: idx_activity_custom_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_activity_custom_id ON public.activity USING btree (custom_id); + + +-- +-- Name: idx_activity_entity_qualified_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_activity_entity_qualified_id ON public.activity USING btree (( +CASE + WHEN ((model)::text = 'Dataset'::text) THEN ('card_'::text || model_id) + WHEN (model_id IS NULL) THEN NULL::text + ELSE ((lower((model)::text) || '_'::text) || model_id) +END)); + + +-- +-- Name: idx_activity_timestamp; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_activity_timestamp ON public.activity USING btree ("timestamp"); + + +-- +-- Name: idx_activity_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_activity_user_id ON public.activity USING btree (user_id); + + +-- +-- Name: idx_api_key_created_by; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_api_key_created_by ON public.api_key USING btree (creator_id); + + +-- +-- Name: idx_api_key_updated_by_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_api_key_updated_by_id ON public.api_key USING btree (updated_by_id); + + +-- +-- Name: idx_api_key_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_api_key_user_id ON public.api_key USING btree (user_id); + + +-- +-- Name: idx_application_permissions_revision_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_application_permissions_revision_user_id ON public.application_permissions_revision USING btree (user_id); + + +-- +-- Name: idx_audit_log_entity_qualified_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_audit_log_entity_qualified_id ON public.audit_log USING btree (( +CASE + WHEN ((model)::text = 'Dataset'::text) THEN ('card_'::text || model_id) + WHEN (model_id IS NULL) THEN NULL::text + ELSE ((lower((model)::text) || '_'::text) || model_id) +END)); + + +-- +-- Name: idx_bookmark_ordering_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_bookmark_ordering_user_id ON public.bookmark_ordering USING btree (user_id); + + +-- +-- Name: idx_card_bookmark_card_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_card_bookmark_card_id ON public.card_bookmark USING btree (card_id); + + +-- +-- Name: idx_card_bookmark_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_card_bookmark_user_id ON public.card_bookmark USING btree (user_id); + + +-- +-- Name: idx_card_collection_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_card_collection_id ON public.report_card USING btree (collection_id); + + +-- +-- Name: idx_card_creator_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_card_creator_id ON public.report_card USING btree (creator_id); + + +-- +-- Name: idx_card_label_card_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_card_label_card_id ON public.card_label USING btree (card_id); + + +-- +-- Name: idx_card_label_label_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_card_label_label_id ON public.card_label USING btree (label_id); + + +-- +-- Name: idx_card_public_uuid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_card_public_uuid ON public.report_card USING btree (public_uuid); + + +-- +-- Name: idx_cardfavorite_card_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_cardfavorite_card_id ON public.report_cardfavorite USING btree (card_id); + + +-- +-- Name: idx_cardfavorite_owner_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_cardfavorite_owner_id ON public.report_cardfavorite USING btree (owner_id); + + +-- +-- Name: idx_collection_bookmark_collection_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_collection_bookmark_collection_id ON public.collection_bookmark USING btree (collection_id); + + +-- +-- Name: idx_collection_bookmark_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_collection_bookmark_user_id ON public.collection_bookmark USING btree (user_id); + + +-- +-- Name: idx_collection_location; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_collection_location ON public.collection USING btree (location); + + +-- +-- Name: idx_collection_permission_graph_revision_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_collection_permission_graph_revision_user_id ON public.collection_permission_graph_revision USING btree (user_id); + + +-- +-- Name: idx_collection_personal_owner_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_collection_personal_owner_id ON public.collection USING btree (personal_owner_id); + + +-- +-- Name: idx_conn_impersonations_db_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_conn_impersonations_db_id ON public.connection_impersonations USING btree (db_id); + + +-- +-- Name: idx_conn_impersonations_group_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_conn_impersonations_group_id ON public.connection_impersonations USING btree (group_id); + + +-- +-- Name: idx_core_session_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_core_session_user_id ON public.core_session USING btree (user_id); + + +-- +-- Name: idx_dashboard_bookmark_dashboard_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dashboard_bookmark_dashboard_id ON public.dashboard_bookmark USING btree (dashboard_id); + + +-- +-- Name: idx_dashboard_bookmark_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dashboard_bookmark_user_id ON public.dashboard_bookmark USING btree (user_id); + + +-- +-- Name: idx_dashboard_collection_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dashboard_collection_id ON public.report_dashboard USING btree (collection_id); + + +-- +-- Name: idx_dashboard_creator_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dashboard_creator_id ON public.report_dashboard USING btree (creator_id); + + +-- +-- Name: idx_dashboard_favorite_dashboard_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dashboard_favorite_dashboard_id ON public.dashboard_favorite USING btree (dashboard_id); + + +-- +-- Name: idx_dashboard_favorite_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dashboard_favorite_user_id ON public.dashboard_favorite USING btree (user_id); + + +-- +-- Name: idx_dashboard_public_uuid; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dashboard_public_uuid ON public.report_dashboard USING btree (public_uuid); + + +-- +-- Name: idx_dashboard_tab_dashboard_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dashboard_tab_dashboard_id ON public.dashboard_tab USING btree (dashboard_id); + + +-- +-- Name: idx_dashboardcard_card_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dashboardcard_card_id ON public.report_dashboardcard USING btree (card_id); + + +-- +-- Name: idx_dashboardcard_dashboard_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dashboardcard_dashboard_id ON public.report_dashboardcard USING btree (dashboard_id); + + +-- +-- Name: idx_dashboardcard_series_card_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dashboardcard_series_card_id ON public.dashboardcard_series USING btree (card_id); + + +-- +-- Name: idx_dashboardcard_series_dashboardcard_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dashboardcard_series_dashboardcard_id ON public.dashboardcard_series USING btree (dashboardcard_id); + + +-- +-- Name: idx_dependency_dependent_on_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dependency_dependent_on_id ON public.dependency USING btree (dependent_on_id); + + +-- +-- Name: idx_dependency_dependent_on_model; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dependency_dependent_on_model ON public.dependency USING btree (dependent_on_model); + + +-- +-- Name: idx_dependency_model; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dependency_model ON public.dependency USING btree (model); + + +-- +-- Name: idx_dependency_model_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dependency_model_id ON public.dependency USING btree (model_id); + + +-- +-- Name: idx_dimension_field_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dimension_field_id ON public.dimension USING btree (field_id); + + +-- +-- Name: idx_dimension_human_readable_field_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_dimension_human_readable_field_id ON public.dimension USING btree (human_readable_field_id); + + +-- +-- Name: idx_field_entity_qualified_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_field_entity_qualified_id ON public.metabase_field USING btree ((('field_'::text || id))); + + +-- +-- Name: idx_field_name_lower; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_field_name_lower ON public.metabase_field USING btree (lower((name)::text)); + + +-- +-- Name: idx_field_parent_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_field_parent_id ON public.metabase_field USING btree (parent_id); + + +-- +-- Name: idx_field_table_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_field_table_id ON public.metabase_field USING btree (table_id); + + +-- +-- Name: idx_fieldvalues_field_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_fieldvalues_field_id ON public.metabase_fieldvalues USING btree (field_id); + + +-- +-- Name: idx_gtap_table_id_group_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_gtap_table_id_group_id ON public.sandboxes USING btree (table_id, group_id); + + +-- +-- Name: idx_label_slug; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_label_slug ON public.label USING btree (slug); + + +-- +-- Name: idx_lower_email; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_lower_email ON public.core_user USING btree (lower((email)::text)); + + +-- +-- Name: idx_metabase_database_creator_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_metabase_database_creator_id ON public.metabase_database USING btree (creator_id); + + +-- +-- Name: idx_metabase_table_db_id_schema; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_metabase_table_db_id_schema ON public.metabase_table USING btree (db_id, schema); + + +-- +-- Name: idx_metabase_table_show_in_getting_started; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_metabase_table_show_in_getting_started ON public.metabase_table USING btree (show_in_getting_started); + + +-- +-- Name: idx_metric_creator_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_metric_creator_id ON public.metric USING btree (creator_id); + + +-- +-- Name: idx_metric_important_field_field_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_metric_important_field_field_id ON public.metric_important_field USING btree (field_id); + + +-- +-- Name: idx_metric_important_field_metric_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_metric_important_field_metric_id ON public.metric_important_field USING btree (metric_id); + + +-- +-- Name: idx_metric_show_in_getting_started; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_metric_show_in_getting_started ON public.metric USING btree (show_in_getting_started); + + +-- +-- Name: idx_metric_table_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_metric_table_id ON public.metric USING btree (table_id); + + +-- +-- Name: idx_model_index_creator_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_model_index_creator_id ON public.model_index USING btree (creator_id); + + +-- +-- Name: idx_model_index_model_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_model_index_model_id ON public.model_index USING btree (model_id); + + +-- +-- Name: idx_moderation_review_item_type_item_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_moderation_review_item_type_item_id ON public.moderation_review USING btree (moderated_item_type, moderated_item_id); + + +-- +-- Name: idx_native_query_snippet_creator_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_native_query_snippet_creator_id ON public.native_query_snippet USING btree (creator_id); + + +-- +-- Name: idx_parameter_card_card_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_parameter_card_card_id ON public.parameter_card USING btree (card_id); + + +-- +-- Name: idx_parameter_card_parameterized_object_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_parameter_card_parameterized_object_id ON public.parameter_card USING btree (parameterized_object_id); + + +-- +-- Name: idx_permissions_group_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_permissions_group_id ON public.permissions USING btree (group_id); + + +-- +-- Name: idx_permissions_group_id_object; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_permissions_group_id_object ON public.permissions USING btree (group_id, object); + + +-- +-- Name: idx_permissions_group_membership_group_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_permissions_group_membership_group_id ON public.permissions_group_membership USING btree (group_id); + + +-- +-- Name: idx_permissions_group_membership_group_id_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_permissions_group_membership_group_id_user_id ON public.permissions_group_membership USING btree (group_id, user_id); + + +-- +-- Name: idx_permissions_group_membership_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_permissions_group_membership_user_id ON public.permissions_group_membership USING btree (user_id); + + +-- +-- Name: idx_permissions_group_name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_permissions_group_name ON public.permissions_group USING btree (name); + + +-- +-- Name: idx_permissions_object; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_permissions_object ON public.permissions USING btree (object); + + +-- +-- Name: idx_permissions_revision_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_permissions_revision_user_id ON public.permissions_revision USING btree (user_id); + + +-- +-- Name: idx_persisted_info_creator_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_persisted_info_creator_id ON public.persisted_info USING btree (creator_id); + + +-- +-- Name: idx_persisted_info_database_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_persisted_info_database_id ON public.persisted_info USING btree (database_id); + + +-- +-- Name: idx_pulse_card_card_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_pulse_card_card_id ON public.pulse_card USING btree (card_id); + + +-- +-- Name: idx_pulse_card_dashboard_card_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_pulse_card_dashboard_card_id ON public.pulse_card USING btree (dashboard_card_id); + + +-- +-- Name: idx_pulse_card_pulse_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_pulse_card_pulse_id ON public.pulse_card USING btree (pulse_id); + + +-- +-- Name: idx_pulse_channel_pulse_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_pulse_channel_pulse_id ON public.pulse_channel USING btree (pulse_id); + + +-- +-- Name: idx_pulse_channel_recipient_pulse_channel_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_pulse_channel_recipient_pulse_channel_id ON public.pulse_channel_recipient USING btree (pulse_channel_id); + + +-- +-- Name: idx_pulse_channel_recipient_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_pulse_channel_recipient_user_id ON public.pulse_channel_recipient USING btree (user_id); + + +-- +-- Name: idx_pulse_channel_schedule_type; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_pulse_channel_schedule_type ON public.pulse_channel USING btree (schedule_type); + + +-- +-- Name: idx_pulse_collection_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_pulse_collection_id ON public.pulse USING btree (collection_id); + + +-- +-- Name: idx_pulse_creator_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_pulse_creator_id ON public.pulse USING btree (creator_id); + + +-- +-- Name: idx_pulse_dashboard_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_pulse_dashboard_id ON public.pulse USING btree (dashboard_id); + + +-- +-- Name: idx_qrtz_ft_inst_job_req_rcvry; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_ft_inst_job_req_rcvry ON public.qrtz_fired_triggers USING btree (sched_name, instance_name, requests_recovery); + + +-- +-- Name: idx_qrtz_ft_j_g; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_ft_j_g ON public.qrtz_fired_triggers USING btree (sched_name, job_name, job_group); + + +-- +-- Name: idx_qrtz_ft_jg; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_ft_jg ON public.qrtz_fired_triggers USING btree (sched_name, job_group); + + +-- +-- Name: idx_qrtz_ft_t_g; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_ft_t_g ON public.qrtz_fired_triggers USING btree (sched_name, trigger_name, trigger_group); + + +-- +-- Name: idx_qrtz_ft_tg; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_ft_tg ON public.qrtz_fired_triggers USING btree (sched_name, trigger_group); + + +-- +-- Name: idx_qrtz_ft_trig_inst_name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_ft_trig_inst_name ON public.qrtz_fired_triggers USING btree (sched_name, instance_name); + + +-- +-- Name: idx_qrtz_j_grp; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_j_grp ON public.qrtz_job_details USING btree (sched_name, job_group); + + +-- +-- Name: idx_qrtz_j_req_recovery; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_j_req_recovery ON public.qrtz_job_details USING btree (sched_name, requests_recovery); + + +-- +-- Name: idx_qrtz_t_c; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_t_c ON public.qrtz_triggers USING btree (sched_name, calendar_name); + + +-- +-- Name: idx_qrtz_t_g; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_t_g ON public.qrtz_triggers USING btree (sched_name, trigger_group); + + +-- +-- Name: idx_qrtz_t_j; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_t_j ON public.qrtz_triggers USING btree (sched_name, job_name, job_group); + + +-- +-- Name: idx_qrtz_t_jg; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_t_jg ON public.qrtz_triggers USING btree (sched_name, job_group); + + +-- +-- Name: idx_qrtz_t_n_g_state; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_t_n_g_state ON public.qrtz_triggers USING btree (sched_name, trigger_group, trigger_state); + + +-- +-- Name: idx_qrtz_t_n_state; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_t_n_state ON public.qrtz_triggers USING btree (sched_name, trigger_name, trigger_group, trigger_state); + + +-- +-- Name: idx_qrtz_t_next_fire_time; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_t_next_fire_time ON public.qrtz_triggers USING btree (sched_name, next_fire_time); + + +-- +-- Name: idx_qrtz_t_nft_misfire; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_t_nft_misfire ON public.qrtz_triggers USING btree (sched_name, misfire_instr, next_fire_time); + + +-- +-- Name: idx_qrtz_t_nft_st; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_t_nft_st ON public.qrtz_triggers USING btree (sched_name, trigger_state, next_fire_time); + + +-- +-- Name: idx_qrtz_t_nft_st_misfire; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_t_nft_st_misfire ON public.qrtz_triggers USING btree (sched_name, misfire_instr, next_fire_time, trigger_state); + + +-- +-- Name: idx_qrtz_t_nft_st_misfire_grp; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_t_nft_st_misfire_grp ON public.qrtz_triggers USING btree (sched_name, misfire_instr, next_fire_time, trigger_group, trigger_state); + + +-- +-- Name: idx_qrtz_t_state; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_qrtz_t_state ON public.qrtz_triggers USING btree (sched_name, trigger_state); + + +-- +-- Name: idx_query_action_database_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_query_action_database_id ON public.query_action USING btree (database_id); + + +-- +-- Name: idx_query_cache_updated_at; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_query_cache_updated_at ON public.query_cache USING btree (updated_at); + + +-- +-- Name: idx_query_execution_action_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_query_execution_action_id ON public.query_execution USING btree (action_id); + + +-- +-- Name: idx_query_execution_card_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_query_execution_card_id ON public.query_execution USING btree (card_id); + + +-- +-- Name: idx_query_execution_card_id_started_at; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_query_execution_card_id_started_at ON public.query_execution USING btree (card_id, started_at); + + +-- +-- Name: idx_query_execution_card_qualified_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_query_execution_card_qualified_id ON public.query_execution USING btree ((('card_'::text || card_id))); + + +-- +-- Name: idx_query_execution_context; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_query_execution_context ON public.query_execution USING btree (context); + + +-- +-- Name: idx_query_execution_executor_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_query_execution_executor_id ON public.query_execution USING btree (executor_id); + + +-- +-- Name: idx_query_execution_query_hash_started_at; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_query_execution_query_hash_started_at ON public.query_execution USING btree (hash, started_at); + + +-- +-- Name: idx_query_execution_started_at; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_query_execution_started_at ON public.query_execution USING btree (started_at); + + +-- +-- Name: idx_recent_views_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_recent_views_user_id ON public.recent_views USING btree (user_id); + + +-- +-- Name: idx_report_card_database_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_report_card_database_id ON public.report_card USING btree (database_id); + + +-- +-- Name: idx_report_card_made_public_by_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_report_card_made_public_by_id ON public.report_card USING btree (made_public_by_id); + + +-- +-- Name: idx_report_card_table_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_report_card_table_id ON public.report_card USING btree (table_id); + + +-- +-- Name: idx_report_dashboard_made_public_by_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_report_dashboard_made_public_by_id ON public.report_dashboard USING btree (made_public_by_id); + + +-- +-- Name: idx_report_dashboard_show_in_getting_started; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_report_dashboard_show_in_getting_started ON public.report_dashboard USING btree (show_in_getting_started); + + +-- +-- Name: idx_report_dashboardcard_action_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_report_dashboardcard_action_id ON public.report_dashboardcard USING btree (action_id); + + +-- +-- Name: idx_report_dashboardcard_dashboard_tab_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_report_dashboardcard_dashboard_tab_id ON public.report_dashboardcard USING btree (dashboard_tab_id); + + +-- +-- Name: idx_revision_model_model_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_revision_model_model_id ON public.revision USING btree (model, model_id); + + +-- +-- Name: idx_revision_most_recent; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_revision_most_recent ON public.revision USING btree (most_recent); + + +-- +-- Name: idx_revision_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_revision_user_id ON public.revision USING btree (user_id); + + +-- +-- Name: idx_sandboxes_card_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_sandboxes_card_id ON public.sandboxes USING btree (card_id); + + +-- +-- Name: idx_sandboxes_permission_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_sandboxes_permission_id ON public.sandboxes USING btree (permission_id); + + +-- +-- Name: idx_secret_creator_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_secret_creator_id ON public.secret USING btree (creator_id); + + +-- +-- Name: idx_segment_creator_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_segment_creator_id ON public.segment USING btree (creator_id); + + +-- +-- Name: idx_segment_show_in_getting_started; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_segment_show_in_getting_started ON public.segment USING btree (show_in_getting_started); + + +-- +-- Name: idx_segment_table_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_segment_table_id ON public.segment USING btree (table_id); + + +-- +-- Name: idx_session_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_session_id ON public.login_history USING btree (session_id); + + +-- +-- Name: idx_snippet_collection_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_snippet_collection_id ON public.native_query_snippet USING btree (collection_id); + + +-- +-- Name: idx_snippet_name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_snippet_name ON public.native_query_snippet USING btree (name); + + +-- +-- Name: idx_table_db_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_table_db_id ON public.metabase_table USING btree (db_id); + + +-- +-- Name: idx_table_privileges_role; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_table_privileges_role ON public.table_privileges USING btree (role); + + +-- +-- Name: idx_table_privileges_table_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_table_privileges_table_id ON public.table_privileges USING btree (table_id); + + +-- +-- Name: idx_task_history_db_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_task_history_db_id ON public.task_history USING btree (db_id); + + +-- +-- Name: idx_task_history_end_time; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_task_history_end_time ON public.task_history USING btree (ended_at); + + +-- +-- Name: idx_task_history_started_at; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_task_history_started_at ON public.task_history USING btree (started_at); + + +-- +-- Name: idx_timeline_collection_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_timeline_collection_id ON public.timeline USING btree (collection_id); + + +-- +-- Name: idx_timeline_creator_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_timeline_creator_id ON public.timeline USING btree (creator_id); + + +-- +-- Name: idx_timeline_event_creator_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_timeline_event_creator_id ON public.timeline_event USING btree (creator_id); + + +-- +-- Name: idx_timeline_event_timeline_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_timeline_event_timeline_id ON public.timeline_event USING btree (timeline_id); + + +-- +-- Name: idx_timeline_event_timeline_id_timestamp; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_timeline_event_timeline_id_timestamp ON public.timeline_event USING btree (timeline_id, "timestamp"); + + +-- +-- Name: idx_timestamp; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_timestamp ON public.login_history USING btree ("timestamp"); + + +-- +-- Name: idx_uniq_field_table_id_parent_id_name_2col; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX idx_uniq_field_table_id_parent_id_name_2col ON public.metabase_field USING btree (table_id, name) WHERE (parent_id IS NULL); + + +-- +-- Name: idx_uniq_table_db_id_schema_name_2col; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX idx_uniq_table_db_id_schema_name_2col ON public.metabase_table USING btree (db_id, name) WHERE (schema IS NULL); + + +-- +-- Name: idx_user_full_name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_user_full_name ON public.core_user USING btree (((((first_name)::text || ' '::text) || (last_name)::text))); + + +-- +-- Name: idx_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_user_id ON public.login_history USING btree (user_id); + + +-- +-- Name: idx_user_id_device_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_user_id_device_id ON public.login_history USING btree (session_id, device_id); + + +-- +-- Name: idx_user_id_timestamp; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_user_id_timestamp ON public.login_history USING btree (user_id, "timestamp"); + + +-- +-- Name: idx_user_qualified_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_user_qualified_id ON public.core_user USING btree ((('user_'::text || id))); + + +-- +-- Name: idx_view_log_entity_qualified_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_view_log_entity_qualified_id ON public.view_log USING btree (((((model)::text || '_'::text) || model_id))); + + +-- +-- Name: idx_view_log_model_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_view_log_model_id ON public.view_log USING btree (model_id); + + +-- +-- Name: idx_view_log_timestamp; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_view_log_timestamp ON public.view_log USING btree ("timestamp"); + + +-- +-- Name: idx_view_log_user_id; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX idx_view_log_user_id ON public.view_log USING btree (user_id); + + +-- +-- Name: action fk_action_creator_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.action + ADD CONSTRAINT fk_action_creator_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id); + + +-- +-- Name: action fk_action_made_public_by_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.action + ADD CONSTRAINT fk_action_made_public_by_id FOREIGN KEY (made_public_by_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: action fk_action_model_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.action + ADD CONSTRAINT fk_action_model_id FOREIGN KEY (model_id) REFERENCES public.report_card(id) ON DELETE CASCADE; + + +-- +-- Name: activity fk_activity_ref_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.activity + ADD CONSTRAINT fk_activity_ref_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: api_key fk_api_key_created_by_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.api_key + ADD CONSTRAINT fk_api_key_created_by_user_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id); + + +-- +-- Name: api_key fk_api_key_updated_by_id_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.api_key + ADD CONSTRAINT fk_api_key_updated_by_id_user_id FOREIGN KEY (updated_by_id) REFERENCES public.core_user(id); + + +-- +-- Name: api_key fk_api_key_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.api_key + ADD CONSTRAINT fk_api_key_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id); + + +-- +-- Name: bookmark_ordering fk_bookmark_ordering_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.bookmark_ordering + ADD CONSTRAINT fk_bookmark_ordering_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: card_bookmark fk_card_bookmark_dashboard_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.card_bookmark + ADD CONSTRAINT fk_card_bookmark_dashboard_id FOREIGN KEY (card_id) REFERENCES public.report_card(id) ON DELETE CASCADE; + + +-- +-- Name: card_bookmark fk_card_bookmark_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.card_bookmark + ADD CONSTRAINT fk_card_bookmark_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: report_card fk_card_collection_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_card + ADD CONSTRAINT fk_card_collection_id FOREIGN KEY (collection_id) REFERENCES public.collection(id) ON DELETE SET NULL; + + +-- +-- Name: card_label fk_card_label_ref_card_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.card_label + ADD CONSTRAINT fk_card_label_ref_card_id FOREIGN KEY (card_id) REFERENCES public.report_card(id) ON DELETE CASCADE; + + +-- +-- Name: card_label fk_card_label_ref_label_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.card_label + ADD CONSTRAINT fk_card_label_ref_label_id FOREIGN KEY (label_id) REFERENCES public.label(id) ON DELETE CASCADE; + + +-- +-- Name: report_card fk_card_made_public_by_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_card + ADD CONSTRAINT fk_card_made_public_by_id FOREIGN KEY (made_public_by_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: report_card fk_card_ref_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_card + ADD CONSTRAINT fk_card_ref_user_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: report_cardfavorite fk_cardfavorite_ref_card_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_cardfavorite + ADD CONSTRAINT fk_cardfavorite_ref_card_id FOREIGN KEY (card_id) REFERENCES public.report_card(id) ON DELETE CASCADE; + + +-- +-- Name: report_cardfavorite fk_cardfavorite_ref_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_cardfavorite + ADD CONSTRAINT fk_cardfavorite_ref_user_id FOREIGN KEY (owner_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: collection_bookmark fk_collection_bookmark_collection_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.collection_bookmark + ADD CONSTRAINT fk_collection_bookmark_collection_id FOREIGN KEY (collection_id) REFERENCES public.collection(id) ON DELETE CASCADE; + + +-- +-- Name: collection_bookmark fk_collection_bookmark_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.collection_bookmark + ADD CONSTRAINT fk_collection_bookmark_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: collection fk_collection_personal_owner_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.collection + ADD CONSTRAINT fk_collection_personal_owner_id FOREIGN KEY (personal_owner_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: collection_permission_graph_revision fk_collection_revision_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.collection_permission_graph_revision + ADD CONSTRAINT fk_collection_revision_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: connection_impersonations fk_conn_impersonation_db_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.connection_impersonations + ADD CONSTRAINT fk_conn_impersonation_db_id FOREIGN KEY (db_id) REFERENCES public.metabase_database(id) ON DELETE CASCADE; + + +-- +-- Name: connection_impersonations fk_conn_impersonation_group_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.connection_impersonations + ADD CONSTRAINT fk_conn_impersonation_group_id FOREIGN KEY (group_id) REFERENCES public.permissions_group(id) ON DELETE CASCADE; + + +-- +-- Name: dashboard_bookmark fk_dashboard_bookmark_dashboard_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_bookmark + ADD CONSTRAINT fk_dashboard_bookmark_dashboard_id FOREIGN KEY (dashboard_id) REFERENCES public.report_dashboard(id) ON DELETE CASCADE; + + +-- +-- Name: dashboard_bookmark fk_dashboard_bookmark_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_bookmark + ADD CONSTRAINT fk_dashboard_bookmark_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: report_dashboard fk_dashboard_collection_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_dashboard + ADD CONSTRAINT fk_dashboard_collection_id FOREIGN KEY (collection_id) REFERENCES public.collection(id) ON DELETE SET NULL; + + +-- +-- Name: dashboard_favorite fk_dashboard_favorite_dashboard_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_favorite + ADD CONSTRAINT fk_dashboard_favorite_dashboard_id FOREIGN KEY (dashboard_id) REFERENCES public.report_dashboard(id) ON DELETE CASCADE; + + +-- +-- Name: dashboard_favorite fk_dashboard_favorite_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_favorite + ADD CONSTRAINT fk_dashboard_favorite_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: report_dashboard fk_dashboard_made_public_by_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_dashboard + ADD CONSTRAINT fk_dashboard_made_public_by_id FOREIGN KEY (made_public_by_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: report_dashboard fk_dashboard_ref_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_dashboard + ADD CONSTRAINT fk_dashboard_ref_user_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: dashboard_tab fk_dashboard_tab_ref_dashboard_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboard_tab + ADD CONSTRAINT fk_dashboard_tab_ref_dashboard_id FOREIGN KEY (dashboard_id) REFERENCES public.report_dashboard(id) ON DELETE CASCADE; + + +-- +-- Name: report_dashboardcard fk_dashboardcard_ref_card_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_dashboardcard + ADD CONSTRAINT fk_dashboardcard_ref_card_id FOREIGN KEY (card_id) REFERENCES public.report_card(id) ON DELETE CASCADE; + + +-- +-- Name: report_dashboardcard fk_dashboardcard_ref_dashboard_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_dashboardcard + ADD CONSTRAINT fk_dashboardcard_ref_dashboard_id FOREIGN KEY (dashboard_id) REFERENCES public.report_dashboard(id) ON DELETE CASCADE; + + +-- +-- Name: dashboardcard_series fk_dashboardcard_series_ref_card_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboardcard_series + ADD CONSTRAINT fk_dashboardcard_series_ref_card_id FOREIGN KEY (card_id) REFERENCES public.report_card(id) ON DELETE CASCADE; + + +-- +-- Name: dashboardcard_series fk_dashboardcard_series_ref_dashboardcard_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dashboardcard_series + ADD CONSTRAINT fk_dashboardcard_series_ref_dashboardcard_id FOREIGN KEY (dashboardcard_id) REFERENCES public.report_dashboardcard(id) ON DELETE CASCADE; + + +-- +-- Name: metabase_database fk_database_creator_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metabase_database + ADD CONSTRAINT fk_database_creator_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id) ON DELETE SET NULL; + + +-- +-- Name: dimension fk_dimension_displayfk_ref_field_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dimension + ADD CONSTRAINT fk_dimension_displayfk_ref_field_id FOREIGN KEY (human_readable_field_id) REFERENCES public.metabase_field(id) ON DELETE CASCADE; + + +-- +-- Name: dimension fk_dimension_ref_field_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.dimension + ADD CONSTRAINT fk_dimension_ref_field_id FOREIGN KEY (field_id) REFERENCES public.metabase_field(id) ON DELETE CASCADE; + + +-- +-- Name: timeline_event fk_event_creator_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.timeline_event + ADD CONSTRAINT fk_event_creator_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: timeline_event fk_events_timeline_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.timeline_event + ADD CONSTRAINT fk_events_timeline_id FOREIGN KEY (timeline_id) REFERENCES public.timeline(id) ON DELETE CASCADE; + + +-- +-- Name: metabase_field fk_field_parent_ref_field_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metabase_field + ADD CONSTRAINT fk_field_parent_ref_field_id FOREIGN KEY (parent_id) REFERENCES public.metabase_field(id) ON DELETE CASCADE; + + +-- +-- Name: metabase_field fk_field_ref_table_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metabase_field + ADD CONSTRAINT fk_field_ref_table_id FOREIGN KEY (table_id) REFERENCES public.metabase_table(id) ON DELETE CASCADE; + + +-- +-- Name: metabase_fieldvalues fk_fieldvalues_ref_field_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metabase_fieldvalues + ADD CONSTRAINT fk_fieldvalues_ref_field_id FOREIGN KEY (field_id) REFERENCES public.metabase_field(id) ON DELETE CASCADE; + + +-- +-- Name: application_permissions_revision fk_general_permissions_revision_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.application_permissions_revision + ADD CONSTRAINT fk_general_permissions_revision_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id); + + +-- +-- Name: sandboxes fk_gtap_card_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.sandboxes + ADD CONSTRAINT fk_gtap_card_id FOREIGN KEY (card_id) REFERENCES public.report_card(id) ON DELETE CASCADE; + + +-- +-- Name: sandboxes fk_gtap_group_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.sandboxes + ADD CONSTRAINT fk_gtap_group_id FOREIGN KEY (group_id) REFERENCES public.permissions_group(id) ON DELETE CASCADE; + + +-- +-- Name: sandboxes fk_gtap_table_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.sandboxes + ADD CONSTRAINT fk_gtap_table_id FOREIGN KEY (table_id) REFERENCES public.metabase_table(id) ON DELETE CASCADE; + + +-- +-- Name: http_action fk_http_action_ref_action_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.http_action + ADD CONSTRAINT fk_http_action_ref_action_id FOREIGN KEY (action_id) REFERENCES public.action(id) ON DELETE CASCADE; + + +-- +-- Name: implicit_action fk_implicit_action_action_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.implicit_action + ADD CONSTRAINT fk_implicit_action_action_id FOREIGN KEY (action_id) REFERENCES public.action(id) ON DELETE CASCADE; + + +-- +-- Name: login_history fk_login_history_session_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.login_history + ADD CONSTRAINT fk_login_history_session_id FOREIGN KEY (session_id) REFERENCES public.core_session(id) ON DELETE SET NULL; + + +-- +-- Name: login_history fk_login_history_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.login_history + ADD CONSTRAINT fk_login_history_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: metric_important_field fk_metric_important_field_metabase_field_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metric_important_field + ADD CONSTRAINT fk_metric_important_field_metabase_field_id FOREIGN KEY (field_id) REFERENCES public.metabase_field(id) ON DELETE CASCADE; + + +-- +-- Name: metric_important_field fk_metric_important_field_metric_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metric_important_field + ADD CONSTRAINT fk_metric_important_field_metric_id FOREIGN KEY (metric_id) REFERENCES public.metric(id) ON DELETE CASCADE; + + +-- +-- Name: metric fk_metric_ref_creator_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metric + ADD CONSTRAINT fk_metric_ref_creator_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: metric fk_metric_ref_table_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metric + ADD CONSTRAINT fk_metric_ref_table_id FOREIGN KEY (table_id) REFERENCES public.metabase_table(id) ON DELETE CASCADE; + + +-- +-- Name: model_index fk_model_index_creator_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.model_index + ADD CONSTRAINT fk_model_index_creator_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: model_index fk_model_index_model_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.model_index + ADD CONSTRAINT fk_model_index_model_id FOREIGN KEY (model_id) REFERENCES public.report_card(id) ON DELETE CASCADE; + + +-- +-- Name: model_index_value fk_model_index_value_model_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.model_index_value + ADD CONSTRAINT fk_model_index_value_model_id FOREIGN KEY (model_index_id) REFERENCES public.model_index(id) ON DELETE CASCADE; + + +-- +-- Name: parameter_card fk_parameter_card_ref_card_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.parameter_card + ADD CONSTRAINT fk_parameter_card_ref_card_id FOREIGN KEY (card_id) REFERENCES public.report_card(id) ON DELETE CASCADE; + + +-- +-- Name: permissions_group_membership fk_permissions_group_group_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.permissions_group_membership + ADD CONSTRAINT fk_permissions_group_group_id FOREIGN KEY (group_id) REFERENCES public.permissions_group(id) ON DELETE CASCADE; + + +-- +-- Name: permissions fk_permissions_group_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.permissions + ADD CONSTRAINT fk_permissions_group_id FOREIGN KEY (group_id) REFERENCES public.permissions_group(id) ON DELETE CASCADE; + + +-- +-- Name: permissions_group_membership fk_permissions_group_membership_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.permissions_group_membership + ADD CONSTRAINT fk_permissions_group_membership_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: permissions_revision fk_permissions_revision_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.permissions_revision + ADD CONSTRAINT fk_permissions_revision_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: persisted_info fk_persisted_info_card_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.persisted_info + ADD CONSTRAINT fk_persisted_info_card_id FOREIGN KEY (card_id) REFERENCES public.report_card(id) ON DELETE CASCADE; + + +-- +-- Name: persisted_info fk_persisted_info_database_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.persisted_info + ADD CONSTRAINT fk_persisted_info_database_id FOREIGN KEY (database_id) REFERENCES public.metabase_database(id) ON DELETE CASCADE; + + +-- +-- Name: persisted_info fk_persisted_info_ref_creator_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.persisted_info + ADD CONSTRAINT fk_persisted_info_ref_creator_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id); + + +-- +-- Name: pulse_card fk_pulse_card_ref_card_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse_card + ADD CONSTRAINT fk_pulse_card_ref_card_id FOREIGN KEY (card_id) REFERENCES public.report_card(id) ON DELETE CASCADE; + + +-- +-- Name: pulse_card fk_pulse_card_ref_pulse_card_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse_card + ADD CONSTRAINT fk_pulse_card_ref_pulse_card_id FOREIGN KEY (dashboard_card_id) REFERENCES public.report_dashboardcard(id) ON DELETE CASCADE; + + +-- +-- Name: pulse_card fk_pulse_card_ref_pulse_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse_card + ADD CONSTRAINT fk_pulse_card_ref_pulse_id FOREIGN KEY (pulse_id) REFERENCES public.pulse(id) ON DELETE CASCADE; + + +-- +-- Name: pulse_channel_recipient fk_pulse_channel_recipient_ref_pulse_channel_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse_channel_recipient + ADD CONSTRAINT fk_pulse_channel_recipient_ref_pulse_channel_id FOREIGN KEY (pulse_channel_id) REFERENCES public.pulse_channel(id) ON DELETE CASCADE; + + +-- +-- Name: pulse_channel_recipient fk_pulse_channel_recipient_ref_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse_channel_recipient + ADD CONSTRAINT fk_pulse_channel_recipient_ref_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: pulse_channel fk_pulse_channel_ref_pulse_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse_channel + ADD CONSTRAINT fk_pulse_channel_ref_pulse_id FOREIGN KEY (pulse_id) REFERENCES public.pulse(id) ON DELETE CASCADE; + + +-- +-- Name: pulse fk_pulse_collection_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse + ADD CONSTRAINT fk_pulse_collection_id FOREIGN KEY (collection_id) REFERENCES public.collection(id) ON DELETE SET NULL; + + +-- +-- Name: pulse fk_pulse_ref_creator_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse + ADD CONSTRAINT fk_pulse_ref_creator_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: pulse fk_pulse_ref_dashboard_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.pulse + ADD CONSTRAINT fk_pulse_ref_dashboard_id FOREIGN KEY (dashboard_id) REFERENCES public.report_dashboard(id) ON DELETE CASCADE; + + +-- +-- Name: qrtz_blob_triggers fk_qrtz_blob_triggers_triggers; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_blob_triggers + ADD CONSTRAINT fk_qrtz_blob_triggers_triggers FOREIGN KEY (sched_name, trigger_name, trigger_group) REFERENCES public.qrtz_triggers(sched_name, trigger_name, trigger_group); + + +-- +-- Name: qrtz_cron_triggers fk_qrtz_cron_triggers_triggers; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_cron_triggers + ADD CONSTRAINT fk_qrtz_cron_triggers_triggers FOREIGN KEY (sched_name, trigger_name, trigger_group) REFERENCES public.qrtz_triggers(sched_name, trigger_name, trigger_group); + + +-- +-- Name: qrtz_simple_triggers fk_qrtz_simple_triggers_triggers; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_simple_triggers + ADD CONSTRAINT fk_qrtz_simple_triggers_triggers FOREIGN KEY (sched_name, trigger_name, trigger_group) REFERENCES public.qrtz_triggers(sched_name, trigger_name, trigger_group); + + +-- +-- Name: qrtz_simprop_triggers fk_qrtz_simprop_triggers_triggers; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_simprop_triggers + ADD CONSTRAINT fk_qrtz_simprop_triggers_triggers FOREIGN KEY (sched_name, trigger_name, trigger_group) REFERENCES public.qrtz_triggers(sched_name, trigger_name, trigger_group); + + +-- +-- Name: qrtz_triggers fk_qrtz_triggers_job_details; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.qrtz_triggers + ADD CONSTRAINT fk_qrtz_triggers_job_details FOREIGN KEY (sched_name, job_name, job_group) REFERENCES public.qrtz_job_details(sched_name, job_name, job_group); + + +-- +-- Name: query_action fk_query_action_database_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.query_action + ADD CONSTRAINT fk_query_action_database_id FOREIGN KEY (database_id) REFERENCES public.metabase_database(id) ON DELETE CASCADE; + + +-- +-- Name: query_action fk_query_action_ref_action_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.query_action + ADD CONSTRAINT fk_query_action_ref_action_id FOREIGN KEY (action_id) REFERENCES public.action(id) ON DELETE CASCADE; + + +-- +-- Name: recent_views fk_recent_views_ref_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.recent_views + ADD CONSTRAINT fk_recent_views_ref_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: report_card fk_report_card_ref_database_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_card + ADD CONSTRAINT fk_report_card_ref_database_id FOREIGN KEY (database_id) REFERENCES public.metabase_database(id) ON DELETE CASCADE; + + +-- +-- Name: report_card fk_report_card_ref_table_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_card + ADD CONSTRAINT fk_report_card_ref_table_id FOREIGN KEY (table_id) REFERENCES public.metabase_table(id) ON DELETE CASCADE; + + +-- +-- Name: report_dashboardcard fk_report_dashboardcard_ref_action_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_dashboardcard + ADD CONSTRAINT fk_report_dashboardcard_ref_action_id FOREIGN KEY (action_id) REFERENCES public.action(id) ON DELETE CASCADE; + + +-- +-- Name: report_dashboardcard fk_report_dashboardcard_ref_dashboard_tab_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.report_dashboardcard + ADD CONSTRAINT fk_report_dashboardcard_ref_dashboard_tab_id FOREIGN KEY (dashboard_tab_id) REFERENCES public.dashboard_tab(id) ON DELETE CASCADE; + + +-- +-- Name: revision fk_revision_ref_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.revision + ADD CONSTRAINT fk_revision_ref_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: sandboxes fk_sandboxes_ref_permissions; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.sandboxes + ADD CONSTRAINT fk_sandboxes_ref_permissions FOREIGN KEY (permission_id) REFERENCES public.permissions(id) ON DELETE CASCADE; + + +-- +-- Name: secret fk_secret_ref_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.secret + ADD CONSTRAINT fk_secret_ref_user_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id); + + +-- +-- Name: segment fk_segment_ref_creator_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.segment + ADD CONSTRAINT fk_segment_ref_creator_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: segment fk_segment_ref_table_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.segment + ADD CONSTRAINT fk_segment_ref_table_id FOREIGN KEY (table_id) REFERENCES public.metabase_table(id) ON DELETE CASCADE; + + +-- +-- Name: core_session fk_session_ref_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.core_session + ADD CONSTRAINT fk_session_ref_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: native_query_snippet fk_snippet_collection_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.native_query_snippet + ADD CONSTRAINT fk_snippet_collection_id FOREIGN KEY (collection_id) REFERENCES public.collection(id) ON DELETE SET NULL; + + +-- +-- Name: native_query_snippet fk_snippet_creator_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.native_query_snippet + ADD CONSTRAINT fk_snippet_creator_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: table_privileges fk_table_privileges_table_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.table_privileges + ADD CONSTRAINT fk_table_privileges_table_id FOREIGN KEY (table_id) REFERENCES public.metabase_table(id) ON DELETE CASCADE; + + +-- +-- Name: metabase_table fk_table_ref_database_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.metabase_table + ADD CONSTRAINT fk_table_ref_database_id FOREIGN KEY (db_id) REFERENCES public.metabase_database(id) ON DELETE CASCADE; + + +-- +-- Name: timeline fk_timeline_collection_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.timeline + ADD CONSTRAINT fk_timeline_collection_id FOREIGN KEY (collection_id) REFERENCES public.collection(id) ON DELETE CASCADE; + + +-- +-- Name: timeline fk_timeline_creator_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.timeline + ADD CONSTRAINT fk_timeline_creator_id FOREIGN KEY (creator_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- Name: view_log fk_view_log_ref_user_id; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public.view_log + ADD CONSTRAINT fk_view_log_ref_user_id FOREIGN KEY (user_id) REFERENCES public.core_user(id) ON DELETE CASCADE; + + +-- +-- PostgreSQL database dump complete +-- +