diff --git a/.env b/.env index 29f02265133b4ac1c34a5d9e58880258ae96acc7..9cb8db2a296abdf447367ffd403638dd7266d11d 100644 --- a/.env +++ b/.env @@ -3,11 +3,11 @@ PROCESSOR=email CONSUMER_NAME=email_consumer PUBLISHER_NAME=email_publisher -POSTGRES_USER=test +POSTGRES_USER=admin POSTGRES_PASSWORD=password POSTGRES_DB=push_dev -DB_USER=test +DB_USER=admin DB_PASSWORD=password DB_HOST=pg_db DB_PORT=5432 diff --git a/docker-compose.full.yml b/docker-compose.full.yml index 5cf73d2a3d51057c6992d21c4e7f0570a64dc284..bc41316e80d6242403487798d7e1b7cd40da9f3b 100644 --- a/docker-compose.full.yml +++ b/docker-compose.full.yml @@ -149,8 +149,8 @@ services: image: postgres volumes: - pgsql-data:/var/lib/pgsql/data:rw - - ./scripts/push_dev.sql:/docker-entrypoint-initdb.d/init.sql - networks: + - ./scripts/dump.sql:/docker-entrypoint-initdb.d/init.sql + networks: - default ports: - 5432:5432 @@ -159,7 +159,7 @@ services: - POSTGRES_PASSWORD - POSTGRES_DB healthcheck: - test: ["CMD-SHELL", "pg_isready -U test -d push_dev"] + test: ["CMD-SHELL", "pg_isready -U admin -d push_dev"] interval: 10s timeout: 5s retries: 5 diff --git a/docker-compose.yml b/docker-compose.yml index fe2ec14eded288110a7fa02d807046e16ef7c690..7fb52609d6cb19bc54988d0e8d9a977cb17b4ba7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -37,7 +37,7 @@ services: image: postgres volumes: - pgsql-data:/var/lib/pgsql/data:rw - - ./scripts/push_dev.sql:/docker-entrypoint-initdb.d/init.sql + - ./scripts/dump.sql:/docker-entrypoint-initdb.d/init.sql networks: - default ports: @@ -47,7 +47,7 @@ services: - POSTGRES_PASSWORD - POSTGRES_DB healthcheck: - test: ["CMD-SHELL", "pg_isready -U test -d push_dev"] + test: ["CMD-SHELL", "pg_isready -U admin -d push_dev"] interval: 10s timeout: 5s retries: 5 diff --git a/scripts/push_dev.sql b/scripts/dump.sql similarity index 79% rename from scripts/push_dev.sql rename to scripts/dump.sql index 02eed7d790369eb4e0ee103d626edaf8c0123514..91ca3b9afb4ab3730414b28f5bca6eec12eecb7b 100644 --- a/scripts/push_dev.sql +++ b/scripts/dump.sql @@ -3,9 +3,7 @@ -- -- Dumped from database version 9.6.20 --- Dumped by pg_dump version 13.0 - --- Started on 2021-03-01 11:11:23 CET +-- Dumped by pg_dump version 13.1 SET statement_timeout = 0; SET lock_timeout = 0; @@ -19,50 +17,59 @@ SET client_min_messages = warning; SET row_security = off; -- --- TOC entry 7 (class 2615 OID 258055) --- Name: authorization_service; Type: SCHEMA; Schema: -; Owner: test +-- Name: authorization_service; Type: SCHEMA; Schema: -; Owner: admin -- CREATE SCHEMA authorization_service; -ALTER SCHEMA authorization_service OWNER TO test; +ALTER SCHEMA authorization_service OWNER TO admin; -- --- TOC entry 10 (class 2615 OID 259203) --- Name: push; Type: SCHEMA; Schema: -; Owner: test +-- Name: push; Type: SCHEMA; Schema: -; Owner: admin -- CREATE SCHEMA push; -ALTER SCHEMA push OWNER TO test; +ALTER SCHEMA push OWNER TO admin; -- --- TOC entry 11 (class 2615 OID 258555) --- Name: push_test; Type: SCHEMA; Schema: -; Owner: test +-- Name: push_test; Type: SCHEMA; Schema: -; Owner: admin -- CREATE SCHEMA push_test; -ALTER SCHEMA push_test OWNER TO test; +ALTER SCHEMA push_test OWNER TO admin; -- --- TOC entry 6 (class 2615 OID 257867) --- Name: test; Type: SCHEMA; Schema: -; Owner: test +-- Name: test; Type: SCHEMA; Schema: -; Owner: admin -- CREATE SCHEMA test; -ALTER SCHEMA test OWNER TO test; +ALTER SCHEMA test OWNER TO admin; + +-- +-- Name: pgcrypto; Type: EXTENSION; Schema: -; Owner: - +-- + +CREATE EXTENSION IF NOT EXISTS pgcrypto WITH SCHEMA public; + + +-- +-- Name: EXTENSION pgcrypto; Type: COMMENT; Schema: -; Owner: +-- + +COMMENT ON EXTENSION pgcrypto IS 'cryptographic functions'; + SET default_tablespace = ''; -- --- TOC entry 212 (class 1259 OID 258103) --- Name: Notifications; Type: TABLE; Schema: authorization_service; Owner: test +-- Name: Notifications; Type: TABLE; Schema: authorization_service; Owner: admin -- CREATE TABLE authorization_service."Notifications" ( @@ -77,11 +84,10 @@ CREATE TABLE authorization_service."Notifications" ( ); -ALTER TABLE authorization_service."Notifications" OWNER TO test; +ALTER TABLE authorization_service."Notifications" OWNER TO admin; -- --- TOC entry 211 (class 1259 OID 258101) --- Name: Notifications_id_seq; Type: SEQUENCE; Schema: authorization_service; Owner: test +-- Name: Notifications_id_seq; Type: SEQUENCE; Schema: authorization_service; Owner: admin -- CREATE SEQUENCE authorization_service."Notifications_id_seq" @@ -92,20 +98,17 @@ CREATE SEQUENCE authorization_service."Notifications_id_seq" CACHE 1; -ALTER TABLE authorization_service."Notifications_id_seq" OWNER TO test; +ALTER TABLE authorization_service."Notifications_id_seq" OWNER TO admin; -- --- TOC entry 3412 (class 0 OID 0) --- Dependencies: 211 --- Name: Notifications_id_seq; Type: SEQUENCE OWNED BY; Schema: authorization_service; Owner: test +-- Name: Notifications_id_seq; Type: SEQUENCE OWNED BY; Schema: authorization_service; Owner: admin -- ALTER SEQUENCE authorization_service."Notifications_id_seq" OWNED BY authorization_service."Notifications".id; -- --- TOC entry 207 (class 1259 OID 258073) --- Name: Rules; Type: TABLE; Schema: authorization_service; Owner: test +-- Name: Rules; Type: TABLE; Schema: authorization_service; Owner: admin -- CREATE TABLE authorization_service."Rules" ( @@ -118,11 +121,10 @@ CREATE TABLE authorization_service."Rules" ( ); -ALTER TABLE authorization_service."Rules" OWNER TO test; +ALTER TABLE authorization_service."Rules" OWNER TO admin; -- --- TOC entry 206 (class 1259 OID 258071) --- Name: Rules_id_seq; Type: SEQUENCE; Schema: authorization_service; Owner: test +-- Name: Rules_id_seq; Type: SEQUENCE; Schema: authorization_service; Owner: admin -- CREATE SEQUENCE authorization_service."Rules_id_seq" @@ -133,20 +135,17 @@ CREATE SEQUENCE authorization_service."Rules_id_seq" CACHE 1; -ALTER TABLE authorization_service."Rules_id_seq" OWNER TO test; +ALTER TABLE authorization_service."Rules_id_seq" OWNER TO admin; -- --- TOC entry 3413 (class 0 OID 0) --- Dependencies: 206 --- Name: Rules_id_seq; Type: SEQUENCE OWNED BY; Schema: authorization_service; Owner: test +-- Name: Rules_id_seq; Type: SEQUENCE OWNED BY; Schema: authorization_service; Owner: admin -- ALTER SEQUENCE authorization_service."Rules_id_seq" OWNED BY authorization_service."Rules".id; -- --- TOC entry 205 (class 1259 OID 258058) --- Name: Services; Type: TABLE; Schema: authorization_service; Owner: test +-- Name: Services; Type: TABLE; Schema: authorization_service; Owner: admin -- CREATE TABLE authorization_service."Services" ( @@ -156,11 +155,10 @@ CREATE TABLE authorization_service."Services" ( ); -ALTER TABLE authorization_service."Services" OWNER TO test; +ALTER TABLE authorization_service."Services" OWNER TO admin; -- --- TOC entry 204 (class 1259 OID 258056) --- Name: Services_id_seq; Type: SEQUENCE; Schema: authorization_service; Owner: test +-- Name: Services_id_seq; Type: SEQUENCE; Schema: authorization_service; Owner: admin -- CREATE SEQUENCE authorization_service."Services_id_seq" @@ -171,20 +169,17 @@ CREATE SEQUENCE authorization_service."Services_id_seq" CACHE 1; -ALTER TABLE authorization_service."Services_id_seq" OWNER TO test; +ALTER TABLE authorization_service."Services_id_seq" OWNER TO admin; -- --- TOC entry 3414 (class 0 OID 0) --- Dependencies: 204 --- Name: Services_id_seq; Type: SEQUENCE OWNED BY; Schema: authorization_service; Owner: test +-- Name: Services_id_seq; Type: SEQUENCE OWNED BY; Schema: authorization_service; Owner: admin -- ALTER SEQUENCE authorization_service."Services_id_seq" OWNED BY authorization_service."Services".id; -- --- TOC entry 210 (class 1259 OID 258094) --- Name: UserNotifications; Type: TABLE; Schema: authorization_service; Owner: test +-- Name: UserNotifications; Type: TABLE; Schema: authorization_service; Owner: admin -- CREATE TABLE authorization_service."UserNotifications" ( @@ -196,11 +191,10 @@ CREATE TABLE authorization_service."UserNotifications" ( ); -ALTER TABLE authorization_service."UserNotifications" OWNER TO test; +ALTER TABLE authorization_service."UserNotifications" OWNER TO admin; -- --- TOC entry 209 (class 1259 OID 258092) --- Name: UserNotifications_id_seq; Type: SEQUENCE; Schema: authorization_service; Owner: test +-- Name: UserNotifications_id_seq; Type: SEQUENCE; Schema: authorization_service; Owner: admin -- CREATE SEQUENCE authorization_service."UserNotifications_id_seq" @@ -211,20 +205,17 @@ CREATE SEQUENCE authorization_service."UserNotifications_id_seq" CACHE 1; -ALTER TABLE authorization_service."UserNotifications_id_seq" OWNER TO test; +ALTER TABLE authorization_service."UserNotifications_id_seq" OWNER TO admin; -- --- TOC entry 3415 (class 0 OID 0) --- Dependencies: 209 --- Name: UserNotifications_id_seq; Type: SEQUENCE OWNED BY; Schema: authorization_service; Owner: test +-- Name: UserNotifications_id_seq; Type: SEQUENCE OWNED BY; Schema: authorization_service; Owner: admin -- ALTER SEQUENCE authorization_service."UserNotifications_id_seq" OWNED BY authorization_service."UserNotifications".id; -- --- TOC entry 208 (class 1259 OID 258084) --- Name: Users; Type: TABLE; Schema: authorization_service; Owner: test +-- Name: Users; Type: TABLE; Schema: authorization_service; Owner: admin -- CREATE TABLE authorization_service."Users" ( @@ -235,11 +226,10 @@ CREATE TABLE authorization_service."Users" ( ); -ALTER TABLE authorization_service."Users" OWNER TO test; +ALTER TABLE authorization_service."Users" OWNER TO admin; -- --- TOC entry 193 (class 1259 OID 257759) --- Name: Notfications; Type: TABLE; Schema: public; Owner: test +-- Name: Notfications; Type: TABLE; Schema: public; Owner: admin -- CREATE TABLE public."Notfications" ( @@ -253,11 +243,10 @@ CREATE TABLE public."Notfications" ( ); -ALTER TABLE public."Notfications" OWNER TO test; +ALTER TABLE public."Notfications" OWNER TO admin; -- --- TOC entry 192 (class 1259 OID 257757) --- Name: Notfications_id_seq; Type: SEQUENCE; Schema: public; Owner: test +-- Name: Notfications_id_seq; Type: SEQUENCE; Schema: public; Owner: admin -- CREATE SEQUENCE public."Notfications_id_seq" @@ -268,20 +257,17 @@ CREATE SEQUENCE public."Notfications_id_seq" CACHE 1; -ALTER TABLE public."Notfications_id_seq" OWNER TO test; +ALTER TABLE public."Notfications_id_seq" OWNER TO admin; -- --- TOC entry 3416 (class 0 OID 0) --- Dependencies: 192 --- Name: Notfications_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: test +-- Name: Notfications_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: admin -- ALTER SEQUENCE public."Notfications_id_seq" OWNED BY public."Notfications".id; -- --- TOC entry 195 (class 1259 OID 257777) --- Name: Notifications; Type: TABLE; Schema: public; Owner: test +-- Name: Notifications; Type: TABLE; Schema: public; Owner: admin -- CREATE TABLE public."Notifications" ( @@ -295,11 +281,10 @@ CREATE TABLE public."Notifications" ( ); -ALTER TABLE public."Notifications" OWNER TO test; +ALTER TABLE public."Notifications" OWNER TO admin; -- --- TOC entry 194 (class 1259 OID 257775) --- Name: Notifications_id_seq; Type: SEQUENCE; Schema: public; Owner: test +-- Name: Notifications_id_seq; Type: SEQUENCE; Schema: public; Owner: admin -- CREATE SEQUENCE public."Notifications_id_seq" @@ -310,20 +295,17 @@ CREATE SEQUENCE public."Notifications_id_seq" CACHE 1; -ALTER TABLE public."Notifications_id_seq" OWNER TO test; +ALTER TABLE public."Notifications_id_seq" OWNER TO admin; -- --- TOC entry 3417 (class 0 OID 0) --- Dependencies: 194 --- Name: Notifications_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: test +-- Name: Notifications_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: admin -- ALTER SEQUENCE public."Notifications_id_seq" OWNED BY public."Notifications".id; -- --- TOC entry 191 (class 1259 OID 257751) --- Name: Users; Type: TABLE; Schema: public; Owner: test +-- Name: Users; Type: TABLE; Schema: public; Owner: admin -- CREATE TABLE public."Users" ( @@ -333,11 +315,10 @@ CREATE TABLE public."Users" ( ); -ALTER TABLE public."Users" OWNER TO test; +ALTER TABLE public."Users" OWNER TO admin; -- --- TOC entry 190 (class 1259 OID 257749) --- Name: Users_id_seq; Type: SEQUENCE; Schema: public; Owner: test +-- Name: Users_id_seq; Type: SEQUENCE; Schema: public; Owner: admin -- CREATE SEQUENCE public."Users_id_seq" @@ -348,24 +329,21 @@ CREATE SEQUENCE public."Users_id_seq" CACHE 1; -ALTER TABLE public."Users_id_seq" OWNER TO test; +ALTER TABLE public."Users_id_seq" OWNER TO admin; -- --- TOC entry 3418 (class 0 OID 0) --- Dependencies: 190 --- Name: Users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: test +-- Name: Users_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: admin -- ALTER SEQUENCE public."Users_id_seq" OWNED BY public."Users".id; -- --- TOC entry 224 (class 1259 OID 261438) --- Name: Channels; Type: TABLE; Schema: push; Owner: test +-- Name: Channels; Type: TABLE; Schema: push; Owner: admin -- CREATE TABLE push."Channels" ( - id uuid DEFAULT gen_random_uuid() NOT NULL, + id uuid DEFAULT public.gen_random_uuid() NOT NULL, slug character varying NOT NULL, name character varying NOT NULL, description character varying NOT NULL, @@ -382,15 +360,14 @@ CREATE TABLE push."Channels" ( ); -ALTER TABLE push."Channels" OWNER TO test; +ALTER TABLE push."Channels" OWNER TO admin; -- --- TOC entry 225 (class 1259 OID 261454) --- Name: Devices; Type: TABLE; Schema: push; Owner: test +-- Name: Devices; Type: TABLE; Schema: push; Owner: admin -- CREATE TABLE push."Devices" ( - id uuid DEFAULT gen_random_uuid() NOT NULL, + id uuid DEFAULT public.gen_random_uuid() NOT NULL, name character varying NOT NULL, info character varying, type character varying NOT NULL, @@ -401,11 +378,10 @@ CREATE TABLE push."Devices" ( ); -ALTER TABLE push."Devices" OWNER TO test; +ALTER TABLE push."Devices" OWNER TO admin; -- --- TOC entry 223 (class 1259 OID 261428) --- Name: Groups; Type: TABLE; Schema: push; Owner: test +-- Name: Groups; Type: TABLE; Schema: push; Owner: admin -- CREATE TABLE push."Groups" ( @@ -414,15 +390,14 @@ CREATE TABLE push."Groups" ( ); -ALTER TABLE push."Groups" OWNER TO test; +ALTER TABLE push."Groups" OWNER TO admin; -- --- TOC entry 222 (class 1259 OID 261418) --- Name: Notifications; Type: TABLE; Schema: push; Owner: test +-- Name: Notifications; Type: TABLE; Schema: push; Owner: admin -- CREATE TABLE push."Notifications" ( - id uuid DEFAULT gen_random_uuid() NOT NULL, + id uuid DEFAULT public.gen_random_uuid() NOT NULL, body character varying NOT NULL, "sendAt" timestamp without time zone, "sentAt" timestamp without time zone, @@ -436,15 +411,14 @@ CREATE TABLE push."Notifications" ( ); -ALTER TABLE push."Notifications" OWNER TO test; +ALTER TABLE push."Notifications" OWNER TO admin; -- --- TOC entry 226 (class 1259 OID 261463) --- Name: Preferences; Type: TABLE; Schema: push; Owner: test +-- Name: Preferences; Type: TABLE; Schema: push; Owner: admin -- CREATE TABLE push."Preferences" ( - id uuid DEFAULT gen_random_uuid() NOT NULL, + id uuid DEFAULT public.gen_random_uuid() NOT NULL, name character varying, type character varying NOT NULL, "notificationPriority" text, @@ -455,11 +429,10 @@ CREATE TABLE push."Preferences" ( ); -ALTER TABLE push."Preferences" OWNER TO test; +ALTER TABLE push."Preferences" OWNER TO admin; -- --- TOC entry 228 (class 1259 OID 261482) --- Name: Services; Type: TABLE; Schema: push; Owner: test +-- Name: Services; Type: TABLE; Schema: push; Owner: admin -- CREATE TABLE push."Services" ( @@ -469,30 +442,14 @@ CREATE TABLE push."Services" ( ); -ALTER TABLE push."Services" OWNER TO test; +ALTER TABLE push."Services" OWNER TO admin; -- --- TOC entry 234 (class 1259 OID 261632) --- Name: UserDailyNotifications; Type: TABLE; Schema: push; Owner: test --- - -CREATE TABLE push."UserDailyNotifications" ( - "userId" uuid, - "notificationId" uuid, - date date NOT NULL, - "time" time without time zone NOT NULL -); - - -ALTER TABLE push."UserDailyNotifications" OWNER TO test; - --- --- TOC entry 221 (class 1259 OID 261410) --- Name: UserNotifications; Type: TABLE; Schema: push; Owner: test +-- Name: UserNotifications; Type: TABLE; Schema: push; Owner: admin -- CREATE TABLE push."UserNotifications" ( - id uuid DEFAULT gen_random_uuid() NOT NULL, + id uuid DEFAULT public.gen_random_uuid() NOT NULL, sent boolean NOT NULL, read boolean NOT NULL, pinned boolean DEFAULT false NOT NULL, @@ -502,26 +459,24 @@ CREATE TABLE push."UserNotifications" ( ); -ALTER TABLE push."UserNotifications" OWNER TO test; +ALTER TABLE push."UserNotifications" OWNER TO admin; -- --- TOC entry 227 (class 1259 OID 261472) --- Name: Users; Type: TABLE; Schema: push; Owner: test +-- Name: Users; Type: TABLE; Schema: push; Owner: admin -- CREATE TABLE push."Users" ( - id uuid DEFAULT gen_random_uuid() NOT NULL, + id uuid DEFAULT public.gen_random_uuid() NOT NULL, username character varying NOT NULL, email character varying NOT NULL, enabled boolean NOT NULL ); -ALTER TABLE push."Users" OWNER TO test; +ALTER TABLE push."Users" OWNER TO admin; -- --- TOC entry 231 (class 1259 OID 261506) --- Name: channels_groups__groups; Type: TABLE; Schema: push; Owner: test +-- Name: channels_groups__groups; Type: TABLE; Schema: push; Owner: admin -- CREATE TABLE push.channels_groups__groups ( @@ -530,11 +485,10 @@ CREATE TABLE push.channels_groups__groups ( ); -ALTER TABLE push.channels_groups__groups OWNER TO test; +ALTER TABLE push.channels_groups__groups OWNER TO admin; -- --- TOC entry 229 (class 1259 OID 261492) --- Name: channels_members__users; Type: TABLE; Schema: push; Owner: test +-- Name: channels_members__users; Type: TABLE; Schema: push; Owner: admin -- CREATE TABLE push.channels_members__users ( @@ -543,11 +497,10 @@ CREATE TABLE push.channels_members__users ( ); -ALTER TABLE push.channels_members__users OWNER TO test; +ALTER TABLE push.channels_members__users OWNER TO admin; -- --- TOC entry 230 (class 1259 OID 261499) --- Name: channels_unsubscribed__users; Type: TABLE; Schema: push; Owner: test +-- Name: channels_unsubscribed__users; Type: TABLE; Schema: push; Owner: admin -- CREATE TABLE push.channels_unsubscribed__users ( @@ -556,11 +509,10 @@ CREATE TABLE push.channels_unsubscribed__users ( ); -ALTER TABLE push.channels_unsubscribed__users OWNER TO test; +ALTER TABLE push.channels_unsubscribed__users OWNER TO admin; -- --- TOC entry 232 (class 1259 OID 261516) --- Name: preferences_devices__devices; Type: TABLE; Schema: push; Owner: test +-- Name: preferences_devices__devices; Type: TABLE; Schema: push; Owner: admin -- CREATE TABLE push.preferences_devices__devices ( @@ -569,11 +521,10 @@ CREATE TABLE push.preferences_devices__devices ( ); -ALTER TABLE push.preferences_devices__devices OWNER TO test; +ALTER TABLE push.preferences_devices__devices OWNER TO admin; -- --- TOC entry 233 (class 1259 OID 261523) --- Name: preferences_disabled_channels__channels; Type: TABLE; Schema: push; Owner: test +-- Name: preferences_disabled_channels__channels; Type: TABLE; Schema: push; Owner: admin -- CREATE TABLE push.preferences_disabled_channels__channels ( @@ -582,11 +533,10 @@ CREATE TABLE push.preferences_disabled_channels__channels ( ); -ALTER TABLE push.preferences_disabled_channels__channels OWNER TO test; +ALTER TABLE push.preferences_disabled_channels__channels OWNER TO admin; -- --- TOC entry 218 (class 1259 OID 258948) --- Name: Notifications; Type: TABLE; Schema: push_test; Owner: test +-- Name: Notifications; Type: TABLE; Schema: push_test; Owner: admin -- CREATE TABLE push_test."Notifications" ( @@ -607,11 +557,10 @@ CREATE TABLE push_test."Notifications" ( ); -ALTER TABLE push_test."Notifications" OWNER TO test; +ALTER TABLE push_test."Notifications" OWNER TO admin; -- --- TOC entry 217 (class 1259 OID 258946) --- Name: Notifications_id_seq; Type: SEQUENCE; Schema: push_test; Owner: test +-- Name: Notifications_id_seq; Type: SEQUENCE; Schema: push_test; Owner: admin -- CREATE SEQUENCE push_test."Notifications_id_seq" @@ -622,20 +571,17 @@ CREATE SEQUENCE push_test."Notifications_id_seq" CACHE 1; -ALTER TABLE push_test."Notifications_id_seq" OWNER TO test; +ALTER TABLE push_test."Notifications_id_seq" OWNER TO admin; -- --- TOC entry 3419 (class 0 OID 0) --- Dependencies: 217 --- Name: Notifications_id_seq; Type: SEQUENCE OWNED BY; Schema: push_test; Owner: test +-- Name: Notifications_id_seq; Type: SEQUENCE OWNED BY; Schema: push_test; Owner: admin -- ALTER SEQUENCE push_test."Notifications_id_seq" OWNED BY push_test."Notifications".id; -- --- TOC entry 220 (class 1259 OID 258989) --- Name: Rules; Type: TABLE; Schema: push_test; Owner: test +-- Name: Rules; Type: TABLE; Schema: push_test; Owner: admin -- CREATE TABLE push_test."Rules" ( @@ -648,11 +594,10 @@ CREATE TABLE push_test."Rules" ( ); -ALTER TABLE push_test."Rules" OWNER TO test; +ALTER TABLE push_test."Rules" OWNER TO admin; -- --- TOC entry 219 (class 1259 OID 258987) --- Name: Rules_id_seq; Type: SEQUENCE; Schema: push_test; Owner: test +-- Name: Rules_id_seq; Type: SEQUENCE; Schema: push_test; Owner: admin -- CREATE SEQUENCE push_test."Rules_id_seq" @@ -663,20 +608,17 @@ CREATE SEQUENCE push_test."Rules_id_seq" CACHE 1; -ALTER TABLE push_test."Rules_id_seq" OWNER TO test; +ALTER TABLE push_test."Rules_id_seq" OWNER TO admin; -- --- TOC entry 3420 (class 0 OID 0) --- Dependencies: 219 --- Name: Rules_id_seq; Type: SEQUENCE OWNED BY; Schema: push_test; Owner: test +-- Name: Rules_id_seq; Type: SEQUENCE OWNED BY; Schema: push_test; Owner: admin -- ALTER SEQUENCE push_test."Rules_id_seq" OWNED BY push_test."Rules".id; -- --- TOC entry 214 (class 1259 OID 258811) --- Name: Services; Type: TABLE; Schema: push_test; Owner: test +-- Name: Services; Type: TABLE; Schema: push_test; Owner: admin -- CREATE TABLE push_test."Services" ( @@ -686,11 +628,10 @@ CREATE TABLE push_test."Services" ( ); -ALTER TABLE push_test."Services" OWNER TO test; +ALTER TABLE push_test."Services" OWNER TO admin; -- --- TOC entry 216 (class 1259 OID 258938) --- Name: UserNotifications; Type: TABLE; Schema: push_test; Owner: test +-- Name: UserNotifications; Type: TABLE; Schema: push_test; Owner: admin -- CREATE TABLE push_test."UserNotifications" ( @@ -703,11 +644,10 @@ CREATE TABLE push_test."UserNotifications" ( ); -ALTER TABLE push_test."UserNotifications" OWNER TO test; +ALTER TABLE push_test."UserNotifications" OWNER TO admin; -- --- TOC entry 215 (class 1259 OID 258936) --- Name: UserNotifications_id_seq; Type: SEQUENCE; Schema: push_test; Owner: test +-- Name: UserNotifications_id_seq; Type: SEQUENCE; Schema: push_test; Owner: admin -- CREATE SEQUENCE push_test."UserNotifications_id_seq" @@ -718,20 +658,17 @@ CREATE SEQUENCE push_test."UserNotifications_id_seq" CACHE 1; -ALTER TABLE push_test."UserNotifications_id_seq" OWNER TO test; +ALTER TABLE push_test."UserNotifications_id_seq" OWNER TO admin; -- --- TOC entry 3421 (class 0 OID 0) --- Dependencies: 215 --- Name: UserNotifications_id_seq; Type: SEQUENCE OWNED BY; Schema: push_test; Owner: test +-- Name: UserNotifications_id_seq; Type: SEQUENCE OWNED BY; Schema: push_test; Owner: admin -- ALTER SEQUENCE push_test."UserNotifications_id_seq" OWNED BY push_test."UserNotifications".id; -- --- TOC entry 213 (class 1259 OID 258584) --- Name: Users; Type: TABLE; Schema: push_test; Owner: test +-- Name: Users; Type: TABLE; Schema: push_test; Owner: admin -- CREATE TABLE push_test."Users" ( @@ -742,11 +679,10 @@ CREATE TABLE push_test."Users" ( ); -ALTER TABLE push_test."Users" OWNER TO test; +ALTER TABLE push_test."Users" OWNER TO admin; -- --- TOC entry 200 (class 1259 OID 257891) --- Name: Notifications; Type: TABLE; Schema: test; Owner: test +-- Name: Notifications; Type: TABLE; Schema: test; Owner: admin -- CREATE TABLE test."Notifications" ( @@ -761,11 +697,10 @@ CREATE TABLE test."Notifications" ( ); -ALTER TABLE test."Notifications" OWNER TO test; +ALTER TABLE test."Notifications" OWNER TO admin; -- --- TOC entry 199 (class 1259 OID 257889) --- Name: Notifications_id_seq; Type: SEQUENCE; Schema: test; Owner: test +-- Name: Notifications_id_seq; Type: SEQUENCE; Schema: test; Owner: admin -- CREATE SEQUENCE test."Notifications_id_seq" @@ -776,20 +711,17 @@ CREATE SEQUENCE test."Notifications_id_seq" CACHE 1; -ALTER TABLE test."Notifications_id_seq" OWNER TO test; +ALTER TABLE test."Notifications_id_seq" OWNER TO admin; -- --- TOC entry 3422 (class 0 OID 0) --- Dependencies: 199 --- Name: Notifications_id_seq; Type: SEQUENCE OWNED BY; Schema: test; Owner: test +-- Name: Notifications_id_seq; Type: SEQUENCE OWNED BY; Schema: test; Owner: admin -- ALTER SEQUENCE test."Notifications_id_seq" OWNED BY test."Notifications".id; -- --- TOC entry 197 (class 1259 OID 257870) --- Name: Rules; Type: TABLE; Schema: test; Owner: test +-- Name: Rules; Type: TABLE; Schema: test; Owner: admin -- CREATE TABLE test."Rules" ( @@ -801,11 +733,10 @@ CREATE TABLE test."Rules" ( ); -ALTER TABLE test."Rules" OWNER TO test; +ALTER TABLE test."Rules" OWNER TO admin; -- --- TOC entry 196 (class 1259 OID 257868) --- Name: Rules_id_seq; Type: SEQUENCE; Schema: test; Owner: test +-- Name: Rules_id_seq; Type: SEQUENCE; Schema: test; Owner: admin -- CREATE SEQUENCE test."Rules_id_seq" @@ -816,20 +747,17 @@ CREATE SEQUENCE test."Rules_id_seq" CACHE 1; -ALTER TABLE test."Rules_id_seq" OWNER TO test; +ALTER TABLE test."Rules_id_seq" OWNER TO admin; -- --- TOC entry 3423 (class 0 OID 0) --- Dependencies: 196 --- Name: Rules_id_seq; Type: SEQUENCE OWNED BY; Schema: test; Owner: test +-- Name: Rules_id_seq; Type: SEQUENCE OWNED BY; Schema: test; Owner: admin -- ALTER SEQUENCE test."Rules_id_seq" OWNED BY test."Rules".id; -- --- TOC entry 202 (class 1259 OID 257903) --- Name: Services; Type: TABLE; Schema: test; Owner: test +-- Name: Services; Type: TABLE; Schema: test; Owner: admin -- CREATE TABLE test."Services" ( @@ -839,11 +767,10 @@ CREATE TABLE test."Services" ( ); -ALTER TABLE test."Services" OWNER TO test; +ALTER TABLE test."Services" OWNER TO admin; -- --- TOC entry 201 (class 1259 OID 257901) --- Name: Services_id_seq; Type: SEQUENCE; Schema: test; Owner: test +-- Name: Services_id_seq; Type: SEQUENCE; Schema: test; Owner: admin -- CREATE SEQUENCE test."Services_id_seq" @@ -854,20 +781,17 @@ CREATE SEQUENCE test."Services_id_seq" CACHE 1; -ALTER TABLE test."Services_id_seq" OWNER TO test; +ALTER TABLE test."Services_id_seq" OWNER TO admin; -- --- TOC entry 3424 (class 0 OID 0) --- Dependencies: 201 --- Name: Services_id_seq; Type: SEQUENCE OWNED BY; Schema: test; Owner: test +-- Name: Services_id_seq; Type: SEQUENCE OWNED BY; Schema: test; Owner: admin -- ALTER SEQUENCE test."Services_id_seq" OWNED BY test."Services".id; -- --- TOC entry 198 (class 1259 OID 257881) --- Name: Users; Type: TABLE; Schema: test; Owner: test +-- Name: Users; Type: TABLE; Schema: test; Owner: admin -- CREATE TABLE test."Users" ( @@ -877,11 +801,10 @@ CREATE TABLE test."Users" ( ); -ALTER TABLE test."Users" OWNER TO test; +ALTER TABLE test."Users" OWNER TO admin; -- --- TOC entry 203 (class 1259 OID 257916) --- Name: users_notifications__notifications; Type: TABLE; Schema: test; Owner: test +-- Name: users_notifications__notifications; Type: TABLE; Schema: test; Owner: admin -- CREATE TABLE test.users_notifications__notifications ( @@ -890,246 +813,232 @@ CREATE TABLE test.users_notifications__notifications ( ); -ALTER TABLE test.users_notifications__notifications OWNER TO test; +ALTER TABLE test.users_notifications__notifications OWNER TO admin; -- --- TOC entry 3090 (class 2604 OID 258106) --- Name: Notifications id; Type: DEFAULT; Schema: authorization_service; Owner: test +-- Name: Notifications id; Type: DEFAULT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."Notifications" ALTER COLUMN id SET DEFAULT nextval('authorization_service."Notifications_id_seq"'::regclass); -- --- TOC entry 3088 (class 2604 OID 258076) --- Name: Rules id; Type: DEFAULT; Schema: authorization_service; Owner: test +-- Name: Rules id; Type: DEFAULT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."Rules" ALTER COLUMN id SET DEFAULT nextval('authorization_service."Rules_id_seq"'::regclass); -- --- TOC entry 3087 (class 2604 OID 258061) --- Name: Services id; Type: DEFAULT; Schema: authorization_service; Owner: test +-- Name: Services id; Type: DEFAULT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."Services" ALTER COLUMN id SET DEFAULT nextval('authorization_service."Services_id_seq"'::regclass); -- --- TOC entry 3089 (class 2604 OID 258097) --- Name: UserNotifications id; Type: DEFAULT; Schema: authorization_service; Owner: test +-- Name: UserNotifications id; Type: DEFAULT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."UserNotifications" ALTER COLUMN id SET DEFAULT nextval('authorization_service."UserNotifications_id_seq"'::regclass); -- --- TOC entry 3079 (class 2604 OID 257762) --- Name: Notfications id; Type: DEFAULT; Schema: public; Owner: test +-- Name: Notfications id; Type: DEFAULT; Schema: public; Owner: admin -- ALTER TABLE ONLY public."Notfications" ALTER COLUMN id SET DEFAULT nextval('public."Notfications_id_seq"'::regclass); -- --- TOC entry 3081 (class 2604 OID 257780) --- Name: Notifications id; Type: DEFAULT; Schema: public; Owner: test +-- Name: Notifications id; Type: DEFAULT; Schema: public; Owner: admin -- ALTER TABLE ONLY public."Notifications" ALTER COLUMN id SET DEFAULT nextval('public."Notifications_id_seq"'::regclass); -- --- TOC entry 3078 (class 2604 OID 257754) --- Name: Users id; Type: DEFAULT; Schema: public; Owner: test +-- Name: Users id; Type: DEFAULT; Schema: public; Owner: admin -- ALTER TABLE ONLY public."Users" ALTER COLUMN id SET DEFAULT nextval('public."Users_id_seq"'::regclass); -- --- TOC entry 3095 (class 2604 OID 258951) --- Name: Notifications id; Type: DEFAULT; Schema: push_test; Owner: test +-- Name: Notifications id; Type: DEFAULT; Schema: push_test; Owner: admin -- ALTER TABLE ONLY push_test."Notifications" ALTER COLUMN id SET DEFAULT nextval('push_test."Notifications_id_seq"'::regclass); -- --- TOC entry 3097 (class 2604 OID 258992) --- Name: Rules id; Type: DEFAULT; Schema: push_test; Owner: test +-- Name: Rules id; Type: DEFAULT; Schema: push_test; Owner: admin -- ALTER TABLE ONLY push_test."Rules" ALTER COLUMN id SET DEFAULT nextval('push_test."Rules_id_seq"'::regclass); -- --- TOC entry 3092 (class 2604 OID 258941) --- Name: UserNotifications id; Type: DEFAULT; Schema: push_test; Owner: test +-- Name: UserNotifications id; Type: DEFAULT; Schema: push_test; Owner: admin -- ALTER TABLE ONLY push_test."UserNotifications" ALTER COLUMN id SET DEFAULT nextval('push_test."UserNotifications_id_seq"'::regclass); -- --- TOC entry 3084 (class 2604 OID 257894) --- Name: Notifications id; Type: DEFAULT; Schema: test; Owner: test +-- Name: Notifications id; Type: DEFAULT; Schema: test; Owner: admin -- ALTER TABLE ONLY test."Notifications" ALTER COLUMN id SET DEFAULT nextval('test."Notifications_id_seq"'::regclass); -- --- TOC entry 3083 (class 2604 OID 257873) --- Name: Rules id; Type: DEFAULT; Schema: test; Owner: test +-- Name: Rules id; Type: DEFAULT; Schema: test; Owner: admin -- ALTER TABLE ONLY test."Rules" ALTER COLUMN id SET DEFAULT nextval('test."Rules_id_seq"'::regclass); -- --- TOC entry 3086 (class 2604 OID 257906) --- Name: Services id; Type: DEFAULT; Schema: test; Owner: test +-- Name: Services id; Type: DEFAULT; Schema: test; Owner: admin -- ALTER TABLE ONLY test."Services" ALTER COLUMN id SET DEFAULT nextval('test."Services_id_seq"'::regclass); -- --- TOC entry 3383 (class 0 OID 258103) --- Dependencies: 212 --- Data for Name: Notifications; Type: TABLE DATA; Schema: authorization_service; Owner: test +-- Data for Name: Notifications; Type: TABLE DATA; Schema: authorization_service; Owner: admin -- -- --- TOC entry 3378 (class 0 OID 258073) --- Dependencies: 207 --- Data for Name: Rules; Type: TABLE DATA; Schema: authorization_service; Owner: test +-- Data for Name: Rules; Type: TABLE DATA; Schema: authorization_service; Owner: admin -- -- --- TOC entry 3376 (class 0 OID 258058) --- Dependencies: 205 --- Data for Name: Services; Type: TABLE DATA; Schema: authorization_service; Owner: test +-- Data for Name: Services; Type: TABLE DATA; Schema: authorization_service; Owner: admin -- -INSERT INTO authorization_service."Services" (id, name, "apiKey") VALUES (2, 'authorization-service', 'e9ac78c1a8e1d67360036bd4cefef6ffd7a849c2dd97bbf98ef08817b80cf398'); +INSERT INTO authorization_service."Services" VALUES (2, 'authorization-service', 'e9ac78c1a8e1d67360036bd4cefef6ffd7a849c2dd97bbf98ef08817b80cf398'); -- --- TOC entry 3381 (class 0 OID 258094) --- Dependencies: 210 --- Data for Name: UserNotifications; Type: TABLE DATA; Schema: authorization_service; Owner: test +-- Data for Name: UserNotifications; Type: TABLE DATA; Schema: authorization_service; Owner: admin -- -- --- TOC entry 3379 (class 0 OID 258084) --- Dependencies: 208 --- Data for Name: Users; Type: TABLE DATA; Schema: authorization_service; Owner: test +-- Data for Name: Users; Type: TABLE DATA; Schema: authorization_service; Owner: admin -- -- --- TOC entry 3364 (class 0 OID 257759) --- Dependencies: 193 --- Data for Name: Notfications; Type: TABLE DATA; Schema: public; Owner: test +-- Data for Name: Notfications; Type: TABLE DATA; Schema: public; Owner: admin -- -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (1, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (2, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (3, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (4, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (5, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (6, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (7, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (8, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (9, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (10, 'Test 19 July 2018', 'Test 19 July 2018', 'Test 19 July 2018', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (11, 'Test 20 July 2018', 'Test 20 July 2018', 'Test 20 July 2018', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (17, 'target', 'Test', 'This is a test notifications', false, NULL, NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (19, 'all', 'Test', 'This is a test notifications', false, NULL, NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (20, 'all', 'test', 'This is a test notification', false, NULL, NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (21, 'Test 20 July 2018 David [2]', 'Test 20 July 2018 David [2]', 'Test 20 July 2018 David [2]', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (22, 'Test 20 July 2018 David [3]', 'Test 20 July 2018 David [3]', 'Test 20 July 2018 David [3]', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (23, 'david.martin.clavo@cern.ch', 'Test 20 July 2018 David [4]', 'Test 20 July 2018 David [4]', false, '2018-08-17 00:00:00', NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (24, 'Mario', 'Test', 'This is a test notification', false, NULL, NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (28, 'all', 'test', 'eeey testing material ui', false, NULL, NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (29, 'all', 'test', 'eeey testing material ui', false, NULL, NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (30, 'all', 'test', 'eeey testing material ui', false, NULL, NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (31, 'all', 'test', 'eeey testing material ui', false, NULL, NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (32, 'all', 'test', 'eeey testing material ui', false, NULL, NULL); -INSERT INTO public."Notfications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (36, 'adsf', 'adsf', 'adsf', false, NULL, NULL); +INSERT INTO public."Notfications" VALUES (1, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (2, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (3, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (4, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (5, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (6, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (7, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (8, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (9, 'Me', 'Test', 'Send push notification test', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (10, 'Test 19 July 2018', 'Test 19 July 2018', 'Test 19 July 2018', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (11, 'Test 20 July 2018', 'Test 20 July 2018', 'Test 20 July 2018', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (17, 'target', 'Test', 'This is a test notifications', false, NULL, NULL); +INSERT INTO public."Notfications" VALUES (19, 'all', 'Test', 'This is a test notifications', false, NULL, NULL); +INSERT INTO public."Notfications" VALUES (20, 'all', 'test', 'This is a test notification', false, NULL, NULL); +INSERT INTO public."Notfications" VALUES (21, 'Test 20 July 2018 David [2]', 'Test 20 July 2018 David [2]', 'Test 20 July 2018 David [2]', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (22, 'Test 20 July 2018 David [3]', 'Test 20 July 2018 David [3]', 'Test 20 July 2018 David [3]', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (23, 'david.martin.clavo@cern.ch', 'Test 20 July 2018 David [4]', 'Test 20 July 2018 David [4]', false, '2018-08-17 00:00:00', NULL); +INSERT INTO public."Notfications" VALUES (24, 'Mario', 'Test', 'This is a test notification', false, NULL, NULL); +INSERT INTO public."Notfications" VALUES (28, 'all', 'test', 'eeey testing material ui', false, NULL, NULL); +INSERT INTO public."Notfications" VALUES (29, 'all', 'test', 'eeey testing material ui', false, NULL, NULL); +INSERT INTO public."Notfications" VALUES (30, 'all', 'test', 'eeey testing material ui', false, NULL, NULL); +INSERT INTO public."Notfications" VALUES (31, 'all', 'test', 'eeey testing material ui', false, NULL, NULL); +INSERT INTO public."Notfications" VALUES (32, 'all', 'test', 'eeey testing material ui', false, NULL, NULL); +INSERT INTO public."Notfications" VALUES (36, 'adsf', 'adsf', 'adsf', false, NULL, NULL); -- --- TOC entry 3366 (class 0 OID 257777) --- Dependencies: 195 --- Data for Name: Notifications; Type: TABLE DATA; Schema: public; Owner: test +-- Data for Name: Notifications; Type: TABLE DATA; Schema: public; Owner: admin -- -INSERT INTO public."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (1, 'Panero', 'Test', 'This is a test notification', false, NULL, NULL); -INSERT INTO public."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (2, 'Mario', 'Test', 'This is a test notification', false, NULL, NULL); -INSERT INTO public."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt") VALUES (4, 'pablo.roncer.fernandez@cern.ch', 'Test', 'This is a test notification', false, NULL, NULL); +INSERT INTO public."Notifications" VALUES (1, 'Panero', 'Test', 'This is a test notification', false, NULL, NULL); +INSERT INTO public."Notifications" VALUES (2, 'Mario', 'Test', 'This is a test notification', false, NULL, NULL); +INSERT INTO public."Notifications" VALUES (4, 'pablo.roncer.fernandez@cern.ch', 'Test', 'This is a test notification', false, NULL, NULL); -- --- TOC entry 3362 (class 0 OID 257751) --- Dependencies: 191 --- Data for Name: Users; Type: TABLE DATA; Schema: public; Owner: test +-- Data for Name: Users; Type: TABLE DATA; Schema: public; Owner: admin -- -- --- TOC entry 3395 (class 0 OID 261438) --- Dependencies: 224 --- Data for Name: Channels; Type: TABLE DATA; Schema: push; Owner: test +-- Data for Name: Channels; Type: TABLE DATA; Schema: push; Owner: admin -- -INSERT INTO push."Channels" (id, slug, name, description, visibility, "subscriptionPolicy", archive, "APIKey", "creationDate", "lastActivityDate", "incomingEmail", "deleteDate", "ownerId", "adminGroupId") VALUES ('a8b1b6db-2543-4549-b143-442735739fed', 'notifications-dev-test-channel', 'Notifications DEV Test Channel', 'Notifications DEV Test Channel', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-02-26 18:38:30.292949', '2021-02-26 18:38:30.292949', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', '186d8dfc-2774-43a8-91b5-a887fcb6ba4a'); -INSERT INTO push."Channels" (id, slug, name, description, visibility, "subscriptionPolicy", archive, "APIKey", "creationDate", "lastActivityDate", "incomingEmail", "deleteDate", "ownerId", "adminGroupId") VALUES ('00736a81-9f42-49c8-9d2c-1b8536507706', '0', 'Test-Notifications', 'Test Channel For notifications', 'INTERNAL', 'SELF_SUBSCRIPTION', false, NULL, '2021-02-26 19:44:44.030731', '2021-02-26 19:44:44.030731', 'igor.jakovljevic@outlook.com', NULL, '598d151c-f850-451e-9eac-1f6a3d987a5c', '08d7bc9a-583b-4015-86a5-4ab9f3f771b8'); -INSERT INTO push."Channels" (id, slug, name, description, visibility, "subscriptionPolicy", archive, "APIKey", "creationDate", "lastActivityDate", "incomingEmail", "deleteDate", "ownerId", "adminGroupId") VALUES ('ac47643d-0f6e-4c33-9d96-3fa3946215a8', 'caetan-test-channel', 'Caetan Test Channel (edit)', 'This is the test Channel for Caetán (edited)', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-03-01 10:04:22.492549', '2021-03-01 10:04:22.492549', NULL, NULL, 'a7fc13ae-f38c-4501-83f3-e37a35661fa1', NULL); +INSERT INTO push."Channels" VALUES ('a8b1b6db-2543-4549-b143-442735739fed', 'notifications-dev-test-channel', 'Notifications DEV Test Channel', 'Notifications DEV Test Channel', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-02-26 18:38:30.292949', '2021-02-26 18:38:30.292949', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', '186d8dfc-2774-43a8-91b5-a887fcb6ba4a'); +INSERT INTO push."Channels" VALUES ('00736a81-9f42-49c8-9d2c-1b8536507706', '0', 'Test-Notifications', 'Test Channel For notifications', 'INTERNAL', 'SELF_SUBSCRIPTION', false, NULL, '2021-02-26 19:44:44.030731', '2021-02-26 19:44:44.030731', 'igor.jakovljevic@outlook.com', NULL, '598d151c-f850-451e-9eac-1f6a3d987a5c', '08d7bc9a-583b-4015-86a5-4ab9f3f771b8'); +INSERT INTO push."Channels" VALUES ('ac47643d-0f6e-4c33-9d96-3fa3946215a8', 'caetan-test-channel', 'Caetan Test Channel (edit)', 'This is the test Channel for Caetán (edited)', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-03-01 10:04:22.492549', '2021-03-01 10:04:22.492549', NULL, NULL, 'a7fc13ae-f38c-4501-83f3-e37a35661fa1', NULL); +INSERT INTO push."Channels" VALUES ('93015feb-b53d-4806-ae9c-1f630bca5a0c', 'a', 'a', '', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-03-01 11:37:22.570865', '2021-03-01 11:37:22.570865', NULL, '2021-03-01 11:37:29.779889', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', NULL); +INSERT INTO push."Channels" VALUES ('9367e33e-47df-4648-825e-e6b52d73b593', 'test-public-channel', 'Test Public Channel', 'A Public Channel for testing', 'PUBLIC', 'SELF_SUBSCRIPTION', false, NULL, '2021-03-01 11:38:04.611044', '2021-03-01 11:38:04.611044', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', NULL); +INSERT INTO push."Channels" VALUES ('23ada92a-e7dd-4c19-90b0-a9493f95f1e4', 'a-wf-restricted-test-channel', 'A WF Restricted test channel', '', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-03-01 12:58:00.902803', '2021-03-01 12:58:00.902803', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', '186d8dfc-2774-43a8-91b5-a887fcb6ba4a'); +INSERT INTO push."Channels" VALUES ('fbd18055-a847-40b9-9a98-d9f400ebd08b', 'my-internal-test-channel-2', 'My Internal Test Channel 2', '', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-03-01 12:53:48.935061', '2021-03-01 12:53:48.935061', NULL, '2021-03-01 15:39:48.298667', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', NULL); +INSERT INTO push."Channels" VALUES ('8f2361db-f1e9-47da-92fc-8ff74c7a3b3a', 'caetan-test-channel--edit-', 'Caetan Test Channel (edit)', 'This is the test Channel for Caetán (edited)', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-03-02 09:27:41.717181', '2021-03-02 09:27:41.717181', NULL, '2021-03-02 09:28:49.751187', 'a7fc13ae-f38c-4501-83f3-e37a35661fa1', NULL); +INSERT INTO push."Channels" VALUES ('44a197e8-2fdc-4a7f-a9a5-4d02c050ebf1', 'testing-caetan', 'Testing Caetan', '', 'RESTRICTED', 'DYNAMIC', true, NULL, '2021-03-02 12:06:46.467351', '2021-03-02 12:06:46.467351', NULL, NULL, 'a7fc13ae-f38c-4501-83f3-e37a35661fa1', NULL); +INSERT INTO push."Channels" VALUES ('c3ccc15b-298f-4dc7-877f-2c8970331caf', 'it-cda-wf', 'IT-CDA-WF', 'Section notification channel for IT-CDA-WF section', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-03-02 14:50:36.472017', '2021-03-02 14:50:36.472017', NULL, NULL, '0cbbcb15-e43c-4eab-b08f-99bf256ce6c0', NULL); +INSERT INTO push."Channels" VALUES ('a155ee5a-fcc4-4b0c-8cf7-e1ad11a78fce', 'cern-news', 'CERN News', 'Organization news (https://home.cern)', 'PUBLIC', 'SELF_SUBSCRIPTION', false, NULL, '2021-03-02 14:51:08.972028', '2021-03-02 14:51:08.972028', NULL, NULL, '0cbbcb15-e43c-4eab-b08f-99bf256ce6c0', NULL); +INSERT INTO push."Channels" VALUES ('533788d4-2fb2-48bf-854b-60d0fd814406', 'it-security-news', 'IT Security news', 'IT Security news and notifications', 'INTERNAL', 'SELF_SUBSCRIPTION', false, NULL, '2021-03-02 14:49:09.205001', '2021-03-02 14:49:09.205001', NULL, NULL, '0cbbcb15-e43c-4eab-b08f-99bf256ce6c0', NULL); +INSERT INTO push."Channels" VALUES ('a988f641-8966-41bb-b939-844757b82768', 'test-caetan2', 'Test Caetan2', '', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-03-05 19:37:54.585766', '2021-03-05 19:37:54.585766', NULL, '2021-03-05 19:39:38.071075', 'a7fc13ae-f38c-4501-83f3-e37a35661fa1', NULL); +INSERT INTO push."Channels" VALUES ('c0befa6f-2fd8-49b1-8947-2e4d72086dbc', 'test-caetan', 'Test Caetan', '', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-03-05 19:28:32.476382', '2021-03-05 19:28:32.476382', NULL, '2021-03-05 19:40:25.510027', 'a7fc13ae-f38c-4501-83f3-e37a35661fa1', NULL); +INSERT INTO push."Channels" VALUES ('e4aa1f94-9eba-43cc-ad3e-9d9d49b03891', 'test-self-subscription-with-approval', 'Test Self Subscription with approval', '', 'INTERNAL', 'SELF_SUBSCRIPTION_APPROVAL', false, NULL, '2021-03-01 14:14:03.452426', '2021-03-01 14:14:03.452426', NULL, '2021-03-04 12:40:12.36043', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', NULL); +INSERT INTO push."Channels" VALUES ('ef46aca0-e73b-4794-8043-ffe974247cc8', 'my-internal-test-channel', 'My Internal Test Channel', 'My Internal Test Channel', 'INTERNAL', 'DYNAMIC', false, NULL, '2021-03-01 12:52:17.25554', '2021-03-01 12:52:17.25554', NULL, '2021-03-05 10:54:16.881154', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', '186d8dfc-2774-43a8-91b5-a887fcb6ba4a'); +INSERT INTO push."Channels" VALUES ('9db3104b-1400-4fab-84bb-8ca42c38dc56', 'test-caetan3', 'Test Caetan3', '', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-03-05 19:43:20.658645', '2021-03-05 19:43:20.658645', NULL, '2021-03-05 19:51:31.016036', 'a7fc13ae-f38c-4501-83f3-e37a35661fa1', NULL); +INSERT INTO push."Channels" VALUES ('431d3f39-2df7-4b22-b63e-ad40670a7091', 'carina-s-restricted-test-channel', 'Carina''s Restricted Test Channel', '', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-03-05 10:53:34.557828', '2021-03-05 10:53:34.557828', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', NULL); +INSERT INTO push."Channels" VALUES ('54f42ef2-8dc8-4dd1-986d-18025eb74b82', 'carina-s-internal-test-channel', 'Carina''s Internal Test Channel', '', 'INTERNAL', 'SELF_SUBSCRIPTION_APPROVAL', false, NULL, '2021-03-01 12:56:47.422348', '2021-03-01 12:56:47.422348', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', NULL); +INSERT INTO push."Channels" VALUES ('1d652946-524a-4115-bd06-ec6fc4de7939', 'test', 'test', '', 'RESTRICTED', 'DYNAMIC', false, NULL, '2021-03-08 14:28:08.863671', '2021-03-08 14:28:08.863671', NULL, '2021-03-08 14:28:32.912806', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', '186d8dfc-2774-43a8-91b5-a887fcb6ba4a'); -- --- TOC entry 3396 (class 0 OID 261454) --- Dependencies: 225 --- Data for Name: Devices; Type: TABLE DATA; Schema: push; Owner: test +-- Data for Name: Devices; Type: TABLE DATA; Schema: push; Owner: admin -- -INSERT INTO push."Devices" (id, name, info, type, "subType", uuid, token, "userId") VALUES ('d4e15d11-a56e-4568-9e9f-497110426a72', 'carina.oliveira.antunes@cern.ch', 'Default', 'MAIL', NULL, NULL, 'carina.oliveira.antunes@cern.ch', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7'); -INSERT INTO push."Devices" (id, name, info, type, "subType", uuid, token, "userId") VALUES ('c14467fd-acd5-446a-b2e8-31f4eb601a37', 'caetan.tojeiro.carpente@cern.ch', 'Default', 'MAIL', NULL, NULL, 'caetan.tojeiro.carpente@cern.ch', 'a7fc13ae-f38c-4501-83f3-e37a35661fa1'); -INSERT INTO push."Devices" (id, name, info, type, "subType", uuid, token, "userId") VALUES ('5b2d3c49-e4dc-4827-ae75-0ab48e1b5ac6', 'igor.jakovljevic@cern.ch', 'Default', 'MAIL', NULL, NULL, 'igor.jakovljevic@cern.ch', '598d151c-f850-451e-9eac-1f6a3d987a5c'); -INSERT INTO push."Devices" (id, name, info, type, "subType", uuid, token, "userId") VALUES ('fa69dcc7-8c71-41af-9886-8993c124c8de', 'emmanuel.ormancey@cern.ch', 'Default', 'MAIL', NULL, NULL, 'emmanuel.ormancey@cern.ch', '60a5b86e-345e-47bc-915f-2a8af500485b'); -INSERT INTO push."Devices" (id, name, info, type, "subType", uuid, token, "userId") VALUES ('4d36d008-ee1e-4e66-8c46-6dc4742210ef', 'Mac Chrome', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36', 'BROWSER', 'OTHER', '2c8e2dd3-c850-417c-b1a6-57fedee8bd60', '{"endpoint":"https://fcm.googleapis.com/fcm/send/e-OO6NZSAdA:APA91bEotRFt3nj7wo_6UKD0xp3N3kt9YCWGvSz9jrwtvHYlssW6jjpO5znRvac_azKIrpHvcAJ88ucBZ15WLRj0aNrytkwdoB-CNmbirF9cz462QgNYjSZwwUslH6aU8aB7QYICy8jj","expirationTime":null,"keys":{"p256dh":"BK71DL-82wyjT68Xv0Rr7C8LwJQWwkiKYvgr5D2I_SgQS30o8Nu0wFSQDoB8q3HVjTskn3_LvQVN3_ocT4_-4UE","auth":"8t1uf7_SYN_bY5__-40UYQ"}}', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7'); +INSERT INTO push."Devices" VALUES ('d4e15d11-a56e-4568-9e9f-497110426a72', 'carina.oliveira.antunes@cern.ch', 'Default', 'MAIL', NULL, NULL, 'carina.oliveira.antunes@cern.ch', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7'); +INSERT INTO push."Devices" VALUES ('c14467fd-acd5-446a-b2e8-31f4eb601a37', 'caetan.tojeiro.carpente@cern.ch', 'Default', 'MAIL', NULL, NULL, 'caetan.tojeiro.carpente@cern.ch', 'a7fc13ae-f38c-4501-83f3-e37a35661fa1'); +INSERT INTO push."Devices" VALUES ('5b2d3c49-e4dc-4827-ae75-0ab48e1b5ac6', 'igor.jakovljevic@cern.ch', 'Default', 'MAIL', NULL, NULL, 'igor.jakovljevic@cern.ch', '598d151c-f850-451e-9eac-1f6a3d987a5c'); +INSERT INTO push."Devices" VALUES ('fa69dcc7-8c71-41af-9886-8993c124c8de', 'emmanuel.ormancey@cern.ch', 'Default', 'MAIL', NULL, NULL, 'emmanuel.ormancey@cern.ch', '60a5b86e-345e-47bc-915f-2a8af500485b'); +INSERT INTO push."Devices" VALUES ('7b338d47-a34d-46f6-a6be-ce123f03a8ac', 'Mac Chrome', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36', 'BROWSER', 'OTHER', '92fee1b5-838c-4f10-9bf2-cc4a593f2fa9', '{"endpoint":"https://fcm.googleapis.com/fcm/send/eDyYgiUXIKY:APA91bHKPJ7s3MbHoP9oNAL16RkAZGS08qo9DmTd8x7abUjQbNCqsaLjqUjHfcC_qv3BAIkMJg_ZgpaOz6rvt9_jVOGmFgPBGAmQVqoOfMI86ACl0xoE6bQES-ZjIIpVScfK5Lf9U824","expirationTime":null,"keys":{"p256dh":"BP9a5bhIQFbAp4doR0MpkW_mAM94RBupsMoVXARke72yXadW7ZbebdugAHtIXJWk58l3Ks5tmCkoGoE4VYMta5o","auth":"peGTvAd3tL2_KuEay5xvpg"}}', '60a5b86e-345e-47bc-915f-2a8af500485b'); +INSERT INTO push."Devices" VALUES ('26d0fb3e-5d1c-4a19-a624-c1893dcd9a10', 'eduardo.alvarez.fernandez@cern.ch', 'Default', 'MAIL', NULL, NULL, 'eduardo.alvarez.fernandez@cern.ch', '0cbbcb15-e43c-4eab-b08f-99bf256ce6c0'); +INSERT INTO push."Devices" VALUES ('709ff952-fccc-4d76-86b7-b07095e38d64', 'Mac Chrome', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36', 'BROWSER', 'OTHER', 'c1849bd8-582e-48a7-bf44-4178f4d2e7a1', '{"endpoint":"https://fcm.googleapis.com/fcm/send/dEjy4ellkcg:APA91bGQgjSBS9LJ9tPvc1l5z0H8kjD72G98syoMHcpxlzFg1p-gpZ0ZYm2ZftIB9CWhUBjv5OhihQTnWthOSkIUI9Vtw52upgdRwV1TUfwpqLONHVF-O1hQ7VXZ6TWNNvPDj2scNMYR","expirationTime":null,"keys":{"p256dh":"BH0V73uMKlWxdAu4VllY2p0Z1Xxk21qVsmyeVKB1PvmNuOs5X_PJnJEtiBZ9MpAwKWLoqs3KVlTLeRqY1bRJcgc","auth":"ZFby3OtJkhyKhaiOD1CIlA"}}', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7'); +INSERT INTO push."Devices" VALUES ('3df09d16-5ad8-4654-9542-5a2aaeaeba37', 'Win Chrome', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36', 'BROWSER', 'OTHER', '278e03a0-dce7-4957-af66-99d624667802', '{"endpoint":"https://fcm.googleapis.com/fcm/send/dZc0xNybiGs:APA91bFv-eAJoZrXxii5YvmWsRYvwrjw6brr5_OM7MgPgFRWG1ALFNCpz3A9SlBnF_c4-HMCA-2GvCs7T5fy96Aa43jIHh01G2HfzYjdju00PKMcqnHp4I3vOaMzKZqviDvjpCVT92tG","expirationTime":null,"keys":{"p256dh":"BDMCyG7hwxxj_6oqqgy1rFQ8IsNx07VZiL0zSMxMp5Zoi3wjBp76aS_-IMkuhUkI2ob_XEU9kynY75vpamYEQEw","auth":"OvLTX1JnFehi7alUSkqHoA"}}', '0cbbcb15-e43c-4eab-b08f-99bf256ce6c0'); +INSERT INTO push."Devices" VALUES ('ac83f078-d4a6-4355-adaa-790fd19e3b40', 'dimitra.chatzichrysou@cern.ch', 'Default', 'MAIL', NULL, NULL, 'dimitra.chatzichrysou@cern.ch', '3855058d-a287-4cf8-974e-502fc568af78'); +INSERT INTO push."Devices" VALUES ('0f2958d8-c386-4b32-a9b3-669caf3cd296', 'admca@cern.ch', 'Default', 'MAIL', NULL, NULL, 'admca@cern.ch', 'dbf92a91-553f-4d7d-9ac5-d19ddfcf9c6e'); +INSERT INTO push."Devices" VALUES ('8d515b7f-5f2c-4d1c-8c31-592d1c795fc9', 'sjdfnksjfjksdf.fsdfsdfsd@cern.ch', 'Default', 'MAIL', NULL, NULL, 'sjdfnksjfjksdf.fsdfsdfsd@cern.ch', '88733d47-5c15-4503-b5be-3ad194c137fb'); -- --- TOC entry 3394 (class 0 OID 261428) --- Dependencies: 223 --- Data for Name: Groups; Type: TABLE DATA; Schema: push; Owner: test +-- Data for Name: Groups; Type: TABLE DATA; Schema: push; Owner: admin -- -INSERT INTO push."Groups" (id, "groupIdentifier") VALUES ('186d8dfc-2774-43a8-91b5-a887fcb6ba4a', 'it-dep-cda-wf'); -INSERT INTO push."Groups" (id, "groupIdentifier") VALUES ('08d82a52-7972-4fed-8135-bf603f002247', 'notifications-service-admins'); -INSERT INTO push."Groups" (id, "groupIdentifier") VALUES ('08d7bc9a-583b-4015-86a5-4ab9f3f771b8', 'notifications-admins'); +INSERT INTO push."Groups" VALUES ('186d8dfc-2774-43a8-91b5-a887fcb6ba4a', 'it-dep-cda-wf'); +INSERT INTO push."Groups" VALUES ('08d82a52-7972-4fed-8135-bf603f002247', 'notifications-service-admins'); +INSERT INTO push."Groups" VALUES ('08d7bc9a-583b-4015-86a5-4ab9f3f771b8', 'notifications-admins'); -- --- TOC entry 3393 (class 0 OID 261418) --- Dependencies: 222 --- Data for Name: Notifications; Type: TABLE DATA; Schema: push; Owner: test +-- Data for Name: Notifications; Type: TABLE DATA; Schema: push; Owner: admin -- -INSERT INTO push."Notifications" (id, body, "sendAt", "sentAt", tags, link, summary, "contentType", "imgUrl", priority, "targetId") VALUES ('550d47a8-5247-47a8-ab7c-b5452485e69b', '<p><img alt="" src="https://codimd.web.cern.ch/uploads/upload_e3ccd0101f70e1b546ae45db09922bde.png" /></p> +INSERT INTO push."Notifications" VALUES ('550d47a8-5247-47a8-ab7c-b5452485e69b', '<p><img alt="" src="https://codimd.web.cern.ch/uploads/upload_e3ccd0101f70e1b546ae45db09922bde.png" /></p> <p> </p> @@ -1145,123 +1054,224 @@ INSERT INTO push."Notifications" (id, body, "sendAt", "sentAt", tags, link, summ <p>Phasellus imperdiet auctor felis non posuere. Morbi egestas pharetra dui non porta. Aliquam laoreet finibus ullamcorper. Phasellus eget magna vitae nisi scelerisque tincidunt. Quisque ornare odio in pharetra faucibus. Vivamus semper, velit eu viverra tristique, felis libero vehicula elit, in interdum felis magna a lacus. Etiam ut purus cursus, consectetur urna eu, rhoncus ante. Nam aliquam massa quis ullamcorper elementum. Vestibulum sagittis, dui at semper lobortis, eros felis dignissim ligula, ut pulvinar arcu ante ut dui. Aliquam ac ultrices lorem.</p> ', NULL, '2021-02-26 17:42:17.91', NULL, NULL, 'My first test notification!', NULL, NULL, 'NORMAL', 'a8b1b6db-2543-4549-b143-442735739fed'); -INSERT INTO push."Notifications" (id, body, "sendAt", "sentAt", tags, link, summary, "contentType", "imgUrl", priority, "targetId") VALUES ('283e560a-9b08-4fda-8841-fe8682b755e0', '<p>Mega Test</p> +INSERT INTO push."Notifications" VALUES ('283e560a-9b08-4fda-8841-fe8682b755e0', '<p>Mega Test</p> ', NULL, '2021-02-26 18:45:37.19', NULL, NULL, 'Title', NULL, NULL, 'NORMAL', '00736a81-9f42-49c8-9d2c-1b8536507706'); -INSERT INTO push."Notifications" (id, body, "sendAt", "sentAt", tags, link, summary, "contentType", "imgUrl", priority, "targetId") VALUES ('c56ed0c6-af50-44fe-a631-76465c5150e6', '<p>Test 2</p> +INSERT INTO push."Notifications" VALUES ('c56ed0c6-af50-44fe-a631-76465c5150e6', '<p>Test 2</p> ', NULL, '2021-03-01 08:48:47.525', NULL, NULL, 'Test 2', NULL, NULL, 'NORMAL', '00736a81-9f42-49c8-9d2c-1b8536507706'); -INSERT INTO push."Notifications" (id, body, "sendAt", "sentAt", tags, link, summary, "contentType", "imgUrl", priority, "targetId") VALUES ('d53a7d79-0c5e-4b72-9d6f-8492b7415340', '<p>This is my first notification in Caetan's channel</p> +INSERT INTO push."Notifications" VALUES ('d53a7d79-0c5e-4b72-9d6f-8492b7415340', '<p>This is my first notification in Caetan's channel</p> ', NULL, '2021-03-01 10:07:21.657', NULL, NULL, 'My first Noti - Caetán', NULL, 'https://upload.wikimedia.org/wikipedia/commons/e/e0/Deportivodelacoruna2008.jpg', 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); - - --- --- TOC entry 3397 (class 0 OID 261463) --- Dependencies: 226 --- Data for Name: Preferences; Type: TABLE DATA; Schema: push; Owner: test +INSERT INTO push."Notifications" VALUES ('bd19eea4-9dca-48d9-a577-5de9d2bf374a', '<p>My Daily Notification Body.</p> + +<p>- C</p> +', NULL, '2021-03-01 14:17:47.47', NULL, NULL, 'My Daily Notification', NULL, NULL, 'NORMAL', 'ef46aca0-e73b-4794-8043-ffe974247cc8'); +INSERT INTO push."Notifications" VALUES ('c086358b-df22-48d3-b518-12b18d100cc6', '<p>Test</p> +', NULL, '2021-03-01 14:23:11.609', NULL, NULL, 'Test', NULL, NULL, 'NORMAL', 'ef46aca0-e73b-4794-8043-ffe974247cc8'); +INSERT INTO push."Notifications" VALUES ('508cd4db-74cb-4ea6-941c-d45170dca8f6', '<p>Daily Test Notification Body</p> +', NULL, '2021-03-01 14:40:18.556', NULL, NULL, 'Daily Test Notification', NULL, NULL, 'NORMAL', 'ef46aca0-e73b-4794-8043-ffe974247cc8'); +INSERT INTO push."Notifications" VALUES ('2003cb40-b39b-4aa7-951e-26ceed6cf9b6', '<p><img alt="" src="https://cds.cern.ch/record/2751566/files/BPH-20-004_LambdaK_v1.png?subformat=icon-640" style="height:317px; width:640px" /></p> +', NULL, '2021-03-01 17:45:01.259', NULL, NULL, 'Hello World!', NULL, NULL, 'NORMAL', '23ada92a-e7dd-4c19-90b0-a9493f95f1e4'); +INSERT INTO push."Notifications" VALUES ('07dcdb82-c56b-4396-a9fe-aa86709431fd', '<p>This time with a Image Url</p> +', NULL, '2021-03-01 17:45:35.579', NULL, NULL, 'Hello world 2!', NULL, 'https://cds.cern.ch/record/2751566/files/BPH-20-004_LambdaK_v1.png?subformat=icon-640', 'NORMAL', '23ada92a-e7dd-4c19-90b0-a9493f95f1e4'); +INSERT INTO push."Notifications" VALUES ('9cd6ade8-dd1e-4daf-b1f6-c1dbcbd78dbc', '<p>Just for me notif low</p> +', NULL, '2021-03-01 18:23:10.575', NULL, NULL, 'Just for me notif', NULL, NULL, 'NORMAL', 'ef46aca0-e73b-4794-8043-ffe974247cc8'); +INSERT INTO push."Notifications" VALUES ('63e4a411-df20-4d0e-becb-cef24d089ec8', '<p>testing</p> +', NULL, '2021-03-01 18:24:28.339', NULL, NULL, 'low', NULL, NULL, 'NORMAL', 'a8b1b6db-2543-4549-b143-442735739fed'); +INSERT INTO push."Notifications" VALUES ('3bec8a7b-bcba-4cb5-9e20-c14479e51aae', '<p>ccc</p> +', NULL, '2021-03-02 12:07:03.664', NULL, NULL, 'ddd', NULL, NULL, 'NORMAL', '00736a81-9f42-49c8-9d2c-1b8536507706'); +INSERT INTO push."Notifications" VALUES ('487019f7-449c-493f-a6e5-c6fda29df2f4', '<p><img alt="" src="https://liveoakreserveresident.files.wordpress.com/2020/07/board-meeting.png" style="height:333px; margin-left:200px; margin-right:200px; width:383px" /></p> + +<p>Dear members, a reminder for tomorrow's section meeting at 11:00. As usual, please fill in the highlights (activity, news, changes, incidents, etc.) for your services since the last section meeting on the Indico event page <a href="https://indico.cern.ch/e/CERN-IT-CDA-WF-2021-03-03" target="_blank">https://indico.cern.ch/e/CERN-IT-CDA-WF-2021-03-03</a> (To join the meeting: <a href="https://cern.zoom.us/j/871767646?pwd=YmR5ZTdYRFpuWEhmWVZHRXo5c1BlUT09" target="_blank">https://cern.zoom.us/j/871767646?pwd=YmR5ZTdYRFpuWEhmWVZHRXo5c1BlUT09</a> ).</p> +', NULL, '2021-03-02 17:22:26.209', NULL, NULL, 'Section Meeting Reminder', NULL, NULL, 'NORMAL', '23ada92a-e7dd-4c19-90b0-a9493f95f1e4'); +INSERT INTO push."Notifications" VALUES ('1e1afb46-9d5d-439b-980d-dd6abae32a6b', '<p><img alt="" src="https://huntnewsnu.com/wp-content/uploads/2017/10/cartoon.png" style="height:389px; margin-left:200px; margin-right:200px; width:500px" /></p> + +<p>Dear all, a reminder for tomorrow's section meeting at 11:00. As usual, please fill in the highlights (activity, news, changes, incidents, etc.) for your services since the last section meeting on the Indico event page <a href="https://indico.cern.ch/e/CERN-IT-CDA-WF-2021-02-24" target="_blank">https://indico.cern.ch/e/CERN-IT-CDA-WF-2021-02-24</a> (To join the meeting: <a href="https://cern.zoom.us/j/871767646?pwd=YmR5ZTdYRFpuWEhmWVZHRXo5c1BlUT09" target="_blank">https://cern.zoom.us/j/871767646?pwd=YmR5ZTdYRFpuWEhmWVZHRXo5c1BlUT09</a> ).</p> +', NULL, '2021-03-02 17:27:44.88', NULL, NULL, 'Section Meeting Reminder', NULL, NULL, 'NORMAL', '23ada92a-e7dd-4c19-90b0-a9493f95f1e4'); +INSERT INTO push."Notifications" VALUES ('69dbebfc-1ef3-4047-9321-45efd6f0ef9d', '', NULL, '2021-03-03 09:26:26.726', NULL, 'https://gitlab.cern.ch/', 'URL target notif', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('12fb8898-a420-44d3-9c51-252cfd98d747', '<p>Test</p> +', NULL, '2021-03-04 12:36:05.268', NULL, NULL, 'Test', NULL, NULL, 'NORMAL', 'e4aa1f94-9eba-43cc-ad3e-9d9d49b03891'); +INSERT INTO push."Notifications" VALUES ('01927855-ca37-4b1d-a0bf-1009e27afde8', '', NULL, '2021-03-05 10:55:44.565', NULL, NULL, 'test', NULL, NULL, 'NORMAL', '431d3f39-2df7-4b22-b63e-ad40670a7091'); +INSERT INTO push."Notifications" VALUES ('119e8eb4-51d8-4f39-aea1-75b8e0de9558', '', NULL, '2021-03-05 10:56:13.017', NULL, NULL, 'hi', NULL, NULL, 'NORMAL', '431d3f39-2df7-4b22-b63e-ad40670a7091'); +INSERT INTO push."Notifications" VALUES ('3c421d4a-2e9a-47ba-a751-17375e0635a3', '<p>Notification Caetan</p> +', NULL, '2021-03-08 12:34:08.263', NULL, NULL, 'Notification Caetan', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('84bd7a68-c61e-4198-b49e-cdcda7129518', '<p>Notification Caetan</p> +', NULL, '2021-03-08 12:34:26.74', NULL, NULL, 'Notification Caetan', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('36cafe2f-7228-43ba-82b2-b01eaa2f4c98', '<p>this has a target URL</p> +', NULL, '2021-03-08 12:35:03.477', NULL, 'https://gitlab.cern.ch', 'target URL Caetan', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('13254a5e-6073-473b-aae4-1c55371d6282', '<p>this is for chck if alsways is normal</p> +', NULL, '2021-03-08 12:38:37.537', NULL, NULL, 'checking normal', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('cecbf3bc-f2ae-4153-a64a-383e57d897b4', '<p>this is a ow notif</p> +', NULL, '2021-03-08 12:46:28.966', NULL, NULL, 'testin low not', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('16658b7d-2233-4c8d-95cf-db2a0eb5febd', '', NULL, '2021-03-08 12:53:44.119', NULL, NULL, 'test low', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('57345a2c-cd94-428d-896e-06c27294409d', '', NULL, '2021-03-08 12:54:34.104', NULL, NULL, 'payload test', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('43f80e77-2ad5-4f6d-9084-489a65d69c51', '', NULL, '2021-03-08 12:55:52.18', NULL, NULL, 'changing update', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('cc11e78c-de65-4bd4-a326-d1c5464ede75', '', NULL, '2021-03-08 13:06:35.277', NULL, NULL, 'check onchange', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('797e3172-c381-4bc5-8ccd-79e70df5209b', '', NULL, '2021-03-08 13:08:06.792', NULL, NULL, 'onchange', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('6c51c94a-4280-4db1-94e9-b561d76251b8', '', NULL, '2021-03-08 13:12:52.684', NULL, NULL, 'test notif', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('458b703a-66e5-4313-94b7-45759b12074c', '', NULL, '2021-03-08 13:13:25.68', NULL, NULL, 'cahnge type', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('5242181e-a919-486c-be81-3a65c2f5fa0c', '', NULL, '2021-03-08 13:13:58.456', NULL, NULL, 'test low type', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('e43d83be-d8a0-49d8-a7c4-6b4dc6d6c5f3', '', NULL, '2021-03-08 13:15:15.874', NULL, NULL, 'test impotant', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('5903a52d-a36f-442c-a702-89fb1230cf0a', '', NULL, '2021-03-08 13:16:33.306', NULL, NULL, 'test backend changed', NULL, NULL, 'LOW', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('08fd038f-0ffd-4873-8367-b19d01b5737d', '', NULL, '2021-03-08 13:21:03.58', NULL, NULL, 'bancekd test', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('e4c23826-f1b4-4266-93ce-5105c14ea33e', '', NULL, '2021-03-08 13:22:07.701', NULL, NULL, 'tstt backedn', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('74a9bfaf-9a71-43ef-b404-f8f00f22aad9', '', NULL, '2021-03-08 13:22:37.986', NULL, NULL, 'test this backedn', NULL, NULL, 'NORMAL', 'ac47643d-0f6e-4c33-9d96-3fa3946215a8'); +INSERT INTO push."Notifications" VALUES ('124611a1-114c-4f95-8085-ec230be1ba72', '', NULL, '2021-03-08 14:02:12.588', NULL, NULL, '1', NULL, NULL, 'NORMAL', '54f42ef2-8dc8-4dd1-986d-18025eb74b82'); +INSERT INTO push."Notifications" VALUES ('91be5d26-013c-4646-8809-61274645ea1d', '', NULL, '2021-03-08 14:02:41.264', NULL, NULL, '1', NULL, NULL, 'NORMAL', '54f42ef2-8dc8-4dd1-986d-18025eb74b82'); +INSERT INTO push."Notifications" VALUES ('c30fff76-3d73-4038-8927-006c0d90d9ec', '<p>Testing</p> +', NULL, '2021-03-08 14:03:40.304', NULL, NULL, 'Hello!', NULL, NULL, 'NORMAL', '9367e33e-47df-4648-825e-e6b52d73b593'); +INSERT INTO push."Notifications" VALUES ('b711722c-96b8-4690-8c4a-5dca390e856a', '', NULL, '2021-03-08 14:05:31.682', NULL, NULL, '1', NULL, NULL, 'NORMAL', '9367e33e-47df-4648-825e-e6b52d73b593'); +INSERT INTO push."Notifications" VALUES ('38bf32f0-287e-4088-989c-43c990c1f3a7', '<p>Hello</p> +', NULL, '2021-03-08 14:07:09.36', NULL, NULL, 'Hi', NULL, NULL, 'NORMAL', '9367e33e-47df-4648-825e-e6b52d73b593'); +INSERT INTO push."Notifications" VALUES ('2d81b6d3-da44-4ecf-b6f6-a2c4f37ece1a', '', NULL, '2021-03-08 14:07:28.364', NULL, NULL, 'Hi', NULL, NULL, 'NORMAL', '9367e33e-47df-4648-825e-e6b52d73b593'); + + +-- +-- Data for Name: Preferences; Type: TABLE DATA; Schema: push; Owner: admin -- -INSERT INTO push."Preferences" (id, name, type, "notificationPriority", "rangeStart", "rangeEnd", "userId", "targetId") VALUES ('f3cf5209-8678-4516-93da-c01a4f9f1f88', 'Default Daily Low', 'DAILY', 'low', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', NULL); -INSERT INTO push."Preferences" (id, name, type, "notificationPriority", "rangeStart", "rangeEnd", "userId", "targetId") VALUES ('4d73e456-c151-45d6-bc4c-edbc6fb77462', 'Default Normal', 'LIVE', 'important', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', NULL); -INSERT INTO push."Preferences" (id, name, type, "notificationPriority", "rangeStart", "rangeEnd", "userId", "targetId") VALUES ('d43886dd-d6fd-486f-969b-65a4c6f229f7', 'Default', 'LIVE', 'normal', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', NULL); -INSERT INTO push."Preferences" (id, name, type, "notificationPriority", "rangeStart", "rangeEnd", "userId", "targetId") VALUES ('7639f452-ea92-4049-ab9f-7f07ae9be8b7', 'Default preference', 'LIVE', 'Low,Normal,Important', NULL, NULL, 'a7fc13ae-f38c-4501-83f3-e37a35661fa1', NULL); -INSERT INTO push."Preferences" (id, name, type, "notificationPriority", "rangeStart", "rangeEnd", "userId", "targetId") VALUES ('e9e07557-22c5-42ee-9c50-33d8a6c17901', 'Default preference', 'LIVE', 'Low,Normal,Important', NULL, NULL, '598d151c-f850-451e-9eac-1f6a3d987a5c', NULL); -INSERT INTO push."Preferences" (id, name, type, "notificationPriority", "rangeStart", "rangeEnd", "userId", "targetId") VALUES ('b0b013a0-c07e-43fb-b651-2f386376ac1a', 'Default preference', 'LIVE', 'Low,Normal,Important', NULL, NULL, '60a5b86e-345e-47bc-915f-2a8af500485b', NULL); +INSERT INTO push."Preferences" VALUES ('f3cf5209-8678-4516-93da-c01a4f9f1f88', 'Default Daily Low', 'DAILY', 'low', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', NULL); +INSERT INTO push."Preferences" VALUES ('d43886dd-d6fd-486f-969b-65a4c6f229f7', 'Default', 'LIVE', 'normal', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', NULL); +INSERT INTO push."Preferences" VALUES ('7639f452-ea92-4049-ab9f-7f07ae9be8b7', 'Default preference', 'LIVE', 'Low,Normal,Important', NULL, NULL, 'a7fc13ae-f38c-4501-83f3-e37a35661fa1', NULL); +INSERT INTO push."Preferences" VALUES ('e9e07557-22c5-42ee-9c50-33d8a6c17901', 'Default preference', 'LIVE', 'Low,Normal,Important', NULL, NULL, '598d151c-f850-451e-9eac-1f6a3d987a5c', NULL); +INSERT INTO push."Preferences" VALUES ('b0b013a0-c07e-43fb-b651-2f386376ac1a', 'Default preference', 'LIVE', 'Low,Normal,Important', NULL, NULL, '60a5b86e-345e-47bc-915f-2a8af500485b', NULL); +INSERT INTO push."Preferences" VALUES ('73765185-205b-4258-8416-783b53aaba7d', 'Default preference', 'LIVE', 'Low,Normal,Important', NULL, NULL, '0cbbcb15-e43c-4eab-b08f-99bf256ce6c0', NULL); +INSERT INTO push."Preferences" VALUES ('d913d0c8-6771-4bc0-a1ec-2f2ed9c31a30', 'Default preference', 'LIVE', 'Low,Normal,Important', NULL, NULL, '3eacfc35-42bd-49e8-9f2c-1e552c447ff3', NULL); +INSERT INTO push."Preferences" VALUES ('68ac6e65-1af7-43fa-a949-5d61219f72cd', 'Channel Preference', 'LIVE', 'low,normal,important', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', '54f42ef2-8dc8-4dd1-986d-18025eb74b82'); +INSERT INTO push."Preferences" VALUES ('06013cb8-e6b2-47d4-a3ca-8b9120b19e44', 'Default preference', 'LIVE', 'Low,Normal,Important', NULL, NULL, 'dbf92a91-553f-4d7d-9ac5-d19ddfcf9c6e', NULL); +INSERT INTO push."Preferences" VALUES ('630b0458-6c37-45cc-9b16-9b426e154141', 'Default preference', 'LIVE', 'Low,Normal,Important', NULL, NULL, '88733d47-5c15-4503-b5be-3ad194c137fb', NULL); +INSERT INTO push."Preferences" VALUES ('8ca569db-aeea-458d-8163-a4fc78f2a794', 'test', 'LIVE', 'low,normal,important', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'ef46aca0-e73b-4794-8043-ffe974247cc8'); +INSERT INTO push."Preferences" VALUES ('5afe2b29-93b0-4207-87f7-f289ae96a408', 'Push ', 'LIVE', 'low,normal,important', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', '9367e33e-47df-4648-825e-e6b52d73b593'); +INSERT INTO push."Preferences" VALUES ('f1fd95ff-b7ec-42f0-a45f-3cb5311adc37', 'Default Important', 'LIVE', 'important', NULL, NULL, 'edeebd44-29db-43f6-98d5-a3852b0fcbe7', NULL); -- --- TOC entry 3399 (class 0 OID 261482) --- Dependencies: 228 --- Data for Name: Services; Type: TABLE DATA; Schema: push; Owner: test +-- Data for Name: Services; Type: TABLE DATA; Schema: push; Owner: admin -- -- --- TOC entry 3405 (class 0 OID 261632) --- Dependencies: 234 --- Data for Name: UserDailyNotifications; Type: TABLE DATA; Schema: push; Owner: test +-- Data for Name: UserDailyNotifications; Type: TABLE DATA; Schema: push; Owner: admin -- +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-02', '13:00:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-05', '13:00:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-04', '17:56:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-04', '17:57:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-04', '17:58:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-04', '17:33:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-04', '19:08:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-04', '19:10:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-05', '16:38:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-05', '16:53:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-05', '11:11:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-05', '11:15:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-05', '11:29:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-05', '07:22:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-06', '07:22:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-06', '07:26:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-06', '00:00:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-06', '00:01:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-06', '00:02:00'); +INSERT INTO push."UserDailyNotifications" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'bd19eea4-9dca-48d9-a577-5de9d2bf374a', '2021-03-05', '17:13:00'); -- --- TOC entry 3392 (class 0 OID 261410) --- Dependencies: 221 --- Data for Name: UserNotifications; Type: TABLE DATA; Schema: push; Owner: test +-- Data for Name: UserNotifications; Type: TABLE DATA; Schema: push; Owner: admin -- -- --- TOC entry 3398 (class 0 OID 261472) --- Dependencies: 227 --- Data for Name: Users; Type: TABLE DATA; Schema: push; Owner: test +-- Data for Name: Users; Type: TABLE DATA; Schema: push; Owner: admin -- -INSERT INTO push."Users" (id, username, email, enabled) VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'crdeoliv', 'carina.oliveira.antunes@cern.ch', true); -INSERT INTO push."Users" (id, username, email, enabled) VALUES ('a7fc13ae-f38c-4501-83f3-e37a35661fa1', 'ctojeiro', 'caetan.tojeiro.carpente@cern.ch', true); -INSERT INTO push."Users" (id, username, email, enabled) VALUES ('598d151c-f850-451e-9eac-1f6a3d987a5c', 'ijakovlj', 'igor.jakovljevic@cern.ch', true); -INSERT INTO push."Users" (id, username, email, enabled) VALUES ('60a5b86e-345e-47bc-915f-2a8af500485b', 'ormancey', 'emmanuel.ormancey@cern.ch', true); +INSERT INTO push."Users" VALUES ('edeebd44-29db-43f6-98d5-a3852b0fcbe7', 'crdeoliv', 'carina.oliveira.antunes@cern.ch', true); +INSERT INTO push."Users" VALUES ('a7fc13ae-f38c-4501-83f3-e37a35661fa1', 'ctojeiro', 'caetan.tojeiro.carpente@cern.ch', true); +INSERT INTO push."Users" VALUES ('598d151c-f850-451e-9eac-1f6a3d987a5c', 'ijakovlj', 'igor.jakovljevic@cern.ch', true); +INSERT INTO push."Users" VALUES ('60a5b86e-345e-47bc-915f-2a8af500485b', 'ormancey', 'emmanuel.ormancey@cern.ch', true); +INSERT INTO push."Users" VALUES ('0cbbcb15-e43c-4eab-b08f-99bf256ce6c0', 'eduardoa', 'eduardo.alvarez.fernandez@cern.ch', true); +INSERT INTO push."Users" VALUES ('3eacfc35-42bd-49e8-9f2c-1e552c447ff3', 'admalva', 'admalva@cern.ch', true); +INSERT INTO push."Users" VALUES ('3855058d-a287-4cf8-974e-502fc568af78', 'dchatzic', 'dimitra.chatzichrysou@cern.ch', true); +INSERT INTO push."Users" VALUES ('dbf92a91-553f-4d7d-9ac5-d19ddfcf9c6e', 'admca', 'admca@cern.ch', true); +INSERT INTO push."Users" VALUES ('88733d47-5c15-4503-b5be-3ad194c137fb', 'test', 'sjdfnksjfjksdf.fsdfsdfsd@cern.ch', true); -- --- TOC entry 3402 (class 0 OID 261506) --- Dependencies: 231 --- Data for Name: channels_groups__groups; Type: TABLE DATA; Schema: push; Owner: test +-- Data for Name: channels_groups__groups; Type: TABLE DATA; Schema: push; Owner: admin -- -INSERT INTO push.channels_groups__groups ("channelsId", "groupsId") VALUES ('a8b1b6db-2543-4549-b143-442735739fed', '186d8dfc-2774-43a8-91b5-a887fcb6ba4a'); -INSERT INTO push.channels_groups__groups ("channelsId", "groupsId") VALUES ('a8b1b6db-2543-4549-b143-442735739fed', '08d82a52-7972-4fed-8135-bf603f002247'); +INSERT INTO push.channels_groups__groups VALUES ('a8b1b6db-2543-4549-b143-442735739fed', '186d8dfc-2774-43a8-91b5-a887fcb6ba4a'); +INSERT INTO push.channels_groups__groups VALUES ('a8b1b6db-2543-4549-b143-442735739fed', '08d82a52-7972-4fed-8135-bf603f002247'); +INSERT INTO push.channels_groups__groups VALUES ('c3ccc15b-298f-4dc7-877f-2c8970331caf', '186d8dfc-2774-43a8-91b5-a887fcb6ba4a'); +INSERT INTO push.channels_groups__groups VALUES ('ef46aca0-e73b-4794-8043-ffe974247cc8', '186d8dfc-2774-43a8-91b5-a887fcb6ba4a'); -- --- TOC entry 3400 (class 0 OID 261492) --- Dependencies: 229 --- Data for Name: channels_members__users; Type: TABLE DATA; Schema: push; Owner: test +-- Data for Name: channels_members__users; Type: TABLE DATA; Schema: push; Owner: admin -- -INSERT INTO push.channels_members__users ("channelsId", "usersId") VALUES ('00736a81-9f42-49c8-9d2c-1b8536507706', '598d151c-f850-451e-9eac-1f6a3d987a5c'); +INSERT INTO push.channels_members__users VALUES ('00736a81-9f42-49c8-9d2c-1b8536507706', '598d151c-f850-451e-9eac-1f6a3d987a5c'); +INSERT INTO push.channels_members__users VALUES ('9367e33e-47df-4648-825e-e6b52d73b593', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7'); +INSERT INTO push.channels_members__users VALUES ('e4aa1f94-9eba-43cc-ad3e-9d9d49b03891', '598d151c-f850-451e-9eac-1f6a3d987a5c'); +INSERT INTO push.channels_members__users VALUES ('ef46aca0-e73b-4794-8043-ffe974247cc8', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7'); +INSERT INTO push.channels_members__users VALUES ('fbd18055-a847-40b9-9a98-d9f400ebd08b', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7'); +INSERT INTO push.channels_members__users VALUES ('23ada92a-e7dd-4c19-90b0-a9493f95f1e4', '0cbbcb15-e43c-4eab-b08f-99bf256ce6c0'); +INSERT INTO push.channels_members__users VALUES ('533788d4-2fb2-48bf-854b-60d0fd814406', '0cbbcb15-e43c-4eab-b08f-99bf256ce6c0'); +INSERT INTO push.channels_members__users VALUES ('a155ee5a-fcc4-4b0c-8cf7-e1ad11a78fce', '0cbbcb15-e43c-4eab-b08f-99bf256ce6c0'); +INSERT INTO push.channels_members__users VALUES ('c3ccc15b-298f-4dc7-877f-2c8970331caf', '3eacfc35-42bd-49e8-9f2c-1e552c447ff3'); +INSERT INTO push.channels_members__users VALUES ('ef46aca0-e73b-4794-8043-ffe974247cc8', '88733d47-5c15-4503-b5be-3ad194c137fb'); +INSERT INTO push.channels_members__users VALUES ('ef46aca0-e73b-4794-8043-ffe974247cc8', 'dbf92a91-553f-4d7d-9ac5-d19ddfcf9c6e'); +INSERT INTO push.channels_members__users VALUES ('431d3f39-2df7-4b22-b63e-ad40670a7091', '88733d47-5c15-4503-b5be-3ad194c137fb'); +INSERT INTO push.channels_members__users VALUES ('54f42ef2-8dc8-4dd1-986d-18025eb74b82', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7'); -- --- TOC entry 3401 (class 0 OID 261499) --- Dependencies: 230 --- Data for Name: channels_unsubscribed__users; Type: TABLE DATA; Schema: push; Owner: test +-- Data for Name: channels_unsubscribed__users; Type: TABLE DATA; Schema: push; Owner: admin -- +INSERT INTO push.channels_unsubscribed__users VALUES ('c3ccc15b-298f-4dc7-877f-2c8970331caf', '0cbbcb15-e43c-4eab-b08f-99bf256ce6c0'); +INSERT INTO push.channels_unsubscribed__users VALUES ('ef46aca0-e73b-4794-8043-ffe974247cc8', 'dbf92a91-553f-4d7d-9ac5-d19ddfcf9c6e'); +INSERT INTO push.channels_unsubscribed__users VALUES ('ef46aca0-e73b-4794-8043-ffe974247cc8', '88733d47-5c15-4503-b5be-3ad194c137fb'); +INSERT INTO push.channels_unsubscribed__users VALUES ('a8b1b6db-2543-4549-b143-442735739fed', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7'); +INSERT INTO push.channels_unsubscribed__users VALUES ('431d3f39-2df7-4b22-b63e-ad40670a7091', 'edeebd44-29db-43f6-98d5-a3852b0fcbe7'); +INSERT INTO push.channels_unsubscribed__users VALUES ('54f42ef2-8dc8-4dd1-986d-18025eb74b82', '88733d47-5c15-4503-b5be-3ad194c137fb'); -- --- TOC entry 3403 (class 0 OID 261516) --- Dependencies: 232 --- Data for Name: preferences_devices__devices; Type: TABLE DATA; Schema: push; Owner: test +-- Data for Name: preferences_devices__devices; Type: TABLE DATA; Schema: push; Owner: admin -- -INSERT INTO push.preferences_devices__devices ("preferencesId", "devicesId") VALUES ('f3cf5209-8678-4516-93da-c01a4f9f1f88', 'd4e15d11-a56e-4568-9e9f-497110426a72'); -INSERT INTO push.preferences_devices__devices ("preferencesId", "devicesId") VALUES ('4d73e456-c151-45d6-bc4c-edbc6fb77462', 'd4e15d11-a56e-4568-9e9f-497110426a72'); -INSERT INTO push.preferences_devices__devices ("preferencesId", "devicesId") VALUES ('d43886dd-d6fd-486f-969b-65a4c6f229f7', 'd4e15d11-a56e-4568-9e9f-497110426a72'); -INSERT INTO push.preferences_devices__devices ("preferencesId", "devicesId") VALUES ('7639f452-ea92-4049-ab9f-7f07ae9be8b7', 'c14467fd-acd5-446a-b2e8-31f4eb601a37'); -INSERT INTO push.preferences_devices__devices ("preferencesId", "devicesId") VALUES ('e9e07557-22c5-42ee-9c50-33d8a6c17901', '5b2d3c49-e4dc-4827-ae75-0ab48e1b5ac6'); -INSERT INTO push.preferences_devices__devices ("preferencesId", "devicesId") VALUES ('b0b013a0-c07e-43fb-b651-2f386376ac1a', 'fa69dcc7-8c71-41af-9886-8993c124c8de'); +INSERT INTO push.preferences_devices__devices VALUES ('f3cf5209-8678-4516-93da-c01a4f9f1f88', 'd4e15d11-a56e-4568-9e9f-497110426a72'); +INSERT INTO push.preferences_devices__devices VALUES ('d43886dd-d6fd-486f-969b-65a4c6f229f7', 'd4e15d11-a56e-4568-9e9f-497110426a72'); +INSERT INTO push.preferences_devices__devices VALUES ('7639f452-ea92-4049-ab9f-7f07ae9be8b7', 'c14467fd-acd5-446a-b2e8-31f4eb601a37'); +INSERT INTO push.preferences_devices__devices VALUES ('e9e07557-22c5-42ee-9c50-33d8a6c17901', '5b2d3c49-e4dc-4827-ae75-0ab48e1b5ac6'); +INSERT INTO push.preferences_devices__devices VALUES ('b0b013a0-c07e-43fb-b651-2f386376ac1a', 'fa69dcc7-8c71-41af-9886-8993c124c8de'); +INSERT INTO push.preferences_devices__devices VALUES ('73765185-205b-4258-8416-783b53aaba7d', '26d0fb3e-5d1c-4a19-a624-c1893dcd9a10'); +INSERT INTO push.preferences_devices__devices VALUES ('68ac6e65-1af7-43fa-a949-5d61219f72cd', 'd4e15d11-a56e-4568-9e9f-497110426a72'); +INSERT INTO push.preferences_devices__devices VALUES ('68ac6e65-1af7-43fa-a949-5d61219f72cd', '709ff952-fccc-4d76-86b7-b07095e38d64'); +INSERT INTO push.preferences_devices__devices VALUES ('06013cb8-e6b2-47d4-a3ca-8b9120b19e44', '0f2958d8-c386-4b32-a9b3-669caf3cd296'); +INSERT INTO push.preferences_devices__devices VALUES ('630b0458-6c37-45cc-9b16-9b426e154141', '8d515b7f-5f2c-4d1c-8c31-592d1c795fc9'); +INSERT INTO push.preferences_devices__devices VALUES ('8ca569db-aeea-458d-8163-a4fc78f2a794', 'd4e15d11-a56e-4568-9e9f-497110426a72'); +INSERT INTO push.preferences_devices__devices VALUES ('5afe2b29-93b0-4207-87f7-f289ae96a408', 'd4e15d11-a56e-4568-9e9f-497110426a72'); +INSERT INTO push.preferences_devices__devices VALUES ('5afe2b29-93b0-4207-87f7-f289ae96a408', '709ff952-fccc-4d76-86b7-b07095e38d64'); +INSERT INTO push.preferences_devices__devices VALUES ('f1fd95ff-b7ec-42f0-a45f-3cb5311adc37', 'd4e15d11-a56e-4568-9e9f-497110426a72'); +INSERT INTO push.preferences_devices__devices VALUES ('f1fd95ff-b7ec-42f0-a45f-3cb5311adc37', '709ff952-fccc-4d76-86b7-b07095e38d64'); -- --- TOC entry 3404 (class 0 OID 261523) --- Dependencies: 233 --- Data for Name: preferences_disabled_channels__channels; Type: TABLE DATA; Schema: push; Owner: test +-- Data for Name: preferences_disabled_channels__channels; Type: TABLE DATA; Schema: push; Owner: admin -- -- --- TOC entry 3389 (class 0 OID 258948) --- Dependencies: 218 --- Data for Name: Notifications; Type: TABLE DATA; Schema: push_test; Owner: test +-- Data for Name: Notifications; Type: TABLE DATA; Schema: push_test; Owner: admin -- -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (5, 'proncero', 'test', 'test', true, NULL, '2019-10-24 12:59:02.644', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (6, 'proncero', 'test', 'test', true, NULL, '2019-11-05 14:16:15.384', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (7, 'proncero', 'test', 'test', true, NULL, '2019-11-05 15:12:13.049', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (9, 'proncero', 'How to build beautiful CERN websites ', '<span>How to build beautiful CERN websites </span> +INSERT INTO push_test."Notifications" VALUES (5, 'proncero', 'test', 'test', true, NULL, '2019-10-24 12:59:02.644', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); +INSERT INTO push_test."Notifications" VALUES (6, 'proncero', 'test', 'test', true, NULL, '2019-11-05 14:16:15.384', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); +INSERT INTO push_test."Notifications" VALUES (7, 'proncero', 'test', 'test', true, NULL, '2019-11-05 15:12:13.049', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); +INSERT INTO push_test."Notifications" VALUES (9, 'proncero', 'How to build beautiful CERN websites ', '<span>How to build beautiful CERN websites </span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Kate Kahle</div> @@ -1280,7 +1290,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>If you would like to join the Drupal community to find out the latest news and improvements, <a href="https://e-groups.cern.ch/e-groups/EgroupsSubscription.do?egroupName=drupal-community">subscribe here</a>.</p> </div> ', true, NULL, '2019-11-11 16:39:03.673', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (12, 'proncero', 'Be seen, be safe', '<span>Be seen, be safe</span> +INSERT INTO push_test."Notifications" VALUES (12, 'proncero', 'Be seen, be safe', '<span>Be seen, be safe</span> <span><span lang="" about="https://home.cern/user/151" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">anschaef</span></span> <span>Tue, 11/05/2019 - 12:27</span> @@ -1292,7 +1302,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>Some of you may remember last year’s distribution. This year’s tags are similar, but we’ve customised them a little. Come along to find out how, and to collect your free reflectors, at Restaurants 1, 2 and 3 at lunchtime on 14 November.</p> </div> ', true, NULL, '2019-11-11 16:39:03.648', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (13, 'proncero', 'Halfway towards LHC consolidation', '<span>Halfway towards LHC consolidation</span> +INSERT INTO push_test."Notifications" VALUES (13, 'proncero', 'Halfway towards LHC consolidation', '<span>Halfway towards LHC consolidation</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Corinne Pralavorio</div> @@ -1310,7 +1320,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <figure><img alt="magnet,LHC,LS2,tunnel,TI2,Transfer" src="//cds.cern.ch/images/CERN-PHOTO-201906-163-1/file?size=large" /><figcaption>Replacement of one of the LHC superconducting dipole magnets during the accelerator consolidation campaign. (Image: Maximilien Brice and Julien Ordan/CERN)</figcaption></figure><hr /></div> ', true, NULL, '2019-11-11 16:39:03.58', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (10, 'proncero', 'Beamline for Schools 2019 participants present results', '<span>Beamline for Schools 2019 participants present results</span> +INSERT INTO push_test."Notifications" VALUES (10, 'proncero', 'Beamline for Schools 2019 participants present results', '<span>Beamline for Schools 2019 participants present results</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Joseph Piergrossi</div> @@ -1324,7 +1334,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" The two winning teams from the 2019 Beamline for Schools competition – DESY Chain from Salt Lake City, Utah, USA and Particle Peers from Groningen, Netherlands – work on their projects at DESY Hamburg. <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>Monday, 28 October, marked the completion of data collection for the 2019 <a href="https://beamlineforschools.cern/">Beamline for Schools (BL4S)</a> winning teams on the Hamburg campus of the German physics research centre <a href="http://www.desy.de/index_eng.html">DESY</a>. Two teams – from Salt Lake City, Utah, in the USA and Groningen in the Netherlands – won the CERN-organised international competition, wherein high-school students propose their own particle physics experiments and perform them if they win.</p> <p>The teams <a href="https://home.cern/news/press-release/cern/dutch-and-us-students-win-2019-cern-beamline-schools-competition">“DESY Chain” from the USA and “Particle Peers” from the Netherlands</a> also presented their preliminary results last Monday. DESY Chain experimented with scintillator sensitivity using electrons and positrons. “In our data, we’re definitely seeing interesting energy losses in the scintillators,” says Charles Bonkowsky, a member of the DESY Chain team. “It’s going to take a little bit of time to put it all together and see what the energy loss is, and see how it corresponds to the rest of the data.”</p> @@ -1346,7 +1356,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><iframe allowfullscreen="" frameborder="0" height="360" scrolling="no" src="https://cds.cern.ch/images/OPEN-PHO-MISC-2019-016/export?format=sspp&ln=en&captions=true" width="480"></iframe></p> </div> ', true, NULL, '2019-11-11 16:39:03.579', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (11, 'proncero', 'Medipix: Two decades of turning technology into applications', '<span>Medipix: Two decades of turning technology into applications</span> +INSERT INTO push_test."Notifications" VALUES (11, 'proncero', 'Medipix: Two decades of turning technology into applications', '<span>Medipix: Two decades of turning technology into applications</span> <span><span lang="" about="https://home.cern/user/34" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">achintya</span></span> <span>Fri, 10/18/2019 - 10:11</span> @@ -1354,7 +1364,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <img alt="Knowledge Transfer" src="//cds.cern.ch/images/CERN-PHOTO-201702-048-3/file?size=medium" /></a> <figcaption><span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>How could microchips developed for detectors at the <a href="https://home.cern/science/accelerators/large-hadron-collider">Large Hadron Collider</a> (LHC) be used beyond high-energy physics? This was a question that led to the <a href="https://cern.ch/medipix">Medipix</a> and Timepix families of pixel-sensor chips. Researchers saw many possible applications for this technology, and for the last 20 years these chips have been used in medical imaging, in spotting forgeries in the art world, in detecting radioactive material and more. A <a href="https://indico.cern.ch/event/782801/timetable/">recent CERN symposium</a> commemorated the two decades since the Medipix2 collaboration was established, in 1999.</p> <p>Pixel-sensor chips are used in detectors at the LHC to trace the paths of electrically charged particles. When a particle hits the sensor, it deposits a charge that is processed by the electronics. This is similar to light hitting pixels in a digital camera, but instead they register particles up to 40 million times a second.</p> @@ -1372,7 +1382,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><iframe allowfullscreen="" frameborder="0" height="360" src="https://cds.cern.ch/video/2678560?showTitle=true" width="640"></iframe></p> </div> ', true, NULL, '2019-11-11 16:39:03.672', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (8, 'proncero', 'Broadening tunnel vision for future accelerators', '<span>Broadening tunnel vision for future accelerators</span> +INSERT INTO push_test."Notifications" VALUES (8, 'proncero', 'Broadening tunnel vision for future accelerators', '<span>Broadening tunnel vision for future accelerators</span> <span><span lang="" about="https://home.cern/user/34" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">achintya</span></span> <span>Wed, 10/23/2019 - 10:20</span> @@ -1382,7 +1392,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" HL-LHC Underground civil engineering galleries <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>What could the next generation of particle accelerators look like? With current technology, the bigger an accelerator, the higher the energy of the collisions it produces and the greater the likelihood of discovering new physics phenomena. Particle physicists and accelerator engineers therefore dream of machines that are even bigger than the <a href="https://home.cern/science/accelerators/large-hadron-collider">Large Hadron Collider</a> (LHC), with its 27-km circumference.</p> <p>For CERN’s civil engineers, a new accelerator requires a bespoke deep-underground tunnel, and the tunnel’s shape, depth and orientation as well as its access shafts are largely constrained by the local geography. Such an accelerator built at CERN would be bound by mountains, and, if circular, would need to go under Lake Geneva and completely enclose the Salève mountain of the Prealps.</p> @@ -1395,7 +1405,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>Find out more about the tunnelling challenges of CERN’s civil engineers for the next-generation of particle accelerators in “<a href="https://cerncourier.com/a/tunnelling-for-physics/">Tunnelling for Physics</a>” on the <em>CERN Courier</em>’s website.</p> </div> ', true, NULL, '2019-11-11 16:39:03.576', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (16, 'proncero', 'ALICE: the journey of a cosmopolitan detector', '<span>ALICE: the journey of a cosmopolitan detector</span> +INSERT INTO push_test."Notifications" VALUES (16, 'proncero', 'ALICE: the journey of a cosmopolitan detector', '<span>ALICE: the journey of a cosmopolitan detector</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Camille Monnin</div> @@ -1419,7 +1429,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <figcaption>A detector piece from Berkeley Lab, on its way to CERN.<span> (Image: Lawrence Berkeley National Laboratory)</span></figcaption></figure><p> </p> </div> ', true, NULL, '2019-11-11 16:39:03.671', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (14, 'proncero', 'LHCf gears up to probe birth of cosmic-ray showers', '<span>LHCf gears up to probe birth of cosmic-ray showers</span> +INSERT INTO push_test."Notifications" VALUES (14, 'proncero', 'LHCf gears up to probe birth of cosmic-ray showers', '<span>LHCf gears up to probe birth of cosmic-ray showers</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Ana Lopes</div> @@ -1433,7 +1443,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" One of the LHCf experiment''s two detectors, LHCf Arm2, seen here during installation into a particle absorber that surrounds the LHC''s beam pipe. <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>Cosmic rays are particles from outer space, typically protons, travelling at almost the speed of light. When the most energetic of these particles strike the atmosphere of our planet, they interact with atomic nuclei in the atmosphere and produce cascades of secondary particles that shower down to the Earth’s surface. These extensive air showers, as they are known, are similar to the cascades of particles that are created in collisions inside particle colliders such as CERN’s Large Hadron Collider (LHC). In the next LHC, run starting in 2021, the smallest of the LHC experiments – the <a href="https://home.cern/science/experiments/lhcf">LHCf experiment</a> – is set to probe the first interaction that triggers these cosmic showers.</p> <p>Observations of extensive air showers are generally interpreted using computer simulations that involve a model of how cosmic rays interact with atomic nuclei in the atmosphere. But different models exist and it’s unclear which one is the most appropriate. The LHCf experiment is in an ideal position to test these models and help shed light on cosmic-ray interactions.</p> @@ -1451,7 +1461,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p> </p> </div> ', true, NULL, '2019-11-11 16:39:03.65', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (15, 'proncero', 'LS2 Report: Linac4 knocking at the door of the PS Booster', '<span>LS2 Report: Linac4 knocking at the door of the PS Booster</span> +INSERT INTO push_test."Notifications" VALUES (15, 'proncero', 'LS2 Report: Linac4 knocking at the door of the PS Booster', '<span>LS2 Report: Linac4 knocking at the door of the PS Booster</span> <span><span lang="" about="https://home.cern/user/151" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">anschaef</span></span> <span>Tue, 10/29/2019 - 14:05</span> @@ -1477,7 +1487,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><em>Follow the progress of the LBE run on <a class="bulletin" href="https://op-webtools.web.cern.ch/vistar/vistars.php?usr=Linac4">the online Vistar</a>.</em></p> </div> ', true, NULL, '2019-11-11 16:39:03.675', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (17, 'proncero', 'CMS measures Higgs boson’s mass with unprecedented precision', '<span>CMS measures Higgs boson’s mass with unprecedented precision</span> +INSERT INTO push_test."Notifications" VALUES (17, 'proncero', 'CMS measures Higgs boson’s mass with unprecedented precision', '<span>CMS measures Higgs boson’s mass with unprecedented precision</span> <span><span lang="" about="https://home.cern/user/34" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">achintya</span></span> <span>Fri, 10/25/2019 - 10:37</span> @@ -1487,7 +1497,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" Event in which a candidate SM Higgs boson decays into two photons indicated by the green towers representing energy deposited in the electromagnetic calorimeter. <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>The <a href="https://home.cern/science/physics/higgs-boson">Higgs boson</a> is a special particle. It is the manifestation of a field that gives mass to elementary particles. But this field also gives mass to the Higgs boson itself. A precise measurement of the Higgs boson’s mass not only furthers our knowledge of physics but also sheds new light on searches planned at future colliders.</p> <p>Since discovering this unique particle in 2012, the <a href="https://home.cern/science/experiments/atlas">ATLAS</a> and <a href="https://home.cern/science/experiments/cms">CMS</a> collaborations at CERN’s <a href="https://home.cern/science/accelerators/large-hadron-collider">Large Hadron Collider</a> have been busy determining its properties. In the <a href="https://home.cern/science/physics/standard-model">Standard Model of particle physics</a>, the Higgs boson’s mass is closely related to the strength of the particle’s interaction with itself. Comparing precise measurements of these two properties is a crucial means of testing the predictions of the Standard Model and helps search for physics beyond the predictions of this theory. In addition to probing its “self-interaction” strength, the researchers have also paid careful attention to the exact mass of the Higgs boson.</p> @@ -1501,7 +1511,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><em>More details on the <a href="https://cms.cern/news/cms-precisely-measures-mass-higgs-boson">CMS website</a>.</em></p> </div> ', true, NULL, '2019-11-11 16:39:03.676', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (18, 'proncero', 'ALICE: the journey of a cosmopolitan detector', '<span>ALICE: the journey of a cosmopolitan detector</span> +INSERT INTO push_test."Notifications" VALUES (18, 'proncero', 'ALICE: the journey of a cosmopolitan detector', '<span>ALICE: the journey of a cosmopolitan detector</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Camille Monnin</div> @@ -1525,7 +1535,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <figcaption>A detector piece from Berkeley Lab, on its way to CERN.<span> (Image: Lawrence Berkeley National Laboratory)</span></figcaption></figure><p> </p> </div> ', true, NULL, '2019-11-12 09:39:46.793', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (20, 'proncero', 'Broadening tunnel vision for future accelerators', '<span>Broadening tunnel vision for future accelerators</span> +INSERT INTO push_test."Notifications" VALUES (20, 'proncero', 'Broadening tunnel vision for future accelerators', '<span>Broadening tunnel vision for future accelerators</span> <span><span lang="" about="https://home.cern/user/34" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">achintya</span></span> <span>Wed, 10/23/2019 - 10:20</span> @@ -1535,7 +1545,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" HL-LHC Underground civil engineering galleries <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>What could the next generation of particle accelerators look like? With current technology, the bigger an accelerator, the higher the energy of the collisions it produces and the greater the likelihood of discovering new physics phenomena. Particle physicists and accelerator engineers therefore dream of machines that are even bigger than the <a href="https://home.cern/science/accelerators/large-hadron-collider">Large Hadron Collider</a> (LHC), with its 27-km circumference.</p> <p>For CERN’s civil engineers, a new accelerator requires a bespoke deep-underground tunnel, and the tunnel’s shape, depth and orientation as well as its access shafts are largely constrained by the local geography. Such an accelerator built at CERN would be bound by mountains, and, if circular, would need to go under Lake Geneva and completely enclose the Salève mountain of the Prealps.</p> @@ -1548,7 +1558,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>Find out more about the tunnelling challenges of CERN’s civil engineers for the next-generation of particle accelerators in “<a href="https://cerncourier.com/a/tunnelling-for-physics/">Tunnelling for Physics</a>” on the <em>CERN Courier</em>’s website.</p> </div> ', true, NULL, '2019-11-12 09:39:46.966', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (21, 'proncero', 'Beamline for Schools 2019 participants present results', '<span>Beamline for Schools 2019 participants present results</span> +INSERT INTO push_test."Notifications" VALUES (21, 'proncero', 'Beamline for Schools 2019 participants present results', '<span>Beamline for Schools 2019 participants present results</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Joseph Piergrossi</div> @@ -1562,7 +1572,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" The two winning teams from the 2019 Beamline for Schools competition – DESY Chain from Salt Lake City, Utah, USA and Particle Peers from Groningen, Netherlands – work on their projects at DESY Hamburg. <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>Monday, 28 October, marked the completion of data collection for the 2019 <a href="https://beamlineforschools.cern/">Beamline for Schools (BL4S)</a> winning teams on the Hamburg campus of the German physics research centre <a href="http://www.desy.de/index_eng.html">DESY</a>. Two teams – from Salt Lake City, Utah, in the USA and Groningen in the Netherlands – won the CERN-organised international competition, wherein high-school students propose their own particle physics experiments and perform them if they win.</p> <p>The teams <a href="https://home.cern/news/press-release/cern/dutch-and-us-students-win-2019-cern-beamline-schools-competition">“DESY Chain” from the USA and “Particle Peers” from the Netherlands</a> also presented their preliminary results last Monday. DESY Chain experimented with scintillator sensitivity using electrons and positrons. “In our data, we’re definitely seeing interesting energy losses in the scintillators,” says Charles Bonkowsky, a member of the DESY Chain team. “It’s going to take a little bit of time to put it all together and see what the energy loss is, and see how it corresponds to the rest of the data.”</p> @@ -1584,7 +1594,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><iframe allowfullscreen="" frameborder="0" height="360" scrolling="no" src="https://cds.cern.ch/images/OPEN-PHO-MISC-2019-016/export?format=sspp&ln=en&captions=true" width="480"></iframe></p> </div> ', true, NULL, '2019-11-12 09:39:46.796', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (22, 'proncero', 'LHCf gears up to probe birth of cosmic-ray showers', '<span>LHCf gears up to probe birth of cosmic-ray showers</span> +INSERT INTO push_test."Notifications" VALUES (22, 'proncero', 'LHCf gears up to probe birth of cosmic-ray showers', '<span>LHCf gears up to probe birth of cosmic-ray showers</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Ana Lopes</div> @@ -1598,7 +1608,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" One of the LHCf experiment''s two detectors, LHCf Arm2, seen here during installation into a particle absorber that surrounds the LHC''s beam pipe. <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>Cosmic rays are particles from outer space, typically protons, travelling at almost the speed of light. When the most energetic of these particles strike the atmosphere of our planet, they interact with atomic nuclei in the atmosphere and produce cascades of secondary particles that shower down to the Earth’s surface. These extensive air showers, as they are known, are similar to the cascades of particles that are created in collisions inside particle colliders such as CERN’s Large Hadron Collider (LHC). In the next LHC, run starting in 2021, the smallest of the LHC experiments – the <a href="https://home.cern/science/experiments/lhcf">LHCf experiment</a> – is set to probe the first interaction that triggers these cosmic showers.</p> <p>Observations of extensive air showers are generally interpreted using computer simulations that involve a model of how cosmic rays interact with atomic nuclei in the atmosphere. But different models exist and it’s unclear which one is the most appropriate. The LHCf experiment is in an ideal position to test these models and help shed light on cosmic-ray interactions.</p> @@ -1616,7 +1626,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p> </p> </div> ', true, NULL, '2019-11-12 09:39:46.795', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (23, 'proncero', 'Medipix: Two decades of turning technology into applications', '<span>Medipix: Two decades of turning technology into applications</span> +INSERT INTO push_test."Notifications" VALUES (23, 'proncero', 'Medipix: Two decades of turning technology into applications', '<span>Medipix: Two decades of turning technology into applications</span> <span><span lang="" about="https://home.cern/user/34" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">achintya</span></span> <span>Fri, 10/18/2019 - 10:11</span> @@ -1624,7 +1634,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <img alt="Knowledge Transfer" src="//cds.cern.ch/images/CERN-PHOTO-201702-048-3/file?size=medium" /></a> <figcaption><span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>How could microchips developed for detectors at the <a href="https://home.cern/science/accelerators/large-hadron-collider">Large Hadron Collider</a> (LHC) be used beyond high-energy physics? This was a question that led to the <a href="https://cern.ch/medipix">Medipix</a> and Timepix families of pixel-sensor chips. Researchers saw many possible applications for this technology, and for the last 20 years these chips have been used in medical imaging, in spotting forgeries in the art world, in detecting radioactive material and more. A <a href="https://indico.cern.ch/event/782801/timetable/">recent CERN symposium</a> commemorated the two decades since the Medipix2 collaboration was established, in 1999.</p> <p>Pixel-sensor chips are used in detectors at the LHC to trace the paths of electrically charged particles. When a particle hits the sensor, it deposits a charge that is processed by the electronics. This is similar to light hitting pixels in a digital camera, but instead they register particles up to 40 million times a second.</p> @@ -1642,7 +1652,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><iframe allowfullscreen="" frameborder="0" height="360" src="https://cds.cern.ch/video/2678560?showTitle=true" width="640"></iframe></p> </div> ', true, NULL, '2019-11-12 09:39:46.964', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (47, 'proncero', 'LHCf gears up to probe birth of cosmic-ray showers', '<span>LHCf gears up to probe birth of cosmic-ray showers</span> +INSERT INTO push_test."Notifications" VALUES (47, 'proncero', 'LHCf gears up to probe birth of cosmic-ray showers', '<span>LHCf gears up to probe birth of cosmic-ray showers</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Ana Lopes</div> @@ -1656,7 +1666,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" One of the LHCf experiment''s two detectors, LHCf Arm2, seen here during installation into a particle absorber that surrounds the LHC''s beam pipe. <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>Cosmic rays are particles from outer space, typically protons, travelling at almost the speed of light. When the most energetic of these particles strike the atmosphere of our planet, they interact with atomic nuclei in the atmosphere and produce cascades of secondary particles that shower down to the Earth’s surface. These extensive air showers, as they are known, are similar to the cascades of particles that are created in collisions inside particle colliders such as CERN’s Large Hadron Collider (LHC). In the next LHC, run starting in 2021, the smallest of the LHC experiments – the <a href="https://home.cern/science/experiments/lhcf">LHCf experiment</a> – is set to probe the first interaction that triggers these cosmic showers.</p> <p>Observations of extensive air showers are generally interpreted using computer simulations that involve a model of how cosmic rays interact with atomic nuclei in the atmosphere. But different models exist and it’s unclear which one is the most appropriate. The LHCf experiment is in an ideal position to test these models and help shed light on cosmic-ray interactions.</p> @@ -1674,7 +1684,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p> </p> </div> ', true, NULL, '2019-11-15 11:21:33.627', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (48, 'proncero', 'LS2 Report: LHCb looks to the future with SciFi detector', '<span>LS2 Report: LHCb looks to the future with SciFi detector</span> +INSERT INTO push_test."Notifications" VALUES (48, 'proncero', 'LS2 Report: LHCb looks to the future with SciFi detector', '<span>LS2 Report: LHCb looks to the future with SciFi detector</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Achintya Rao</div> @@ -1688,7 +1698,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" The new tracker is made of over 10,000 kilometres of polystyrene-based scintillating fibres and will help LHCb record data at a higher luminosity and rate from Run 3 onwards <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>For the <a href="https://home.cern/science/experiments/lhcb">LHCb detector</a> at the <a href="https://home.cern/science/accelerators/large-hadron-collider">Large Hadron Collider</a>, the ongoing <a href="https://home.cern/tags/long-shutdown-2">second long shutdown (LS2)</a> of CERN’s accelerator complex will be a period of metamorphosis. After two successful data-collection runs, the detector is being upgraded to improve the precision of its physics measurements, many of which are the best in the world. There will therefore be five times more collisions every time proton bunches cross within the detector after LS2 and the LHCb collaboration plans on increasing the data-readout rate from 1 MHz to the LHC’s maximum interaction frequency of 40 MHz (or every 25 nanoseconds).</p> <p>In addition to replacing nearly all of the electronics and data-acquisition systems to handle the enormous increase in data production, LHCb is replacing its tracking detectors with new ones, such as the scintillating-fibre tracker, or SciFi. It is the first time such a large tracker, with a small granularity and high spatial resolution, has been made using this technology. The SciFi will be placed behind the dipole magnet of LHCb.</p> @@ -1704,7 +1714,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>“The project has had contributions from more than a hundred scientists, students, engineers and technicians from 17 partner institutes in 10 countries,” says Leverington. “We have worked together for seven years to bring SciFi to life.” Currently, the SciFi modules, services and electronics are being assembled and installed in the 12 mechanical frames in the assembly hall at the LHCb site at Point 8 of the LHC ring. The first SciFi components are planned to be installed in spring next year.</p> </div> ', true, NULL, '2019-11-15 11:30:30.955', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (49, 'proncero', 'Beamline for Schools 2019 participants present results', '<span>Beamline for Schools 2019 participants present results</span> +INSERT INTO push_test."Notifications" VALUES (49, 'proncero', 'Beamline for Schools 2019 participants present results', '<span>Beamline for Schools 2019 participants present results</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Joseph Piergrossi</div> @@ -1718,7 +1728,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" The two winning teams from the 2019 Beamline for Schools competition – DESY Chain from Salt Lake City, Utah, USA and Particle Peers from Groningen, Netherlands – work on their projects at DESY Hamburg. <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>Monday, 28 October, marked the completion of data collection for the 2019 <a href="https://beamlineforschools.cern/">Beamline for Schools (BL4S)</a> winning teams on the Hamburg campus of the German physics research centre <a href="http://www.desy.de/index_eng.html">DESY</a>. Two teams – from Salt Lake City, Utah, in the USA and Groningen in the Netherlands – won the CERN-organised international competition, wherein high-school students propose their own particle physics experiments and perform them if they win.</p> <p>The teams <a href="https://home.cern/news/press-release/cern/dutch-and-us-students-win-2019-cern-beamline-schools-competition">“DESY Chain” from the USA and “Particle Peers” from the Netherlands</a> also presented their preliminary results last Monday. DESY Chain experimented with scintillator sensitivity using electrons and positrons. “In our data, we’re definitely seeing interesting energy losses in the scintillators,” says Charles Bonkowsky, a member of the DESY Chain team. “It’s going to take a little bit of time to put it all together and see what the energy loss is, and see how it corresponds to the rest of the data.”</p> @@ -1740,7 +1750,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><iframe allowfullscreen="" frameborder="0" height="360" scrolling="no" src="https://cds.cern.ch/images/OPEN-PHO-MISC-2019-016/export?format=sspp&ln=en&captions=true" width="480"></iframe></p> </div> ', true, NULL, '2019-11-15 11:30:30.955', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (51, 'proncero', 'Spacewalk for AMS: Watch live with CERN and ESA', '<span>Spacewalk for AMS: Watch live with CERN and ESA</span> +INSERT INTO push_test."Notifications" VALUES (51, 'proncero', 'Spacewalk for AMS: Watch live with CERN and ESA', '<span>Spacewalk for AMS: Watch live with CERN and ESA</span> <span><span lang="" about="https://home.cern/user/40" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">katebrad</span></span> <span>Thu, 11/14/2019 - 12:33</span> @@ -1760,7 +1770,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>You can already tweet questions ahead of the live broadcast to <a href="https://twitter.com/esaspaceflight">@esaspaceflight</a> or <a href="https://twitter.com/CERN">@CERN</a> using the hashtag <a href="https://twitter.com/hashtag/SpacewalkForAMS">#SpacewalkForAMS</a>.</p> </div> ', true, NULL, '2019-11-15 11:30:30.956', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (19, 'proncero', 'Be seen, be safe', '<span>Be seen, be safe</span> +INSERT INTO push_test."Notifications" VALUES (19, 'proncero', 'Be seen, be safe', '<span>Be seen, be safe</span> <span><span lang="" about="https://home.cern/user/151" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">anschaef</span></span> <span>Tue, 11/05/2019 - 12:27</span> @@ -1772,7 +1782,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>Some of you may remember last year’s distribution. This year’s tags are similar, but we’ve customised them a little. Come along to find out how, and to collect your free reflectors, at Restaurants 1, 2 and 3 at lunchtime on 14 November.</p> </div> ', true, NULL, '2019-11-12 09:39:46.795', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (24, 'proncero', 'How to build beautiful CERN websites ', '<span>How to build beautiful CERN websites </span> +INSERT INTO push_test."Notifications" VALUES (24, 'proncero', 'How to build beautiful CERN websites ', '<span>How to build beautiful CERN websites </span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Kate Kahle</div> @@ -1791,7 +1801,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>If you would like to join the Drupal community to find out the latest news and improvements, <a href="https://e-groups.cern.ch/e-groups/EgroupsSubscription.do?egroupName=drupal-community">subscribe here</a>.</p> </div> ', true, NULL, '2019-11-12 09:39:46.997', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (25, 'proncero', 'Halfway towards LHC consolidation', '<span>Halfway towards LHC consolidation</span> +INSERT INTO push_test."Notifications" VALUES (25, 'proncero', 'Halfway towards LHC consolidation', '<span>Halfway towards LHC consolidation</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Corinne Pralavorio</div> @@ -1809,7 +1819,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <figure><img alt="magnet,LHC,LS2,tunnel,TI2,Transfer" src="//cds.cern.ch/images/CERN-PHOTO-201906-163-1/file?size=large" /><figcaption>Replacement of one of the LHC superconducting dipole magnets during the accelerator consolidation campaign. (Image: Maximilien Brice and Julien Ordan/CERN)</figcaption></figure><hr /></div> ', true, NULL, '2019-11-12 09:39:46.998', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (26, 'proncero', 'CMS measures Higgs boson’s mass with unprecedented precision', '<span>CMS measures Higgs boson’s mass with unprecedented precision</span> +INSERT INTO push_test."Notifications" VALUES (26, 'proncero', 'CMS measures Higgs boson’s mass with unprecedented precision', '<span>CMS measures Higgs boson’s mass with unprecedented precision</span> <span><span lang="" about="https://home.cern/user/34" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">achintya</span></span> <span>Fri, 10/25/2019 - 10:37</span> @@ -1819,7 +1829,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" Event in which a candidate SM Higgs boson decays into two photons indicated by the green towers representing energy deposited in the electromagnetic calorimeter. <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>The <a href="https://home.cern/science/physics/higgs-boson">Higgs boson</a> is a special particle. It is the manifestation of a field that gives mass to elementary particles. But this field also gives mass to the Higgs boson itself. A precise measurement of the Higgs boson’s mass not only furthers our knowledge of physics but also sheds new light on searches planned at future colliders.</p> <p>Since discovering this unique particle in 2012, the <a href="https://home.cern/science/experiments/atlas">ATLAS</a> and <a href="https://home.cern/science/experiments/cms">CMS</a> collaborations at CERN’s <a href="https://home.cern/science/accelerators/large-hadron-collider">Large Hadron Collider</a> have been busy determining its properties. In the <a href="https://home.cern/science/physics/standard-model">Standard Model of particle physics</a>, the Higgs boson’s mass is closely related to the strength of the particle’s interaction with itself. Comparing precise measurements of these two properties is a crucial means of testing the predictions of the Standard Model and helps search for physics beyond the predictions of this theory. In addition to probing its “self-interaction” strength, the researchers have also paid careful attention to the exact mass of the Higgs boson.</p> @@ -1833,7 +1843,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><em>More details on the <a href="https://cms.cern/news/cms-precisely-measures-mass-higgs-boson">CMS website</a>.</em></p> </div> ', true, NULL, '2019-11-12 09:39:46.994', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (27, 'proncero', 'LS2 Report: Linac4 knocking at the door of the PS Booster', '<span>LS2 Report: Linac4 knocking at the door of the PS Booster</span> +INSERT INTO push_test."Notifications" VALUES (27, 'proncero', 'LS2 Report: Linac4 knocking at the door of the PS Booster', '<span>LS2 Report: Linac4 knocking at the door of the PS Booster</span> <span><span lang="" about="https://home.cern/user/151" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">anschaef</span></span> <span>Tue, 10/29/2019 - 14:05</span> @@ -1859,7 +1869,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><em>Follow the progress of the LBE run on <a class="bulletin" href="https://op-webtools.web.cern.ch/vistar/vistars.php?usr=Linac4">the online Vistar</a>.</em></p> </div> ', true, NULL, '2019-11-12 09:39:46.996', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (28, 'proncero', 'Broadening tunnel vision for future accelerators', '<span>Broadening tunnel vision for future accelerators</span> +INSERT INTO push_test."Notifications" VALUES (28, 'proncero', 'Broadening tunnel vision for future accelerators', '<span>Broadening tunnel vision for future accelerators</span> <span><span lang="" about="https://home.cern/user/34" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">achintya</span></span> <span>Wed, 10/23/2019 - 10:20</span> @@ -1869,7 +1879,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" HL-LHC Underground civil engineering galleries <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>What could the next generation of particle accelerators look like? With current technology, the bigger an accelerator, the higher the energy of the collisions it produces and the greater the likelihood of discovering new physics phenomena. Particle physicists and accelerator engineers therefore dream of machines that are even bigger than the <a href="https://home.cern/science/accelerators/large-hadron-collider">Large Hadron Collider</a> (LHC), with its 27-km circumference.</p> <p>For CERN’s civil engineers, a new accelerator requires a bespoke deep-underground tunnel, and the tunnel’s shape, depth and orientation as well as its access shafts are largely constrained by the local geography. Such an accelerator built at CERN would be bound by mountains, and, if circular, would need to go under Lake Geneva and completely enclose the Salève mountain of the Prealps.</p> @@ -1882,7 +1892,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>Find out more about the tunnelling challenges of CERN’s civil engineers for the next-generation of particle accelerators in “<a href="https://cerncourier.com/a/tunnelling-for-physics/">Tunnelling for Physics</a>” on the <em>CERN Courier</em>’s website.</p> </div> ', true, NULL, '2019-11-12 11:16:29.71', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (29, 'proncero', 'ALICE: the journey of a cosmopolitan detector', '<span>ALICE: the journey of a cosmopolitan detector</span> +INSERT INTO push_test."Notifications" VALUES (29, 'proncero', 'ALICE: the journey of a cosmopolitan detector', '<span>ALICE: the journey of a cosmopolitan detector</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Camille Monnin</div> @@ -1906,7 +1916,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <figcaption>A detector piece from Berkeley Lab, on its way to CERN.<span> (Image: Lawrence Berkeley National Laboratory)</span></figcaption></figure><p> </p> </div> ', true, NULL, '2019-11-12 11:16:29.71', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (30, 'proncero', 'LS2 Report: Linac4 knocking at the door of the PS Booster', '<span>LS2 Report: Linac4 knocking at the door of the PS Booster</span> +INSERT INTO push_test."Notifications" VALUES (30, 'proncero', 'LS2 Report: Linac4 knocking at the door of the PS Booster', '<span>LS2 Report: Linac4 knocking at the door of the PS Booster</span> <span><span lang="" about="https://home.cern/user/151" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">anschaef</span></span> <span>Tue, 10/29/2019 - 14:05</span> @@ -1932,7 +1942,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><em>Follow the progress of the LBE run on <a class="bulletin" href="https://op-webtools.web.cern.ch/vistar/vistars.php?usr=Linac4">the online Vistar</a>.</em></p> </div> ', true, NULL, '2019-11-12 11:16:29.879', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (31, 'proncero', 'Beamline for Schools 2019 participants present results', '<span>Beamline for Schools 2019 participants present results</span> +INSERT INTO push_test."Notifications" VALUES (31, 'proncero', 'Beamline for Schools 2019 participants present results', '<span>Beamline for Schools 2019 participants present results</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Joseph Piergrossi</div> @@ -1946,7 +1956,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" The two winning teams from the 2019 Beamline for Schools competition – DESY Chain from Salt Lake City, Utah, USA and Particle Peers from Groningen, Netherlands – work on their projects at DESY Hamburg. <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>Monday, 28 October, marked the completion of data collection for the 2019 <a href="https://beamlineforschools.cern/">Beamline for Schools (BL4S)</a> winning teams on the Hamburg campus of the German physics research centre <a href="http://www.desy.de/index_eng.html">DESY</a>. Two teams – from Salt Lake City, Utah, in the USA and Groningen in the Netherlands – won the CERN-organised international competition, wherein high-school students propose their own particle physics experiments and perform them if they win.</p> <p>The teams <a href="https://home.cern/news/press-release/cern/dutch-and-us-students-win-2019-cern-beamline-schools-competition">“DESY Chain” from the USA and “Particle Peers” from the Netherlands</a> also presented their preliminary results last Monday. DESY Chain experimented with scintillator sensitivity using electrons and positrons. “In our data, we’re definitely seeing interesting energy losses in the scintillators,” says Charles Bonkowsky, a member of the DESY Chain team. “It’s going to take a little bit of time to put it all together and see what the energy loss is, and see how it corresponds to the rest of the data.”</p> @@ -1968,7 +1978,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><iframe allowfullscreen="" frameborder="0" height="360" scrolling="no" src="https://cds.cern.ch/images/OPEN-PHO-MISC-2019-016/export?format=sspp&ln=en&captions=true" width="480"></iframe></p> </div> ', true, NULL, '2019-11-12 11:16:29.81', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (32, 'proncero', 'Computer Security: When CERN.CH is not CERN…', '<span>Computer Security: When CERN.CH is not CERN…</span> +INSERT INTO push_test."Notifications" VALUES (32, 'proncero', 'Computer Security: When CERN.CH is not CERN…', '<span>Computer Security: When CERN.CH is not CERN…</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">The Computer Security Team</div> @@ -1997,7 +2007,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><em>Do you want to learn more about computer security incidents and issues at CERN? Follow our <a href="https://cern.ch/security/reports/en/monthly_reports.shtml">Monthly Report</a>. For further information, questions or help, check <a href="https://cern.ch/Computer.Security">our website</a> or contact us at Computer.Security@cern.ch.</em></p> </div> ', true, NULL, '2019-11-12 11:16:29.709', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (33, 'proncero', 'Be seen, be safe', '<span>Be seen, be safe</span> +INSERT INTO push_test."Notifications" VALUES (33, 'proncero', 'Be seen, be safe', '<span>Be seen, be safe</span> <span><span lang="" about="https://home.cern/user/151" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">anschaef</span></span> <span>Tue, 11/05/2019 - 12:27</span> @@ -2009,7 +2019,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>Some of you may remember last year’s distribution. This year’s tags are similar, but we’ve customised them a little. Come along to find out how, and to collect your free reflectors, at Restaurants 1, 2 and 3 at lunchtime on 14 November.</p> </div> ', true, NULL, '2019-11-12 11:16:29.706', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (50, 'proncero', 'Aligning the HL-LHC magnets with interferometry', '<span>Aligning the HL-LHC magnets with interferometry</span> +INSERT INTO push_test."Notifications" VALUES (50, 'proncero', 'Aligning the HL-LHC magnets with interferometry', '<span>Aligning the HL-LHC magnets with interferometry</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Anaïs Schaeffer</div> @@ -2028,7 +2038,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>Several tests have already been carried out, including on <a href="https://home.cern/news/news/engineering/crabs-settled-tunnel">a crab cavity prototype installed in the SPS</a>, as well as on an LHC dipole. The final tests, currently in progress, look very promising, and surveyors from other laboratories, notably DESY and Fermilab, have already shown great interest.</p> </div> ', true, NULL, '2019-11-15 11:30:30.956', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (34, 'proncero', 'Halfway towards LHC consolidation', '<span>Halfway towards LHC consolidation</span> +INSERT INTO push_test."Notifications" VALUES (34, 'proncero', 'Halfway towards LHC consolidation', '<span>Halfway towards LHC consolidation</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Corinne Pralavorio</div> @@ -2046,7 +2056,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <figure><img alt="magnet,LHC,LS2,tunnel,TI2,Transfer" src="//cds.cern.ch/images/CERN-PHOTO-201906-163-1/file?size=large" /><figcaption>Replacement of one of the LHC superconducting dipole magnets during the accelerator consolidation campaign. (Image: Maximilien Brice and Julien Ordan/CERN)</figcaption></figure><hr /></div> ', true, NULL, '2019-11-12 11:16:29.816', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (35, 'proncero', 'How to build beautiful CERN websites ', '<span>How to build beautiful CERN websites </span> +INSERT INTO push_test."Notifications" VALUES (35, 'proncero', 'How to build beautiful CERN websites ', '<span>How to build beautiful CERN websites </span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Kate Kahle</div> @@ -2065,7 +2075,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>If you would like to join the Drupal community to find out the latest news and improvements, <a class="bulletin" href="https://e-groups.cern.ch/e-groups/EgroupsSubscription.do?egroupName=drupal-community">subscribe here</a>.</p> </div> ', true, NULL, '2019-11-12 11:16:29.864', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (36, 'proncero', 'CMS measures Higgs boson’s mass with unprecedented precision', '<span>CMS measures Higgs boson’s mass with unprecedented precision</span> +INSERT INTO push_test."Notifications" VALUES (36, 'proncero', 'CMS measures Higgs boson’s mass with unprecedented precision', '<span>CMS measures Higgs boson’s mass with unprecedented precision</span> <span><span lang="" about="https://home.cern/user/34" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">achintya</span></span> <span>Fri, 10/25/2019 - 10:37</span> @@ -2075,7 +2085,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" Event in which a candidate SM Higgs boson decays into two photons indicated by the green towers representing energy deposited in the electromagnetic calorimeter. <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>The <a href="https://home.cern/science/physics/higgs-boson">Higgs boson</a> is a special particle. It is the manifestation of a field that gives mass to elementary particles. But this field also gives mass to the Higgs boson itself. A precise measurement of the Higgs boson’s mass not only furthers our knowledge of physics but also sheds new light on searches planned at future colliders.</p> <p>Since discovering this unique particle in 2012, the <a href="https://home.cern/science/experiments/atlas">ATLAS</a> and <a href="https://home.cern/science/experiments/cms">CMS</a> collaborations at CERN’s <a href="https://home.cern/science/accelerators/large-hadron-collider">Large Hadron Collider</a> have been busy determining its properties. In the <a href="https://home.cern/science/physics/standard-model">Standard Model of particle physics</a>, the Higgs boson’s mass is closely related to the strength of the particle’s interaction with itself. Comparing precise measurements of these two properties is a crucial means of testing the predictions of the Standard Model and helps search for physics beyond the predictions of this theory. In addition to probing its “self-interaction” strength, the researchers have also paid careful attention to the exact mass of the Higgs boson.</p> @@ -2089,7 +2099,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><em>More details on the <a href="https://cms.cern/news/cms-precisely-measures-mass-higgs-boson">CMS website</a>.</em></p> </div> ', true, NULL, '2019-11-12 11:16:29.877', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (37, 'proncero', 'LHCf gears up to probe birth of cosmic-ray showers', '<span>LHCf gears up to probe birth of cosmic-ray showers</span> +INSERT INTO push_test."Notifications" VALUES (37, 'proncero', 'LHCf gears up to probe birth of cosmic-ray showers', '<span>LHCf gears up to probe birth of cosmic-ray showers</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Ana Lopes</div> @@ -2103,7 +2113,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" One of the LHCf experiment''s two detectors, LHCf Arm2, seen here during installation into a particle absorber that surrounds the LHC''s beam pipe. <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>Cosmic rays are particles from outer space, typically protons, travelling at almost the speed of light. When the most energetic of these particles strike the atmosphere of our planet, they interact with atomic nuclei in the atmosphere and produce cascades of secondary particles that shower down to the Earth’s surface. These extensive air showers, as they are known, are similar to the cascades of particles that are created in collisions inside particle colliders such as CERN’s Large Hadron Collider (LHC). In the next LHC, run starting in 2021, the smallest of the LHC experiments – the <a href="https://home.cern/science/experiments/lhcf">LHCf experiment</a> – is set to probe the first interaction that triggers these cosmic showers.</p> <p>Observations of extensive air showers are generally interpreted using computer simulations that involve a model of how cosmic rays interact with atomic nuclei in the atmosphere. But different models exist and it’s unclear which one is the most appropriate. The LHCf experiment is in an ideal position to test these models and help shed light on cosmic-ray interactions.</p> @@ -2121,7 +2131,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p> </p> </div> ', true, NULL, '2019-11-12 11:16:29.818', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (39, 'proncero', 'Spacewalk for AMS: Watch live with CERN and ESA', '<span>Spacewalk for AMS: Watch live with CERN and ESA</span> +INSERT INTO push_test."Notifications" VALUES (39, 'proncero', 'Spacewalk for AMS: Watch live with CERN and ESA', '<span>Spacewalk for AMS: Watch live with CERN and ESA</span> <span><span lang="" about="https://home.cern/user/40" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">katebrad</span></span> <span>Thu, 11/14/2019 - 12:33</span> @@ -2141,7 +2151,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>You can already tweet questions ahead of the live broadcast to <a href="https://twitter.com/esaspaceflight">@esaspaceflight</a> or <a href="https://twitter.com/CERN">@CERN</a> using the hashtag <a href="https://twitter.com/hashtag/SpacewalkForAMS">#SpacewalkForAMS</a>.</p> </div> ', true, NULL, '2019-11-15 11:21:33.553', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (38, 'proncero', 'Probing dark matter using antimatter', '<span>Probing dark matter using antimatter</span> +INSERT INTO push_test."Notifications" VALUES (38, 'proncero', 'Probing dark matter using antimatter', '<span>Probing dark matter using antimatter</span> <span><span lang="" about="https://home.cern/user/159" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">abelchio</span></span> <span>Tue, 11/12/2019 - 10:11</span> @@ -2164,7 +2174,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>The new measurements by the BASE collaboration, which teamed up with researchers from the Helmholtz Institute Mainz for this study, provide a novel way to probe dark matter and its possible interaction with antimatter. While relying on specific assumptions about the nature of dark matter and on the pattern of the matter–antimatter asymmetry, the experiment’s results are a unique probe of unexpected new phenomena, which could unveil extraordinary modifications to our established understanding of how the universe works.</p> </div> ', true, NULL, '2019-11-15 11:21:33.555', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (40, 'proncero', 'ALICE: the journey of a cosmopolitan detector', '<span>ALICE: the journey of a cosmopolitan detector</span> +INSERT INTO push_test."Notifications" VALUES (40, 'proncero', 'ALICE: the journey of a cosmopolitan detector', '<span>ALICE: the journey of a cosmopolitan detector</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Camille Monnin</div> @@ -2185,7 +2195,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>The construction of all the mechanical structures was completed last year. The various pieces of the detector have arrived at CERN, and the CERN teams are now starting to assemble them in two half-barrel structures. The fact that the detector components were available quickly has made it possible to begin the commissioning process. The final installation of the detector in the experimental cavern is planned for next summer. </p> </div> ', true, NULL, '2019-11-15 11:21:33.623', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (42, 'proncero', 'How to build beautiful CERN websites ', '<span>How to build beautiful CERN websites </span> +INSERT INTO push_test."Notifications" VALUES (42, 'proncero', 'How to build beautiful CERN websites ', '<span>How to build beautiful CERN websites </span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Kate Kahle</div> @@ -2204,7 +2214,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>If you would like to join the Drupal community to find out the latest news and improvements, <a class="bulletin" href="https://e-groups.cern.ch/e-groups/EgroupsSubscription.do?egroupName=drupal-community">subscribe here</a>.</p> </div> ', true, NULL, '2019-11-15 11:21:33.623', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (41, 'proncero', 'LS2 Report: LHCb looks to the future with SciFi detector', '<span>LS2 Report: LHCb looks to the future with SciFi detector</span> +INSERT INTO push_test."Notifications" VALUES (41, 'proncero', 'LS2 Report: LHCb looks to the future with SciFi detector', '<span>LS2 Report: LHCb looks to the future with SciFi detector</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Achintya Rao</div> @@ -2218,7 +2228,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" The new tracker is made of over 10,000 kilometres of polystyrene-based scintillating fibres and will help LHCb record data at a higher luminosity and rate from Run 3 onwards <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>For the <a href="https://home.cern/science/experiments/lhcb">LHCb detector</a> at the <a href="https://home.cern/science/accelerators/large-hadron-collider">Large Hadron Collider</a>, the ongoing <a href="https://home.cern/tags/long-shutdown-2">second long shutdown (LS2)</a> of CERN’s accelerator complex will be a period of metamorphosis. After two successful data-collection runs, the detector is being upgraded to improve the precision of its physics measurements, many of which are the best in the world. There will therefore be five times more collisions every time proton bunches cross within the detector after LS2 and the LHCb collaboration plans on increasing the data-readout rate from 1 MHz to the LHC’s maximum interaction frequency of 40 MHz (or every 25 nanoseconds).</p> <p>In addition to replacing nearly all of the electronics and data-acquisition systems to handle the enormous increase in data production, LHCb is replacing its tracking detectors with new ones, such as the scintillating-fibre tracker, or SciFi. It is the first time such a large tracker, with a small granularity and high spatial resolution, has been made using this technology. The SciFi will be placed behind the dipole magnet of LHCb.</p> @@ -2234,7 +2244,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>“The project has had contributions from more than a hundred scientists, students, engineers and technicians from 17 partner institutes in 10 countries,” says Leverington. “We have worked together for seven years to bring SciFi to life.” Currently, the SciFi modules, services and electronics are being assembled and installed in the 12 mechanical frames in the assembly hall at the LHCb site at Point 8 of the LHC ring. The first SciFi components are planned to be installed in spring next year.</p> </div> ', true, NULL, '2019-11-15 11:21:33.591', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (43, 'proncero', 'Around the LHC in 252 days ', '<span>Around the LHC in 252 days </span> +INSERT INTO push_test."Notifications" VALUES (43, 'proncero', 'Around the LHC in 252 days ', '<span>Around the LHC in 252 days </span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Corinne Pralavorio</div> @@ -2245,7 +2255,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>For the teams involved in the <a href="https://home.cern/news/news/accelerators/ls2-report-insulation-lhc-diodes-has-begun">DISMAC (Diode Insulation and Superconducting Magnets Consolidation)</a> project, the LHC tour is a long adventure. On 7 November, they opened the last and 1360th LHC magnet interconnection, 252 days after having opened the first. The electrical insulation work of the magnets’ diodes is done in sequence: opening of the interconnection, cleaning, installation of the insulation, electrical and quality tests, welding, and so on. The teams work sequentially, and the diode insulation is scheduled to be completed next summer.</p> </div> ', true, NULL, '2019-11-15 11:21:33.572', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (44, 'proncero', 'Be seen, be safe', '<span>Be seen, be safe</span> +INSERT INTO push_test."Notifications" VALUES (44, 'proncero', 'Be seen, be safe', '<span>Be seen, be safe</span> <span><span lang="" about="https://home.cern/user/151" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">anschaef</span></span> <span>Tue, 11/05/2019 - 12:27</span> @@ -2257,7 +2267,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>Some of you may remember last year’s distribution. This year’s tags are similar, but we’ve customised them a little. Come along to find out how, and to collect your free reflectors, at Restaurants 1, 2 and 3 at lunchtime on 14 November.</p> </div> ', true, NULL, '2019-11-15 11:21:33.643', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (45, 'proncero', 'Beamline for Schools 2019 participants present results', '<span>Beamline for Schools 2019 participants present results</span> +INSERT INTO push_test."Notifications" VALUES (45, 'proncero', 'Beamline for Schools 2019 participants present results', '<span>Beamline for Schools 2019 participants present results</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Joseph Piergrossi</div> @@ -2271,7 +2281,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" The two winning teams from the 2019 Beamline for Schools competition – DESY Chain from Salt Lake City, Utah, USA and Particle Peers from Groningen, Netherlands – work on their projects at DESY Hamburg. <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>Monday, 28 October, marked the completion of data collection for the 2019 <a href="https://beamlineforschools.cern/">Beamline for Schools (BL4S)</a> winning teams on the Hamburg campus of the German physics research centre <a href="http://www.desy.de/index_eng.html">DESY</a>. Two teams – from Salt Lake City, Utah, in the USA and Groningen in the Netherlands – won the CERN-organised international competition, wherein high-school students propose their own particle physics experiments and perform them if they win.</p> <p>The teams <a href="https://home.cern/news/press-release/cern/dutch-and-us-students-win-2019-cern-beamline-schools-competition">“DESY Chain” from the USA and “Particle Peers” from the Netherlands</a> also presented their preliminary results last Monday. DESY Chain experimented with scintillator sensitivity using electrons and positrons. “In our data, we’re definitely seeing interesting energy losses in the scintillators,” says Charles Bonkowsky, a member of the DESY Chain team. “It’s going to take a little bit of time to put it all together and see what the energy loss is, and see how it corresponds to the rest of the data.”</p> @@ -2293,7 +2303,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p><iframe allowfullscreen="" frameborder="0" height="360" scrolling="no" src="https://cds.cern.ch/images/OPEN-PHO-MISC-2019-016/export?format=sspp&ln=en&captions=true" width="480"></iframe></p> </div> ', true, NULL, '2019-11-15 11:21:33.572', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (46, 'proncero', 'Aligning the HL-LHC magnets with interferometry', '<span>Aligning the HL-LHC magnets with interferometry</span> +INSERT INTO push_test."Notifications" VALUES (46, 'proncero', 'Aligning the HL-LHC magnets with interferometry', '<span>Aligning the HL-LHC magnets with interferometry</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Anaïs Schaeffer</div> @@ -2312,7 +2322,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>Several tests have already been carried out, including on <a href="https://home.cern/news/news/engineering/crabs-settled-tunnel">a crab cavity prototype installed in the SPS</a>, as well as on an LHC dipole. The final tests, currently in progress, look very promising, and surveyors from other laboratories, notably DESY and Fermilab, have already shown great interest.</p> </div> ', true, NULL, '2019-11-15 11:21:33.59', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (52, 'proncero', 'Around the LHC in 252 days ', '<span>Around the LHC in 252 days </span> +INSERT INTO push_test."Notifications" VALUES (52, 'proncero', 'Around the LHC in 252 days ', '<span>Around the LHC in 252 days </span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Corinne Pralavorio</div> @@ -2323,7 +2333,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>For the teams involved in the <a href="https://home.cern/news/news/accelerators/ls2-report-insulation-lhc-diodes-has-begun">DISMAC (Diode Insulation and Superconducting Magnets Consolidation)</a> project, the LHC tour is a long adventure. On 7 November, they opened the last and 1360th LHC magnet interconnection, 252 days after having opened the first. The electrical insulation work of the magnets’ diodes is done in sequence: opening of the interconnection, cleaning, installation of the insulation, electrical and quality tests, welding, and so on. The teams work sequentially, and the diode insulation is scheduled to be completed next summer.</p> </div> ', true, NULL, '2019-11-15 11:30:30.966', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (53, 'proncero', 'LHCf gears up to probe birth of cosmic-ray showers', '<span>LHCf gears up to probe birth of cosmic-ray showers</span> +INSERT INTO push_test."Notifications" VALUES (53, 'proncero', 'LHCf gears up to probe birth of cosmic-ray showers', '<span>LHCf gears up to probe birth of cosmic-ray showers</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Ana Lopes</div> @@ -2337,7 +2347,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" One of the LHCf experiment''s two detectors, LHCf Arm2, seen here during installation into a particle absorber that surrounds the LHC''s beam pipe. <span> (Image: CERN)</span> </figcaption></figure></div> - + <div class="field field--name-field-p-news-display-body field--type-text-long field--label-hidden field--item"><p>Cosmic rays are particles from outer space, typically protons, travelling at almost the speed of light. When the most energetic of these particles strike the atmosphere of our planet, they interact with atomic nuclei in the atmosphere and produce cascades of secondary particles that shower down to the Earth’s surface. These extensive air showers, as they are known, are similar to the cascades of particles that are created in collisions inside particle colliders such as CERN’s Large Hadron Collider (LHC). In the next LHC, run starting in 2021, the smallest of the LHC experiments – the <a href="https://home.cern/science/experiments/lhcf">LHCf experiment</a> – is set to probe the first interaction that triggers these cosmic showers.</p> <p>Observations of extensive air showers are generally interpreted using computer simulations that involve a model of how cosmic rays interact with atomic nuclei in the atmosphere. But different models exist and it’s unclear which one is the most appropriate. The LHCf experiment is in an ideal position to test these models and help shed light on cosmic-ray interactions.</p> @@ -2355,7 +2365,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p> </p> </div> ', true, NULL, '2019-11-15 11:30:30.967', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (54, 'proncero', 'How to build beautiful CERN websites ', '<span>How to build beautiful CERN websites </span> +INSERT INTO push_test."Notifications" VALUES (54, 'proncero', 'How to build beautiful CERN websites ', '<span>How to build beautiful CERN websites </span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Kate Kahle</div> @@ -2374,7 +2384,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>If you would like to join the Drupal community to find out the latest news and improvements, <a class="bulletin" href="https://e-groups.cern.ch/e-groups/EgroupsSubscription.do?egroupName=drupal-community">subscribe here</a>.</p> </div> ', true, NULL, '2019-11-15 11:30:30.971', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (55, 'proncero', 'Probing dark matter using antimatter', '<span>Probing dark matter using antimatter</span> +INSERT INTO push_test."Notifications" VALUES (55, 'proncero', 'Probing dark matter using antimatter', '<span>Probing dark matter using antimatter</span> <span><span lang="" about="https://home.cern/user/159" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">abelchio</span></span> <span>Tue, 11/12/2019 - 10:11</span> @@ -2397,7 +2407,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>The new measurements by the BASE collaboration, which teamed up with researchers from the Helmholtz Institute Mainz for this study, provide a novel way to probe dark matter and its possible interaction with antimatter. While relying on specific assumptions about the nature of dark matter and on the pattern of the matter–antimatter asymmetry, the experiment’s results are a unique probe of unexpected new phenomena, which could unveil extraordinary modifications to our established understanding of how the universe works.</p> </div> ', true, NULL, '2019-11-15 11:30:30.971', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (56, 'proncero', 'ALICE: the journey of a cosmopolitan detector', '<span>ALICE: the journey of a cosmopolitan detector</span> +INSERT INTO push_test."Notifications" VALUES (56, 'proncero', 'ALICE: the journey of a cosmopolitan detector', '<span>ALICE: the journey of a cosmopolitan detector</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Camille Monnin</div> @@ -2418,7 +2428,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>The construction of all the mechanical structures was completed last year. The various pieces of the detector have arrived at CERN, and the CERN teams are now starting to assemble them in two half-barrel structures. The fact that the detector components were available quickly has made it possible to begin the commissioning process. The final installation of the detector in the experimental cavern is planned for next summer. </p> </div> ', true, NULL, '2019-11-15 11:30:30.975', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (57, 'proncero', 'Be seen, be safe', '<span>Be seen, be safe</span> +INSERT INTO push_test."Notifications" VALUES (57, 'proncero', 'Be seen, be safe', '<span>Be seen, be safe</span> <span><span lang="" about="https://home.cern/user/151" typeof="schema:Person" property="schema:name" datatype="" xml:lang="">anschaef</span></span> <span>Tue, 11/05/2019 - 12:27</span> @@ -2430,7 +2440,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>Some of you may remember last year’s distribution. This year’s tags are similar, but we’ve customised them a little. Come along to find out how, and to collect your free reflectors, at Restaurants 1, 2 and 3 at lunchtime on 14 November.</p> </div> ', true, NULL, '2019-11-15 11:30:30.975', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (58, 'bsilvade', 'Password of account "Push Service Mailbox (push)" will expire in 5 day(s)', ' Version francaise en fin de ce message +INSERT INTO push_test."Notifications" VALUES (58, 'bsilvade', 'Password of account "Push Service Mailbox (push)" will expire in 5 day(s)', ' Version francaise en fin de ce message Password Expiration Dear Push Service Mailbox, @@ -2471,7 +2481,7 @@ Obtenir de l''aide Cordialement, CERN Département IT ', true, NULL, '2019-11-17 00:00:55.625', NULL, NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (59, 'push', 'Password of account "Push Service Mailbox (push)" will expire in 5 day(s)', ' Version francaise en fin de ce message +INSERT INTO push_test."Notifications" VALUES (59, 'push', 'Password of account "Push Service Mailbox (push)" will expire in 5 day(s)', ' Version francaise en fin de ce message Password Expiration Dear Push Service Mailbox, @@ -2512,7 +2522,7 @@ Obtenir de l''aide Cordialement, CERN Département IT ', true, NULL, '2019-11-17 00:00:55.625', NULL, NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (61, 'push', 'Password of account "Push Service Mailbox (push)" will expire in 3 day(s)', ' Version francaise en fin de ce message +INSERT INTO push_test."Notifications" VALUES (61, 'push', 'Password of account "Push Service Mailbox (push)" will expire in 3 day(s)', ' Version francaise en fin de ce message Password Expiration Dear Push Service Mailbox, @@ -2553,7 +2563,7 @@ Obtenir de l''aide Cordialement, CERN Département IT ', true, NULL, '2019-11-19 00:00:40.917', NULL, NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (62, 'bsilvade', 'Password of account "Push Service Mailbox (push)" will expire in 1 day(s)', ' Version francaise en fin de ce message +INSERT INTO push_test."Notifications" VALUES (62, 'bsilvade', 'Password of account "Push Service Mailbox (push)" will expire in 1 day(s)', ' Version francaise en fin de ce message Password Expiration Dear Push Service Mailbox, @@ -2594,7 +2604,7 @@ Obtenir de l''aide Cordialement, CERN Département IT ', true, NULL, '2019-11-21 00:00:39.458', NULL, NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (63, 'push', 'Password of account "Push Service Mailbox (push)" will expire in 1 day(s)', ' Version francaise en fin de ce message +INSERT INTO push_test."Notifications" VALUES (63, 'push', 'Password of account "Push Service Mailbox (push)" will expire in 1 day(s)', ' Version francaise en fin de ce message Password Expiration Dear Push Service Mailbox, @@ -2635,7 +2645,7 @@ Obtenir de l''aide Cordialement, CERN Département IT ', true, NULL, '2019-11-21 00:00:39.46', NULL, NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (64, 'proncero', 'LS2 report: The PS is rejuvenated for its 60th birthday', '<span>LS2 report: The PS is rejuvenated for its 60th birthday</span> +INSERT INTO push_test."Notifications" VALUES (64, 'proncero', 'LS2 report: The PS is rejuvenated for its 60th birthday', '<span>LS2 report: The PS is rejuvenated for its 60th birthday</span> <div class="field field--name-field-p-news-display-byline field--type-entity-reference field--label-hidden field--items"> <div class="field--item">Corinne Pralavorio</div> @@ -2656,7 +2666,7 @@ INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt" <p>Work on the cooling system will continue until March and the accelerator upgrade is slated to be finished at the start of next summer.</p> </div> ', true, NULL, '2019-11-25 14:37:21.6', 'test-con-dani', NULL, NULL, NULL, NULL, NULL, 'NORMAL'); -INSERT INTO push_test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "fromId", tags, link, summary, "contentType", "imgUrl", priority) VALUES (60, 'bsilvade', 'Password of account "Push Service Mailbox (push)" will expire in 3 day(s)', ' Version francaise en fin de ce message +INSERT INTO push_test."Notifications" VALUES (60, 'bsilvade', 'Password of account "Push Service Mailbox (push)" will expire in 3 day(s)', ' Version francaise en fin de ce message Password Expiration Dear Push Service Mailbox, @@ -2700,262 +2710,217 @@ CERN Département IT -- --- TOC entry 3391 (class 0 OID 258989) --- Dependencies: 220 --- Data for Name: Rules; Type: TABLE DATA; Schema: push_test; Owner: test +-- Data for Name: Rules; Type: TABLE DATA; Schema: push_test; Owner: admin -- -INSERT INTO push_test."Rules" (id, name, channels, type, string, "userUsername") VALUES (1, 'All as push', 'PUSH', 'AllByEmailOrPush', NULL, 'proncero'); +INSERT INTO push_test."Rules" VALUES (1, 'All as push', 'PUSH', 'AllByEmailOrPush', NULL, 'proncero'); -- --- TOC entry 3385 (class 0 OID 258811) --- Dependencies: 214 --- Data for Name: Services; Type: TABLE DATA; Schema: push_test; Owner: test +-- Data for Name: Services; Type: TABLE DATA; Schema: push_test; Owner: admin -- -INSERT INTO push_test."Services" (id, name, email) VALUES ('test-con-dani', 'Push Notifications Service', 'push-notifications@cern.ch'); +INSERT INTO push_test."Services" VALUES ('test-con-dani', 'Push Notifications Service', 'push-notifications@cern.ch'); -- --- TOC entry 3387 (class 0 OID 258938) --- Dependencies: 216 --- Data for Name: UserNotifications; Type: TABLE DATA; Schema: push_test; Owner: test +-- Data for Name: UserNotifications; Type: TABLE DATA; Schema: push_test; Owner: admin -- -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (5, true, false, false, 'proncero', 5); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (6, false, false, false, 'proncero', 6); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (7, false, false, false, 'proncero', 7); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (9, false, false, false, 'proncero', 12); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (11, false, false, false, 'proncero', 10); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (12, false, false, false, 'proncero', 11); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (13, false, false, false, 'proncero', 8); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (14, false, false, false, 'proncero', 16); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (15, false, false, false, 'proncero', 17); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (16, false, false, false, 'proncero', 14); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (17, false, false, false, 'proncero', 15); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (8, true, false, false, 'proncero', 13); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (10, true, false, false, 'proncero', 9); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (18, false, false, false, 'proncero', 18); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (19, false, false, false, 'proncero', 20); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (20, false, false, false, 'proncero', 24); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (21, false, false, false, 'proncero', 21); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (22, false, false, false, 'proncero', 23); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (23, false, false, false, 'proncero', 22); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (24, false, false, false, 'proncero', 19); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (25, false, false, false, 'proncero', 25); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (26, false, false, false, 'proncero', 26); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (27, false, false, false, 'proncero', 27); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (28, false, false, false, 'proncero', 28); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (29, false, false, false, 'proncero', 29); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (30, false, false, false, 'proncero', 30); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (31, false, false, false, 'proncero', 31); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (32, false, false, false, 'proncero', 32); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (33, false, false, false, 'proncero', 33); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (36, false, false, false, 'proncero', 36); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (37, false, false, false, 'proncero', 37); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (35, true, false, false, 'proncero', 35); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (34, true, false, false, 'proncero', 34); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (38, false, false, false, 'proncero', 39); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (39, false, false, false, 'proncero', 40); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (40, false, false, false, 'proncero', 42); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (41, false, false, false, 'proncero', 41); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (42, false, false, false, 'proncero', 43); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (43, false, false, false, 'proncero', 38); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (44, false, false, false, 'proncero', 44); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (45, false, false, false, 'proncero', 45); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (46, false, false, false, 'proncero', 46); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (47, false, false, false, 'proncero', 47); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (48, false, false, false, 'proncero', 49); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (49, false, false, false, 'proncero', 48); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (50, false, false, false, 'proncero', 50); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (51, false, false, false, 'proncero', 51); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (52, false, false, false, 'proncero', 52); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (53, false, false, false, 'proncero', 53); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (54, false, false, false, 'proncero', 54); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (55, false, false, false, 'proncero', 55); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (56, false, false, false, 'proncero', 56); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (57, false, false, false, 'proncero', 57); -INSERT INTO push_test."UserNotifications" (id, read, pinned, archived, "userUsername", "notificationId") VALUES (58, false, false, false, 'proncero', 64); +INSERT INTO push_test."UserNotifications" VALUES (5, true, false, false, 'proncero', 5); +INSERT INTO push_test."UserNotifications" VALUES (6, false, false, false, 'proncero', 6); +INSERT INTO push_test."UserNotifications" VALUES (7, false, false, false, 'proncero', 7); +INSERT INTO push_test."UserNotifications" VALUES (9, false, false, false, 'proncero', 12); +INSERT INTO push_test."UserNotifications" VALUES (11, false, false, false, 'proncero', 10); +INSERT INTO push_test."UserNotifications" VALUES (12, false, false, false, 'proncero', 11); +INSERT INTO push_test."UserNotifications" VALUES (13, false, false, false, 'proncero', 8); +INSERT INTO push_test."UserNotifications" VALUES (14, false, false, false, 'proncero', 16); +INSERT INTO push_test."UserNotifications" VALUES (15, false, false, false, 'proncero', 17); +INSERT INTO push_test."UserNotifications" VALUES (16, false, false, false, 'proncero', 14); +INSERT INTO push_test."UserNotifications" VALUES (17, false, false, false, 'proncero', 15); +INSERT INTO push_test."UserNotifications" VALUES (8, true, false, false, 'proncero', 13); +INSERT INTO push_test."UserNotifications" VALUES (10, true, false, false, 'proncero', 9); +INSERT INTO push_test."UserNotifications" VALUES (18, false, false, false, 'proncero', 18); +INSERT INTO push_test."UserNotifications" VALUES (19, false, false, false, 'proncero', 20); +INSERT INTO push_test."UserNotifications" VALUES (20, false, false, false, 'proncero', 24); +INSERT INTO push_test."UserNotifications" VALUES (21, false, false, false, 'proncero', 21); +INSERT INTO push_test."UserNotifications" VALUES (22, false, false, false, 'proncero', 23); +INSERT INTO push_test."UserNotifications" VALUES (23, false, false, false, 'proncero', 22); +INSERT INTO push_test."UserNotifications" VALUES (24, false, false, false, 'proncero', 19); +INSERT INTO push_test."UserNotifications" VALUES (25, false, false, false, 'proncero', 25); +INSERT INTO push_test."UserNotifications" VALUES (26, false, false, false, 'proncero', 26); +INSERT INTO push_test."UserNotifications" VALUES (27, false, false, false, 'proncero', 27); +INSERT INTO push_test."UserNotifications" VALUES (28, false, false, false, 'proncero', 28); +INSERT INTO push_test."UserNotifications" VALUES (29, false, false, false, 'proncero', 29); +INSERT INTO push_test."UserNotifications" VALUES (30, false, false, false, 'proncero', 30); +INSERT INTO push_test."UserNotifications" VALUES (31, false, false, false, 'proncero', 31); +INSERT INTO push_test."UserNotifications" VALUES (32, false, false, false, 'proncero', 32); +INSERT INTO push_test."UserNotifications" VALUES (33, false, false, false, 'proncero', 33); +INSERT INTO push_test."UserNotifications" VALUES (36, false, false, false, 'proncero', 36); +INSERT INTO push_test."UserNotifications" VALUES (37, false, false, false, 'proncero', 37); +INSERT INTO push_test."UserNotifications" VALUES (35, true, false, false, 'proncero', 35); +INSERT INTO push_test."UserNotifications" VALUES (34, true, false, false, 'proncero', 34); +INSERT INTO push_test."UserNotifications" VALUES (38, false, false, false, 'proncero', 39); +INSERT INTO push_test."UserNotifications" VALUES (39, false, false, false, 'proncero', 40); +INSERT INTO push_test."UserNotifications" VALUES (40, false, false, false, 'proncero', 42); +INSERT INTO push_test."UserNotifications" VALUES (41, false, false, false, 'proncero', 41); +INSERT INTO push_test."UserNotifications" VALUES (42, false, false, false, 'proncero', 43); +INSERT INTO push_test."UserNotifications" VALUES (43, false, false, false, 'proncero', 38); +INSERT INTO push_test."UserNotifications" VALUES (44, false, false, false, 'proncero', 44); +INSERT INTO push_test."UserNotifications" VALUES (45, false, false, false, 'proncero', 45); +INSERT INTO push_test."UserNotifications" VALUES (46, false, false, false, 'proncero', 46); +INSERT INTO push_test."UserNotifications" VALUES (47, false, false, false, 'proncero', 47); +INSERT INTO push_test."UserNotifications" VALUES (48, false, false, false, 'proncero', 49); +INSERT INTO push_test."UserNotifications" VALUES (49, false, false, false, 'proncero', 48); +INSERT INTO push_test."UserNotifications" VALUES (50, false, false, false, 'proncero', 50); +INSERT INTO push_test."UserNotifications" VALUES (51, false, false, false, 'proncero', 51); +INSERT INTO push_test."UserNotifications" VALUES (52, false, false, false, 'proncero', 52); +INSERT INTO push_test."UserNotifications" VALUES (53, false, false, false, 'proncero', 53); +INSERT INTO push_test."UserNotifications" VALUES (54, false, false, false, 'proncero', 54); +INSERT INTO push_test."UserNotifications" VALUES (55, false, false, false, 'proncero', 55); +INSERT INTO push_test."UserNotifications" VALUES (56, false, false, false, 'proncero', 56); +INSERT INTO push_test."UserNotifications" VALUES (57, false, false, false, 'proncero', 57); +INSERT INTO push_test."UserNotifications" VALUES (58, false, false, false, 'proncero', 64); -- --- TOC entry 3384 (class 0 OID 258584) --- Dependencies: 213 --- Data for Name: Users; Type: TABLE DATA; Schema: push_test; Owner: test +-- Data for Name: Users; Type: TABLE DATA; Schema: push_test; Owner: admin -- -INSERT INTO push_test."Users" (username, email, "deviceTokens", enabled) VALUES ('ischuszt', 'cristian.schuszter@cern.ch', 'ey3laSIABxA:APA91bFlSGKhqYNmPmQYGhrgmsWd9zU7mBmL_I3UrN2d7QCvzQF0-7kxifxYT1oTWFIIdymh9J-21DfMuMli3A5rySDSdedCPymmJn94O2Q0F11ociSZzMK6I4iSK6If3-O-vOIq0BqL', true); -INSERT INTO push_test."Users" (username, email, "deviceTokens", enabled) VALUES ('lolopez', 'lorys.lopez@cern.ch', 'ciPyjjOuHuE:APA91bFFhwXun7PODaf6DJaxab6rc3hj-CPaVwHxcypkLciZdD6-EN5wylBDphREYDEgsvphJnRoYn9s9u_qcb8Uf9HdU9-27-4itO90icF42oc_cGpLJy4ok7WkIKk3pVDHZzfVLXBq', true); -INSERT INTO push_test."Users" (username, email, "deviceTokens", enabled) VALUES ('proncero', 'pablo.roncero.fernandez@cern.ch', 'cx6RfRePvYs:APA91bH2IEgHD2DoEKAiAHSLO9bMmGSbEU3Vh86UwmvLINQ6bhuG1BMg5ffutIrwAZxhqld146fCaVtl0S1tnstSa0UgyfvIhu-k7p_1l70tr_ZHHTuRXB6pgpWC1j6HqzuooDSkOfoe,dE5-FWr1Aso:APA91bGMtSn6b9SvI_zuNt9xprKEchaatOX6kICrdgw81TI5K8WI4uPcHZJXZYVYIWkoaAdapOOmjsbgZ2wuraMrWZbzc3H8tmSFnte7lWawH3vvmn8JmAVqkRbbPzeMiVuMJcmqE8h6,fX74YVLygho:APA91bERR35zUB7ndBKhNK8JDPwMEsI0sQbp9GTBqgF4A_QT3kWnpby-f61KNJWVZFDyEGHrhGvw62abemL2_QYcYsSkbGubvLN859ywOKHF5zjqF1bg6q8xXbog61U0PXTZayt_SPQR,ebGE9WS41fg:APA91bGATMs56gFxuDB70BZpRBGjl1FSj8hYb8_xvutOTlIXMRNOY_RG-vEVpxy7gU1BkudNXnGq-_K7yg5lvRFPy-66GhDGvwSwlWaYa-7_99EtBH6jR9Y13zTZUwqWeE5TUlroyPrd', true); -INSERT INTO push_test."Users" (username, email, "deviceTokens", enabled) VALUES ('fernanre', 'rene.fernandez@cern.ch', NULL, true); -INSERT INTO push_test."Users" (username, email, "deviceTokens", enabled) VALUES ('jalcalap', 'joel.alcala.perez@cern.ch', 'ej1m9KgqUOk:APA91bHjA1wlQ_ZdSKGTGMBaTWk4ub1RoGR_zmRIn3InqkrKP9MnaRkpBn5hQTB8S9fyVYWyTVsKNUKrrQuWGMvVJaA8oY4uk26Jd-JROg9n7NN3ULwYMZGYPTQIIcs-uLkCIYfiVTs_,drANG1NP__o:APA91bG4btX3JMuhkYkjxOUw2rDCDWr-rOZyoGpfj1XY4gNGqBdwphqPvZR2DWxovKL_1MMWvjr6XGY6CBzAHAqIx8_LvYeED3t_YhWgv75EBrC1JM-PZpChMSlau2WKyg1LjNokcf56,f-y7ve-9w1w:APA91bEzviAjngGe4xfdbGB_6l8gVTIllwMWduNG1_j5NCYbCoaRApEPabxXME_uO9u8HwnIkE-SyDePLnJgMrgTDNBxOL4gL99C38r8y9_C2oqnzpFp1yGRhtgRCVMKPvOrUfZGe5fY,fuBXw1nkzZ4:APA91bGE4lH8m3dfWCgAdzD_A6gFZSBq_07HPa7zg9R7ENXOHaxvnwT7Wd8nz_32rWE6dnJ6dvdwK2qzGKfxZhk-giL_H-aCeb3cQSun83h1tc_HD5XIcJ-9PwwmR7uMcfC1p4nrLo2N,fCTqXijsji4:APA91bFh_E4Jo_ym1GWOn_HY3a2M1DCG_4015UCFNJWr2yZwhUzN5h0uqb9DF5ORaDiIc524fWyU_tNVev55T2RbYS2ttZJjq5R_plMNoox05QWuAdwB-AEpgQt9INSoS4CvEousGTp4,e-nbGO176HI:APA91bHIDNgj8nX8vyWIyfnlalapeOQEAUaouAlfiHb5Ip9-AYR_oX0Yu4XmLLwEFou0-8a03hqs2o9BgEHsyia8geYRKK5JBrq7LQMKUUGb4y5jKQVR09ndX6j_Iklitxz-D9TUfdcV,cfLOohDMo8M:APA91bG33rcF6KPrDRjCgnOZVyqaEi0fex69cHiAJCw5WQzIZc0ykXixoFCY_VaBGb5wXa-L_vazPPqR4YMd8rcVvY50-vm6EGcu1td4vcbI_XrloOBolGICMUu1fChDshLaQuqhV3-B,dNFRGEtxZhs:APA91bG7vvCtXSf-kz6JjE_di9CCAzmc-lH1RC_BFO7aBrOKHb7mbjddbZvVFR7vgf2Xu2kp72JmpUqzabx1cXV53oUMWlk_WJJGAMYApJ4jMZ5WlM3PP_clboFGByRPQFBy9njjKg4V', true); +INSERT INTO push_test."Users" VALUES ('ischuszt', 'cristian.schuszter@cern.ch', 'ey3laSIABxA:APA91bFlSGKhqYNmPmQYGhrgmsWd9zU7mBmL_I3UrN2d7QCvzQF0-7kxifxYT1oTWFIIdymh9J-21DfMuMli3A5rySDSdedCPymmJn94O2Q0F11ociSZzMK6I4iSK6If3-O-vOIq0BqL', true); +INSERT INTO push_test."Users" VALUES ('lolopez', 'lorys.lopez@cern.ch', 'ciPyjjOuHuE:APA91bFFhwXun7PODaf6DJaxab6rc3hj-CPaVwHxcypkLciZdD6-EN5wylBDphREYDEgsvphJnRoYn9s9u_qcb8Uf9HdU9-27-4itO90icF42oc_cGpLJy4ok7WkIKk3pVDHZzfVLXBq', true); +INSERT INTO push_test."Users" VALUES ('proncero', 'pablo.roncero.fernandez@cern.ch', 'cx6RfRePvYs:APA91bH2IEgHD2DoEKAiAHSLO9bMmGSbEU3Vh86UwmvLINQ6bhuG1BMg5ffutIrwAZxhqld146fCaVtl0S1tnstSa0UgyfvIhu-k7p_1l70tr_ZHHTuRXB6pgpWC1j6HqzuooDSkOfoe,dE5-FWr1Aso:APA91bGMtSn6b9SvI_zuNt9xprKEchaatOX6kICrdgw81TI5K8WI4uPcHZJXZYVYIWkoaAdapOOmjsbgZ2wuraMrWZbzc3H8tmSFnte7lWawH3vvmn8JmAVqkRbbPzeMiVuMJcmqE8h6,fX74YVLygho:APA91bERR35zUB7ndBKhNK8JDPwMEsI0sQbp9GTBqgF4A_QT3kWnpby-f61KNJWVZFDyEGHrhGvw62abemL2_QYcYsSkbGubvLN859ywOKHF5zjqF1bg6q8xXbog61U0PXTZayt_SPQR,ebGE9WS41fg:APA91bGATMs56gFxuDB70BZpRBGjl1FSj8hYb8_xvutOTlIXMRNOY_RG-vEVpxy7gU1BkudNXnGq-_K7yg5lvRFPy-66GhDGvwSwlWaYa-7_99EtBH6jR9Y13zTZUwqWeE5TUlroyPrd', true); +INSERT INTO push_test."Users" VALUES ('fernanre', 'rene.fernandez@cern.ch', NULL, true); +INSERT INTO push_test."Users" VALUES ('jalcalap', 'joel.alcala.perez@cern.ch', 'ej1m9KgqUOk:APA91bHjA1wlQ_ZdSKGTGMBaTWk4ub1RoGR_zmRIn3InqkrKP9MnaRkpBn5hQTB8S9fyVYWyTVsKNUKrrQuWGMvVJaA8oY4uk26Jd-JROg9n7NN3ULwYMZGYPTQIIcs-uLkCIYfiVTs_,drANG1NP__o:APA91bG4btX3JMuhkYkjxOUw2rDCDWr-rOZyoGpfj1XY4gNGqBdwphqPvZR2DWxovKL_1MMWvjr6XGY6CBzAHAqIx8_LvYeED3t_YhWgv75EBrC1JM-PZpChMSlau2WKyg1LjNokcf56,f-y7ve-9w1w:APA91bEzviAjngGe4xfdbGB_6l8gVTIllwMWduNG1_j5NCYbCoaRApEPabxXME_uO9u8HwnIkE-SyDePLnJgMrgTDNBxOL4gL99C38r8y9_C2oqnzpFp1yGRhtgRCVMKPvOrUfZGe5fY,fuBXw1nkzZ4:APA91bGE4lH8m3dfWCgAdzD_A6gFZSBq_07HPa7zg9R7ENXOHaxvnwT7Wd8nz_32rWE6dnJ6dvdwK2qzGKfxZhk-giL_H-aCeb3cQSun83h1tc_HD5XIcJ-9PwwmR7uMcfC1p4nrLo2N,fCTqXijsji4:APA91bFh_E4Jo_ym1GWOn_HY3a2M1DCG_4015UCFNJWr2yZwhUzN5h0uqb9DF5ORaDiIc524fWyU_tNVev55T2RbYS2ttZJjq5R_plMNoox05QWuAdwB-AEpgQt9INSoS4CvEousGTp4,e-nbGO176HI:APA91bHIDNgj8nX8vyWIyfnlalapeOQEAUaouAlfiHb5Ip9-AYR_oX0Yu4XmLLwEFou0-8a03hqs2o9BgEHsyia8geYRKK5JBrq7LQMKUUGb4y5jKQVR09ndX6j_Iklitxz-D9TUfdcV,cfLOohDMo8M:APA91bG33rcF6KPrDRjCgnOZVyqaEi0fex69cHiAJCw5WQzIZc0ykXixoFCY_VaBGb5wXa-L_vazPPqR4YMd8rcVvY50-vm6EGcu1td4vcbI_XrloOBolGICMUu1fChDshLaQuqhV3-B,dNFRGEtxZhs:APA91bG7vvCtXSf-kz6JjE_di9CCAzmc-lH1RC_BFO7aBrOKHb7mbjddbZvVFR7vgf2Xu2kp72JmpUqzabx1cXV53oUMWlk_WJJGAMYApJ4jMZ5WlM3PP_clboFGByRPQFBy9njjKg4V', true); -- --- TOC entry 3371 (class 0 OID 257891) --- Dependencies: 200 --- Data for Name: Notifications; Type: TABLE DATA; Schema: test; Owner: test +-- Data for Name: Notifications; Type: TABLE DATA; Schema: test; Owner: admin -- -INSERT INTO test."Notifications" (id, target, subject, body, sent, "sendAt", "sentAt", "from") VALUES (470, 'test-push', 'subject', 'body', false, NULL, NULL, 'fakeFrom'); +INSERT INTO test."Notifications" VALUES (470, 'test-push', 'subject', 'body', false, NULL, NULL, 'fakeFrom'); -- --- TOC entry 3368 (class 0 OID 257870) --- Dependencies: 197 --- Data for Name: Rules; Type: TABLE DATA; Schema: test; Owner: test +-- Data for Name: Rules; Type: TABLE DATA; Schema: test; Owner: admin -- -INSERT INTO test."Rules" (id, channel, type, "userId", string) VALUES (342, 'EMAIL', 'AllByEmailOrPushRule', NULL, NULL); -INSERT INTO test."Rules" (id, channel, type, "userId", string) VALUES (343, 'PUSH', 'AllByEmailOrPushRule', NULL, NULL); +INSERT INTO test."Rules" VALUES (342, 'EMAIL', 'AllByEmailOrPushRule', NULL, NULL); +INSERT INTO test."Rules" VALUES (343, 'PUSH', 'AllByEmailOrPushRule', NULL, NULL); -- --- TOC entry 3373 (class 0 OID 257903) --- Dependencies: 202 --- Data for Name: Services; Type: TABLE DATA; Schema: test; Owner: test +-- Data for Name: Services; Type: TABLE DATA; Schema: test; Owner: admin -- -- --- TOC entry 3369 (class 0 OID 257881) --- Dependencies: 198 --- Data for Name: Users; Type: TABLE DATA; Schema: test; Owner: test +-- Data for Name: Users; Type: TABLE DATA; Schema: test; Owner: admin -- -INSERT INTO test."Users" (id, username, email) VALUES (1, 'username', 'email@email.com'); +INSERT INTO test."Users" VALUES (1, 'username', 'email@email.com'); -- --- TOC entry 3374 (class 0 OID 257916) --- Dependencies: 203 --- Data for Name: users_notifications__notifications; Type: TABLE DATA; Schema: test; Owner: test +-- Data for Name: users_notifications__notifications; Type: TABLE DATA; Schema: test; Owner: admin -- -- --- TOC entry 3425 (class 0 OID 0) --- Dependencies: 211 --- Name: Notifications_id_seq; Type: SEQUENCE SET; Schema: authorization_service; Owner: test +-- Name: Notifications_id_seq; Type: SEQUENCE SET; Schema: authorization_service; Owner: admin -- SELECT pg_catalog.setval('authorization_service."Notifications_id_seq"', 1, false); -- --- TOC entry 3426 (class 0 OID 0) --- Dependencies: 206 --- Name: Rules_id_seq; Type: SEQUENCE SET; Schema: authorization_service; Owner: test +-- Name: Rules_id_seq; Type: SEQUENCE SET; Schema: authorization_service; Owner: admin -- SELECT pg_catalog.setval('authorization_service."Rules_id_seq"', 1, false); -- --- TOC entry 3427 (class 0 OID 0) --- Dependencies: 204 --- Name: Services_id_seq; Type: SEQUENCE SET; Schema: authorization_service; Owner: test +-- Name: Services_id_seq; Type: SEQUENCE SET; Schema: authorization_service; Owner: admin -- SELECT pg_catalog.setval('authorization_service."Services_id_seq"', 2, true); -- --- TOC entry 3428 (class 0 OID 0) --- Dependencies: 209 --- Name: UserNotifications_id_seq; Type: SEQUENCE SET; Schema: authorization_service; Owner: test +-- Name: UserNotifications_id_seq; Type: SEQUENCE SET; Schema: authorization_service; Owner: admin -- SELECT pg_catalog.setval('authorization_service."UserNotifications_id_seq"', 1, false); -- --- TOC entry 3429 (class 0 OID 0) --- Dependencies: 192 --- Name: Notfications_id_seq; Type: SEQUENCE SET; Schema: public; Owner: test +-- Name: Notfications_id_seq; Type: SEQUENCE SET; Schema: public; Owner: admin -- SELECT pg_catalog.setval('public."Notfications_id_seq"', 36, true); -- --- TOC entry 3430 (class 0 OID 0) --- Dependencies: 194 --- Name: Notifications_id_seq; Type: SEQUENCE SET; Schema: public; Owner: test +-- Name: Notifications_id_seq; Type: SEQUENCE SET; Schema: public; Owner: admin -- SELECT pg_catalog.setval('public."Notifications_id_seq"', 4, true); -- --- TOC entry 3431 (class 0 OID 0) --- Dependencies: 190 --- Name: Users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: test +-- Name: Users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: admin -- SELECT pg_catalog.setval('public."Users_id_seq"', 1, false); -- --- TOC entry 3432 (class 0 OID 0) --- Dependencies: 217 --- Name: Notifications_id_seq; Type: SEQUENCE SET; Schema: push_test; Owner: test +-- Name: Notifications_id_seq; Type: SEQUENCE SET; Schema: push_test; Owner: admin -- SELECT pg_catalog.setval('push_test."Notifications_id_seq"', 64, true); -- --- TOC entry 3433 (class 0 OID 0) --- Dependencies: 219 --- Name: Rules_id_seq; Type: SEQUENCE SET; Schema: push_test; Owner: test +-- Name: Rules_id_seq; Type: SEQUENCE SET; Schema: push_test; Owner: admin -- SELECT pg_catalog.setval('push_test."Rules_id_seq"', 1, true); -- --- TOC entry 3434 (class 0 OID 0) --- Dependencies: 215 --- Name: UserNotifications_id_seq; Type: SEQUENCE SET; Schema: push_test; Owner: test +-- Name: UserNotifications_id_seq; Type: SEQUENCE SET; Schema: push_test; Owner: admin -- SELECT pg_catalog.setval('push_test."UserNotifications_id_seq"', 58, true); -- --- TOC entry 3435 (class 0 OID 0) --- Dependencies: 199 --- Name: Notifications_id_seq; Type: SEQUENCE SET; Schema: test; Owner: test +-- Name: Notifications_id_seq; Type: SEQUENCE SET; Schema: test; Owner: admin -- SELECT pg_catalog.setval('test."Notifications_id_seq"', 470, true); -- --- TOC entry 3436 (class 0 OID 0) --- Dependencies: 196 --- Name: Rules_id_seq; Type: SEQUENCE SET; Schema: test; Owner: test +-- Name: Rules_id_seq; Type: SEQUENCE SET; Schema: test; Owner: admin -- SELECT pg_catalog.setval('test."Rules_id_seq"', 343, true); -- --- TOC entry 3437 (class 0 OID 0) --- Dependencies: 201 --- Name: Services_id_seq; Type: SEQUENCE SET; Schema: test; Owner: test +-- Name: Services_id_seq; Type: SEQUENCE SET; Schema: test; Owner: admin -- SELECT pg_catalog.setval('test."Services_id_seq"', 509, true); -- --- TOC entry 3143 (class 2606 OID 258081) --- Name: Rules PK_9966a0656d39b62e1c37ef912ff; Type: CONSTRAINT; Schema: authorization_service; Owner: test +-- Name: Rules PK_9966a0656d39b62e1c37ef912ff; Type: CONSTRAINT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."Rules" @@ -2963,8 +2928,7 @@ ALTER TABLE ONLY authorization_service."Rules" -- --- TOC entry 3150 (class 2606 OID 258112) --- Name: Notifications PK_a8a64c3cdfb69c2b84ea0dc05f9; Type: CONSTRAINT; Schema: authorization_service; Owner: test +-- Name: Notifications PK_a8a64c3cdfb69c2b84ea0dc05f9; Type: CONSTRAINT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."Notifications" @@ -2972,8 +2936,7 @@ ALTER TABLE ONLY authorization_service."Notifications" -- --- TOC entry 3145 (class 2606 OID 258091) --- Name: Users PK_a8aa2427c1085e957928fdd3809; Type: CONSTRAINT; Schema: authorization_service; Owner: test +-- Name: Users PK_a8aa2427c1085e957928fdd3809; Type: CONSTRAINT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."Users" @@ -2981,8 +2944,7 @@ ALTER TABLE ONLY authorization_service."Users" -- --- TOC entry 3148 (class 2606 OID 258099) --- Name: UserNotifications PK_f89dab386c80a39a17ecd1332d8; Type: CONSTRAINT; Schema: authorization_service; Owner: test +-- Name: UserNotifications PK_f89dab386c80a39a17ecd1332d8; Type: CONSTRAINT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."UserNotifications" @@ -2990,8 +2952,7 @@ ALTER TABLE ONLY authorization_service."UserNotifications" -- --- TOC entry 3135 (class 2606 OID 258066) --- Name: Services PK_fda332019de682bc8e474112b18; Type: CONSTRAINT; Schema: authorization_service; Owner: test +-- Name: Services PK_fda332019de682bc8e474112b18; Type: CONSTRAINT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."Services" @@ -2999,8 +2960,7 @@ ALTER TABLE ONLY authorization_service."Services" -- --- TOC entry 3137 (class 2606 OID 258070) --- Name: Services UQ_615bf21e2614a26b3df0aa30ef9; Type: CONSTRAINT; Schema: authorization_service; Owner: test +-- Name: Services UQ_615bf21e2614a26b3df0aa30ef9; Type: CONSTRAINT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."Services" @@ -3008,8 +2968,7 @@ ALTER TABLE ONLY authorization_service."Services" -- --- TOC entry 3139 (class 2606 OID 258068) --- Name: Services UQ_f2d51af70f67c2dd86657549f26; Type: CONSTRAINT; Schema: authorization_service; Owner: test +-- Name: Services UQ_f2d51af70f67c2dd86657549f26; Type: CONSTRAINT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."Services" @@ -3017,8 +2976,7 @@ ALTER TABLE ONLY authorization_service."Services" -- --- TOC entry 3113 (class 2606 OID 257756) --- Name: Users PK_16d4f7d636df336db11d87413e3; Type: CONSTRAINT; Schema: public; Owner: test +-- Name: Users PK_16d4f7d636df336db11d87413e3; Type: CONSTRAINT; Schema: public; Owner: admin -- ALTER TABLE ONLY public."Users" @@ -3026,8 +2984,7 @@ ALTER TABLE ONLY public."Users" -- --- TOC entry 3115 (class 2606 OID 257768) --- Name: Notfications PK_6463423e5cf0ee0261103566099; Type: CONSTRAINT; Schema: public; Owner: test +-- Name: Notfications PK_6463423e5cf0ee0261103566099; Type: CONSTRAINT; Schema: public; Owner: admin -- ALTER TABLE ONLY public."Notfications" @@ -3035,8 +2992,7 @@ ALTER TABLE ONLY public."Notfications" -- --- TOC entry 3117 (class 2606 OID 257786) --- Name: Notifications PK_c77268afe7d3c5568da66c5bebe; Type: CONSTRAINT; Schema: public; Owner: test +-- Name: Notifications PK_c77268afe7d3c5568da66c5bebe; Type: CONSTRAINT; Schema: public; Owner: admin -- ALTER TABLE ONLY public."Notifications" @@ -3044,8 +3000,7 @@ ALTER TABLE ONLY public."Notifications" -- --- TOC entry 3172 (class 2606 OID 261435) --- Name: Groups PK_1036beb1e2f958e6ffe4af0668c; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: Groups PK_1036beb1e2f958e6ffe4af0668c; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Groups" @@ -3053,8 +3008,7 @@ ALTER TABLE ONLY push."Groups" -- --- TOC entry 3209 (class 2606 OID 261527) --- Name: preferences_disabled_channels__channels PK_1d577038b06f0c7d5941e6b6d44; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: preferences_disabled_channels__channels PK_1d577038b06f0c7d5941e6b6d44; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.preferences_disabled_channels__channels @@ -3062,8 +3016,7 @@ ALTER TABLE ONLY push.preferences_disabled_channels__channels -- --- TOC entry 3168 (class 2606 OID 261416) --- Name: UserNotifications PK_25b987313e820785e36f789fce9; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: UserNotifications PK_25b987313e820785e36f789fce9; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."UserNotifications" @@ -3071,8 +3024,7 @@ ALTER TABLE ONLY push."UserNotifications" -- --- TOC entry 3193 (class 2606 OID 261496) --- Name: channels_members__users PK_44aaf4fd010be6d455f0395087d; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: channels_members__users PK_44aaf4fd010be6d455f0395087d; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.channels_members__users @@ -3080,8 +3032,7 @@ ALTER TABLE ONLY push.channels_members__users -- --- TOC entry 3170 (class 2606 OID 261427) --- Name: Notifications PK_4b04b7cc85e5bec41a3e112ab0e; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: Notifications PK_4b04b7cc85e5bec41a3e112ab0e; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Notifications" @@ -3089,8 +3040,7 @@ ALTER TABLE ONLY push."Notifications" -- --- TOC entry 3201 (class 2606 OID 261513) --- Name: channels_groups__groups PK_6cfe1ace99c86f42bd1f17976ae; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: channels_groups__groups PK_6cfe1ace99c86f42bd1f17976ae; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.channels_groups__groups @@ -3098,8 +3048,7 @@ ALTER TABLE ONLY push.channels_groups__groups -- --- TOC entry 3178 (class 2606 OID 261451) --- Name: Channels PK_755e126393652c40d8fde456cdc; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: Channels PK_755e126393652c40d8fde456cdc; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Channels" @@ -3107,8 +3056,7 @@ ALTER TABLE ONLY push."Channels" -- --- TOC entry 3197 (class 2606 OID 261503) --- Name: channels_unsubscribed__users PK_7e89bf0cd584bb1c0452c398031; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: channels_unsubscribed__users PK_7e89bf0cd584bb1c0452c398031; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.channels_unsubscribed__users @@ -3116,8 +3064,7 @@ ALTER TABLE ONLY push.channels_unsubscribed__users -- --- TOC entry 3205 (class 2606 OID 261520) --- Name: preferences_devices__devices PK_8b74ee67a4e700ee9f9e3a05150; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: preferences_devices__devices PK_8b74ee67a4e700ee9f9e3a05150; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.preferences_devices__devices @@ -3125,8 +3072,7 @@ ALTER TABLE ONLY push.preferences_devices__devices -- --- TOC entry 3180 (class 2606 OID 261462) --- Name: Devices PK_a172be05db88c0a4be502f15c69; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: Devices PK_a172be05db88c0a4be502f15c69; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Devices" @@ -3134,8 +3080,7 @@ ALTER TABLE ONLY push."Devices" -- --- TOC entry 3185 (class 2606 OID 261480) --- Name: Users PK_a8a84fd043f7210bff4746b62a1; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: Users PK_a8a84fd043f7210bff4746b62a1; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Users" @@ -3143,8 +3088,7 @@ ALTER TABLE ONLY push."Users" -- --- TOC entry 3212 (class 2606 OID 261663) --- Name: UserDailyNotifications PK_be9036b93d1015bc9d51fd217e0; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: UserDailyNotifications PK_be9036b93d1015bc9d51fd217e0; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."UserDailyNotifications" @@ -3152,8 +3096,7 @@ ALTER TABLE ONLY push."UserDailyNotifications" -- --- TOC entry 3182 (class 2606 OID 261471) --- Name: Preferences PK_df9d94acb04c3ea85603c634f6b; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: Preferences PK_df9d94acb04c3ea85603c634f6b; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Preferences" @@ -3161,8 +3104,7 @@ ALTER TABLE ONLY push."Preferences" -- --- TOC entry 3187 (class 2606 OID 261489) --- Name: Services PK_f7fdeaa9c02e5506593d35a939d; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: Services PK_f7fdeaa9c02e5506593d35a939d; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Services" @@ -3170,8 +3112,7 @@ ALTER TABLE ONLY push."Services" -- --- TOC entry 3174 (class 2606 OID 261437) --- Name: Groups UQ_cbf00aa66f2f7ad0970f73d5ae4; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: Groups UQ_cbf00aa66f2f7ad0970f73d5ae4; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Groups" @@ -3179,8 +3120,7 @@ ALTER TABLE ONLY push."Groups" -- --- TOC entry 3189 (class 2606 OID 261491) --- Name: Services UQ_ef4d2e448dd7b00d8c261787002; Type: CONSTRAINT; Schema: push; Owner: test +-- Name: Services UQ_ef4d2e448dd7b00d8c261787002; Type: CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Services" @@ -3188,8 +3128,7 @@ ALTER TABLE ONLY push."Services" -- --- TOC entry 3154 (class 2606 OID 258818) --- Name: Services PK_166c6340639ab62ac94d78ba7f2; Type: CONSTRAINT; Schema: push_test; Owner: test +-- Name: Services PK_166c6340639ab62ac94d78ba7f2; Type: CONSTRAINT; Schema: push_test; Owner: admin -- ALTER TABLE ONLY push_test."Services" @@ -3197,8 +3136,7 @@ ALTER TABLE ONLY push_test."Services" -- --- TOC entry 3159 (class 2606 OID 258944) --- Name: UserNotifications PK_429928d0e28a02b3277c8e6f7e8; Type: CONSTRAINT; Schema: push_test; Owner: test +-- Name: UserNotifications PK_429928d0e28a02b3277c8e6f7e8; Type: CONSTRAINT; Schema: push_test; Owner: admin -- ALTER TABLE ONLY push_test."UserNotifications" @@ -3206,8 +3144,7 @@ ALTER TABLE ONLY push_test."UserNotifications" -- --- TOC entry 3165 (class 2606 OID 258998) --- Name: Rules PK_65056b33448fdeed62bb4ac0d42; Type: CONSTRAINT; Schema: push_test; Owner: test +-- Name: Rules PK_65056b33448fdeed62bb4ac0d42; Type: CONSTRAINT; Schema: push_test; Owner: admin -- ALTER TABLE ONLY push_test."Rules" @@ -3215,8 +3152,7 @@ ALTER TABLE ONLY push_test."Rules" -- --- TOC entry 3152 (class 2606 OID 258674) --- Name: Users PK_a0e1b0c28e14b024f7fd85fdbfe; Type: CONSTRAINT; Schema: push_test; Owner: test +-- Name: Users PK_a0e1b0c28e14b024f7fd85fdbfe; Type: CONSTRAINT; Schema: push_test; Owner: admin -- ALTER TABLE ONLY push_test."Users" @@ -3224,8 +3160,7 @@ ALTER TABLE ONLY push_test."Users" -- --- TOC entry 3161 (class 2606 OID 258957) --- Name: Notifications PK_c305c7e954d1b2c4375911489bd; Type: CONSTRAINT; Schema: push_test; Owner: test +-- Name: Notifications PK_c305c7e954d1b2c4375911489bd; Type: CONSTRAINT; Schema: push_test; Owner: admin -- ALTER TABLE ONLY push_test."Notifications" @@ -3233,8 +3168,7 @@ ALTER TABLE ONLY push_test."Notifications" -- --- TOC entry 3156 (class 2606 OID 258820) --- Name: Services UQ_e46db72dd9e489367a9c98dbfd7; Type: CONSTRAINT; Schema: push_test; Owner: test +-- Name: Services UQ_e46db72dd9e489367a9c98dbfd7; Type: CONSTRAINT; Schema: push_test; Owner: admin -- ALTER TABLE ONLY push_test."Services" @@ -3242,8 +3176,7 @@ ALTER TABLE ONLY push_test."Services" -- --- TOC entry 3133 (class 2606 OID 257920) --- Name: users_notifications__notifications PK_142b0d79c7e8ced138efb789357; Type: CONSTRAINT; Schema: test; Owner: test +-- Name: users_notifications__notifications PK_142b0d79c7e8ced138efb789357; Type: CONSTRAINT; Schema: test; Owner: admin -- ALTER TABLE ONLY test.users_notifications__notifications @@ -3251,8 +3184,7 @@ ALTER TABLE ONLY test.users_notifications__notifications -- --- TOC entry 3127 (class 2606 OID 257911) --- Name: Services PK_7472cc1ebfd534e665360a490c2; Type: CONSTRAINT; Schema: test; Owner: test +-- Name: Services PK_7472cc1ebfd534e665360a490c2; Type: CONSTRAINT; Schema: test; Owner: admin -- ALTER TABLE ONLY test."Services" @@ -3260,8 +3192,7 @@ ALTER TABLE ONLY test."Services" -- --- TOC entry 3121 (class 2606 OID 257878) --- Name: Rules PK_b4023c95b5e08eaa991cf8b1d29; Type: CONSTRAINT; Schema: test; Owner: test +-- Name: Rules PK_b4023c95b5e08eaa991cf8b1d29; Type: CONSTRAINT; Schema: test; Owner: admin -- ALTER TABLE ONLY test."Rules" @@ -3269,8 +3200,7 @@ ALTER TABLE ONLY test."Rules" -- --- TOC entry 3123 (class 2606 OID 257888) --- Name: Users PK_b689c8e952c77a5c49388e7532f; Type: CONSTRAINT; Schema: test; Owner: test +-- Name: Users PK_b689c8e952c77a5c49388e7532f; Type: CONSTRAINT; Schema: test; Owner: admin -- ALTER TABLE ONLY test."Users" @@ -3278,8 +3208,7 @@ ALTER TABLE ONLY test."Users" -- --- TOC entry 3125 (class 2606 OID 257900) --- Name: Notifications PK_df985fc3cf268e7a9d9eaadb72d; Type: CONSTRAINT; Schema: test; Owner: test +-- Name: Notifications PK_df985fc3cf268e7a9d9eaadb72d; Type: CONSTRAINT; Schema: test; Owner: admin -- ALTER TABLE ONLY test."Notifications" @@ -3287,8 +3216,7 @@ ALTER TABLE ONLY test."Notifications" -- --- TOC entry 3129 (class 2606 OID 257913) --- Name: Services UQ_db452d84cc41f7c8e2ebed2ea25; Type: CONSTRAINT; Schema: test; Owner: test +-- Name: Services UQ_db452d84cc41f7c8e2ebed2ea25; Type: CONSTRAINT; Schema: test; Owner: admin -- ALTER TABLE ONLY test."Services" @@ -3296,8 +3224,7 @@ ALTER TABLE ONLY test."Services" -- --- TOC entry 3131 (class 2606 OID 257915) --- Name: Services UQ_e36e26e678f6607fed8edffdfb0; Type: CONSTRAINT; Schema: test; Owner: test +-- Name: Services UQ_e36e26e678f6607fed8edffdfb0; Type: CONSTRAINT; Schema: test; Owner: admin -- ALTER TABLE ONLY test."Services" @@ -3305,192 +3232,168 @@ ALTER TABLE ONLY test."Services" -- --- TOC entry 3140 (class 1259 OID 258083) --- Name: IDX_54bdd24814fbfbe635ba1b66e9; Type: INDEX; Schema: authorization_service; Owner: test +-- Name: IDX_54bdd24814fbfbe635ba1b66e9; Type: INDEX; Schema: authorization_service; Owner: admin -- CREATE INDEX "IDX_54bdd24814fbfbe635ba1b66e9" ON authorization_service."Rules" USING btree (id, type); -- --- TOC entry 3141 (class 1259 OID 258082) --- Name: IDX_890c6405f913d40a62f4116674; Type: INDEX; Schema: authorization_service; Owner: test +-- Name: IDX_890c6405f913d40a62f4116674; Type: INDEX; Schema: authorization_service; Owner: admin -- CREATE INDEX "IDX_890c6405f913d40a62f4116674" ON authorization_service."Rules" USING btree (type); -- --- TOC entry 3146 (class 1259 OID 258100) --- Name: IDX_d9a995168f69ddf2434d6f3a88; Type: INDEX; Schema: authorization_service; Owner: test +-- Name: IDX_d9a995168f69ddf2434d6f3a88; Type: INDEX; Schema: authorization_service; Owner: admin -- CREATE INDEX "IDX_d9a995168f69ddf2434d6f3a88" ON authorization_service."UserNotifications" USING btree ("userId", "notificationId"); -- --- TOC entry 3194 (class 1259 OID 261504) --- Name: IDX_27840c586d0da066609ca4434e; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_27840c586d0da066609ca4434e; Type: INDEX; Schema: push; Owner: admin -- CREATE INDEX "IDX_27840c586d0da066609ca4434e" ON push.channels_unsubscribed__users USING btree ("channelsId"); -- --- TOC entry 3202 (class 1259 OID 261522) --- Name: IDX_2acd07b72f49ad4ca8567ce406; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_2acd07b72f49ad4ca8567ce406; Type: INDEX; Schema: push; Owner: admin -- CREATE INDEX "IDX_2acd07b72f49ad4ca8567ce406" ON push.preferences_devices__devices USING btree ("devicesId"); -- --- TOC entry 3206 (class 1259 OID 261529) --- Name: IDX_35872830abd309e6fcbe9b1e5c; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_35872830abd309e6fcbe9b1e5c; Type: INDEX; Schema: push; Owner: admin -- CREATE INDEX "IDX_35872830abd309e6fcbe9b1e5c" ON push.preferences_disabled_channels__channels USING btree ("channelsId"); -- --- TOC entry 3203 (class 1259 OID 261521) --- Name: IDX_49854fb35cab1068a1b2396c8c; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_49854fb35cab1068a1b2396c8c; Type: INDEX; Schema: push; Owner: admin -- CREATE INDEX "IDX_49854fb35cab1068a1b2396c8c" ON push.preferences_devices__devices USING btree ("preferencesId"); -- --- TOC entry 3198 (class 1259 OID 261515) --- Name: IDX_63d0692973bdb93d0e57ee08e3; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_63d0692973bdb93d0e57ee08e3; Type: INDEX; Schema: push; Owner: admin -- CREATE INDEX "IDX_63d0692973bdb93d0e57ee08e3" ON push.channels_groups__groups USING btree ("groupsId"); -- --- TOC entry 3190 (class 1259 OID 261498) --- Name: IDX_6cd3b13bb09aaf62d70ada4fed; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_6cd3b13bb09aaf62d70ada4fed; Type: INDEX; Schema: push; Owner: admin -- CREATE INDEX "IDX_6cd3b13bb09aaf62d70ada4fed" ON push.channels_members__users USING btree ("usersId"); -- --- TOC entry 3195 (class 1259 OID 261505) --- Name: IDX_81c54acb5c0d813a6a9e9c4757; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_81c54acb5c0d813a6a9e9c4757; Type: INDEX; Schema: push; Owner: admin -- CREATE INDEX "IDX_81c54acb5c0d813a6a9e9c4757" ON push.channels_unsubscribed__users USING btree ("usersId"); -- --- TOC entry 3207 (class 1259 OID 261528) --- Name: IDX_8700bf3fe1dd0fdee82af35b81; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_8700bf3fe1dd0fdee82af35b81; Type: INDEX; Schema: push; Owner: admin -- CREATE INDEX "IDX_8700bf3fe1dd0fdee82af35b81" ON push.preferences_disabled_channels__channels USING btree ("preferencesId"); -- --- TOC entry 3199 (class 1259 OID 261514) --- Name: IDX_8f468c04ac534b8a2014e6cd93; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_8f468c04ac534b8a2014e6cd93; Type: INDEX; Schema: push; Owner: admin -- CREATE INDEX "IDX_8f468c04ac534b8a2014e6cd93" ON push.channels_groups__groups USING btree ("channelsId"); -- --- TOC entry 3175 (class 1259 OID 261453) --- Name: IDX_9081090ad2d7ea6e0b63ad2b9d; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_9081090ad2d7ea6e0b63ad2b9d; Type: INDEX; Schema: push; Owner: admin -- CREATE UNIQUE INDEX "IDX_9081090ad2d7ea6e0b63ad2b9d" ON push."Channels" USING btree (slug, "deleteDate"); -- --- TOC entry 3176 (class 1259 OID 261452) --- Name: IDX_c77449f6c8bdd1d0d2135216c7; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_c77449f6c8bdd1d0d2135216c7; Type: INDEX; Schema: push; Owner: admin -- CREATE UNIQUE INDEX "IDX_c77449f6c8bdd1d0d2135216c7" ON push."Channels" USING btree (slug); -- --- TOC entry 3210 (class 1259 OID 261637) --- Name: IDX_e43debb24060d5c5b6b7d0ddeb; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_e43debb24060d5c5b6b7d0ddeb; Type: INDEX; Schema: push; Owner: admin -- CREATE INDEX "IDX_e43debb24060d5c5b6b7d0ddeb" ON push."UserDailyNotifications" USING btree ("userId", "notificationId"); -- --- TOC entry 3166 (class 1259 OID 261417) --- Name: IDX_ea2669001f79058b012fc1651f; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_ea2669001f79058b012fc1651f; Type: INDEX; Schema: push; Owner: admin -- CREATE INDEX "IDX_ea2669001f79058b012fc1651f" ON push."UserNotifications" USING btree ("userId", "notificationId"); -- --- TOC entry 3183 (class 1259 OID 261481) --- Name: IDX_f446f63889a85308fbc5ce0fe0; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_f446f63889a85308fbc5ce0fe0; Type: INDEX; Schema: push; Owner: admin -- CREATE UNIQUE INDEX "IDX_f446f63889a85308fbc5ce0fe0" ON push."Users" USING btree (username); -- --- TOC entry 3191 (class 1259 OID 261497) --- Name: IDX_ff62bcfacefb8206dc10dc194f; Type: INDEX; Schema: push; Owner: test +-- Name: IDX_ff62bcfacefb8206dc10dc194f; Type: INDEX; Schema: push; Owner: admin -- CREATE INDEX "IDX_ff62bcfacefb8206dc10dc194f" ON push.channels_members__users USING btree ("channelsId"); -- --- TOC entry 3162 (class 1259 OID 258999) --- Name: IDX_8479e16c8f2a9247d6a57ed09a; Type: INDEX; Schema: push_test; Owner: test +-- Name: IDX_8479e16c8f2a9247d6a57ed09a; Type: INDEX; Schema: push_test; Owner: admin -- CREATE INDEX "IDX_8479e16c8f2a9247d6a57ed09a" ON push_test."Rules" USING btree (type); -- --- TOC entry 3157 (class 1259 OID 258945) --- Name: IDX_8e2bcc52d13d59d9114dbd6e20; Type: INDEX; Schema: push_test; Owner: test +-- Name: IDX_8e2bcc52d13d59d9114dbd6e20; Type: INDEX; Schema: push_test; Owner: admin -- CREATE INDEX "IDX_8e2bcc52d13d59d9114dbd6e20" ON push_test."UserNotifications" USING btree ("userUsername", "notificationId"); -- --- TOC entry 3163 (class 1259 OID 259000) --- Name: IDX_8fcccdc5a46e13bb83ee86641b; Type: INDEX; Schema: push_test; Owner: test +-- Name: IDX_8fcccdc5a46e13bb83ee86641b; Type: INDEX; Schema: push_test; Owner: admin -- CREATE INDEX "IDX_8fcccdc5a46e13bb83ee86641b" ON push_test."Rules" USING btree (id, type); -- --- TOC entry 3118 (class 1259 OID 257879) --- Name: IDX_54659c03730073cde471d4312c; Type: INDEX; Schema: test; Owner: test +-- Name: IDX_54659c03730073cde471d4312c; Type: INDEX; Schema: test; Owner: admin -- CREATE INDEX "IDX_54659c03730073cde471d4312c" ON test."Rules" USING btree (type); -- --- TOC entry 3119 (class 1259 OID 257880) --- Name: IDX_f0e7530dea8d4cb6a7c3ac60ed; Type: INDEX; Schema: test; Owner: test +-- Name: IDX_f0e7530dea8d4cb6a7c3ac60ed; Type: INDEX; Schema: test; Owner: admin -- CREATE INDEX "IDX_f0e7530dea8d4cb6a7c3ac60ed" ON test."Rules" USING btree (id, type); -- --- TOC entry 3218 (class 2606 OID 258123) --- Name: UserNotifications FK_099c9aae30fffd2596c80c2b549; Type: FK CONSTRAINT; Schema: authorization_service; Owner: test +-- Name: UserNotifications FK_099c9aae30fffd2596c80c2b549; Type: FK CONSTRAINT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."UserNotifications" @@ -3498,8 +3401,7 @@ ALTER TABLE ONLY authorization_service."UserNotifications" -- --- TOC entry 3219 (class 2606 OID 258128) --- Name: Notifications FK_944d1e34f04d46890758dcfc6fe; Type: FK CONSTRAINT; Schema: authorization_service; Owner: test +-- Name: Notifications FK_944d1e34f04d46890758dcfc6fe; Type: FK CONSTRAINT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."Notifications" @@ -3507,8 +3409,7 @@ ALTER TABLE ONLY authorization_service."Notifications" -- --- TOC entry 3216 (class 2606 OID 258113) --- Name: Rules FK_dbf68107a33c0cdd2c1e29d32d5; Type: FK CONSTRAINT; Schema: authorization_service; Owner: test +-- Name: Rules FK_dbf68107a33c0cdd2c1e29d32d5; Type: FK CONSTRAINT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."Rules" @@ -3516,8 +3417,7 @@ ALTER TABLE ONLY authorization_service."Rules" -- --- TOC entry 3217 (class 2606 OID 258118) --- Name: UserNotifications FK_fa7e9a75ff3922059ac04f642e5; Type: FK CONSTRAINT; Schema: authorization_service; Owner: test +-- Name: UserNotifications FK_fa7e9a75ff3922059ac04f642e5; Type: FK CONSTRAINT; Schema: authorization_service; Owner: admin -- ALTER TABLE ONLY authorization_service."UserNotifications" @@ -3525,8 +3425,7 @@ ALTER TABLE ONLY authorization_service."UserNotifications" -- --- TOC entry 3226 (class 2606 OID 261540) --- Name: Notifications FK_166450369eca664db0d44c44fe7; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: Notifications FK_166450369eca664db0d44c44fe7; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Notifications" @@ -3534,8 +3433,7 @@ ALTER TABLE ONLY push."Notifications" -- --- TOC entry 3234 (class 2606 OID 261580) --- Name: channels_unsubscribed__users FK_27840c586d0da066609ca4434e9; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: channels_unsubscribed__users FK_27840c586d0da066609ca4434e9; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.channels_unsubscribed__users @@ -3543,8 +3441,7 @@ ALTER TABLE ONLY push.channels_unsubscribed__users -- --- TOC entry 3239 (class 2606 OID 261605) --- Name: preferences_devices__devices FK_2acd07b72f49ad4ca8567ce4067; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: preferences_devices__devices FK_2acd07b72f49ad4ca8567ce4067; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.preferences_devices__devices @@ -3552,8 +3449,7 @@ ALTER TABLE ONLY push.preferences_devices__devices -- --- TOC entry 3230 (class 2606 OID 261560) --- Name: Preferences FK_30e4c36856af87f5220f75d3ac0; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: Preferences FK_30e4c36856af87f5220f75d3ac0; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Preferences" @@ -3561,8 +3457,7 @@ ALTER TABLE ONLY push."Preferences" -- --- TOC entry 3241 (class 2606 OID 261615) --- Name: preferences_disabled_channels__channels FK_35872830abd309e6fcbe9b1e5ce; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: preferences_disabled_channels__channels FK_35872830abd309e6fcbe9b1e5ce; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.preferences_disabled_channels__channels @@ -3570,8 +3465,7 @@ ALTER TABLE ONLY push.preferences_disabled_channels__channels -- --- TOC entry 3238 (class 2606 OID 261600) --- Name: preferences_devices__devices FK_49854fb35cab1068a1b2396c8cf; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: preferences_devices__devices FK_49854fb35cab1068a1b2396c8cf; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.preferences_devices__devices @@ -3579,8 +3473,7 @@ ALTER TABLE ONLY push.preferences_devices__devices -- --- TOC entry 3243 (class 2606 OID 261645) --- Name: UserDailyNotifications FK_519b07c613d308d7c5f46b35cd3; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: UserDailyNotifications FK_519b07c613d308d7c5f46b35cd3; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."UserDailyNotifications" @@ -3588,8 +3481,7 @@ ALTER TABLE ONLY push."UserDailyNotifications" -- --- TOC entry 3237 (class 2606 OID 261595) --- Name: channels_groups__groups FK_63d0692973bdb93d0e57ee08e30; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: channels_groups__groups FK_63d0692973bdb93d0e57ee08e30; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.channels_groups__groups @@ -3597,8 +3489,7 @@ ALTER TABLE ONLY push.channels_groups__groups -- --- TOC entry 3233 (class 2606 OID 261575) --- Name: channels_members__users FK_6cd3b13bb09aaf62d70ada4fed5; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: channels_members__users FK_6cd3b13bb09aaf62d70ada4fed5; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.channels_members__users @@ -3606,8 +3497,7 @@ ALTER TABLE ONLY push.channels_members__users -- --- TOC entry 3224 (class 2606 OID 261530) --- Name: UserNotifications FK_779122ce4df611e1a5ea323a5e8; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: UserNotifications FK_779122ce4df611e1a5ea323a5e8; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."UserNotifications" @@ -3615,8 +3505,7 @@ ALTER TABLE ONLY push."UserNotifications" -- --- TOC entry 3235 (class 2606 OID 261585) --- Name: channels_unsubscribed__users FK_81c54acb5c0d813a6a9e9c4757d; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: channels_unsubscribed__users FK_81c54acb5c0d813a6a9e9c4757d; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.channels_unsubscribed__users @@ -3624,8 +3513,7 @@ ALTER TABLE ONLY push.channels_unsubscribed__users -- --- TOC entry 3240 (class 2606 OID 261610) --- Name: preferences_disabled_channels__channels FK_8700bf3fe1dd0fdee82af35b812; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: preferences_disabled_channels__channels FK_8700bf3fe1dd0fdee82af35b812; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.preferences_disabled_channels__channels @@ -3633,8 +3521,7 @@ ALTER TABLE ONLY push.preferences_disabled_channels__channels -- --- TOC entry 3242 (class 2606 OID 261640) --- Name: UserDailyNotifications FK_8b87e1326fefe10b83615464615; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: UserDailyNotifications FK_8b87e1326fefe10b83615464615; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."UserDailyNotifications" @@ -3642,8 +3529,7 @@ ALTER TABLE ONLY push."UserDailyNotifications" -- --- TOC entry 3236 (class 2606 OID 261590) --- Name: channels_groups__groups FK_8f468c04ac534b8a2014e6cd938; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: channels_groups__groups FK_8f468c04ac534b8a2014e6cd938; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.channels_groups__groups @@ -3651,8 +3537,7 @@ ALTER TABLE ONLY push.channels_groups__groups -- --- TOC entry 3227 (class 2606 OID 261545) --- Name: Channels FK_93c37918cc9b8af94a925ca721f; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: Channels FK_93c37918cc9b8af94a925ca721f; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Channels" @@ -3660,8 +3545,7 @@ ALTER TABLE ONLY push."Channels" -- --- TOC entry 3225 (class 2606 OID 261535) --- Name: UserNotifications FK_b2195eece7faad3fb348b593c80; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: UserNotifications FK_b2195eece7faad3fb348b593c80; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."UserNotifications" @@ -3669,8 +3553,7 @@ ALTER TABLE ONLY push."UserNotifications" -- --- TOC entry 3228 (class 2606 OID 261550) --- Name: Channels FK_b5b061cf5ce6513c090be018e9b; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: Channels FK_b5b061cf5ce6513c090be018e9b; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Channels" @@ -3678,8 +3561,7 @@ ALTER TABLE ONLY push."Channels" -- --- TOC entry 3231 (class 2606 OID 261565) --- Name: Preferences FK_d31ccc7fa8b6a463152b463f9cf; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: Preferences FK_d31ccc7fa8b6a463152b463f9cf; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Preferences" @@ -3687,8 +3569,7 @@ ALTER TABLE ONLY push."Preferences" -- --- TOC entry 3229 (class 2606 OID 261555) --- Name: Devices FK_dfa213fa54e17955b672a7a286b; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: Devices FK_dfa213fa54e17955b672a7a286b; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push."Devices" @@ -3696,8 +3577,7 @@ ALTER TABLE ONLY push."Devices" -- --- TOC entry 3232 (class 2606 OID 261570) --- Name: channels_members__users FK_ff62bcfacefb8206dc10dc194f8; Type: FK CONSTRAINT; Schema: push; Owner: test +-- Name: channels_members__users FK_ff62bcfacefb8206dc10dc194f8; Type: FK CONSTRAINT; Schema: push; Owner: admin -- ALTER TABLE ONLY push.channels_members__users @@ -3705,8 +3585,7 @@ ALTER TABLE ONLY push.channels_members__users -- --- TOC entry 3220 (class 2606 OID 258958) --- Name: UserNotifications FK_9f854dd9ebb621b8e26a8e3845d; Type: FK CONSTRAINT; Schema: push_test; Owner: test +-- Name: UserNotifications FK_9f854dd9ebb621b8e26a8e3845d; Type: FK CONSTRAINT; Schema: push_test; Owner: admin -- ALTER TABLE ONLY push_test."UserNotifications" @@ -3714,8 +3593,7 @@ ALTER TABLE ONLY push_test."UserNotifications" -- --- TOC entry 3221 (class 2606 OID 258963) --- Name: UserNotifications FK_d3aa6cd0b95e6894c667dc48c9b; Type: FK CONSTRAINT; Schema: push_test; Owner: test +-- Name: UserNotifications FK_d3aa6cd0b95e6894c667dc48c9b; Type: FK CONSTRAINT; Schema: push_test; Owner: admin -- ALTER TABLE ONLY push_test."UserNotifications" @@ -3723,8 +3601,7 @@ ALTER TABLE ONLY push_test."UserNotifications" -- --- TOC entry 3222 (class 2606 OID 258968) --- Name: Notifications FK_d7e72b4a00d9154f9409d8106d3; Type: FK CONSTRAINT; Schema: push_test; Owner: test +-- Name: Notifications FK_d7e72b4a00d9154f9409d8106d3; Type: FK CONSTRAINT; Schema: push_test; Owner: admin -- ALTER TABLE ONLY push_test."Notifications" @@ -3732,8 +3609,7 @@ ALTER TABLE ONLY push_test."Notifications" -- --- TOC entry 3223 (class 2606 OID 259001) --- Name: Rules FK_dbcef7a35582a45f7550f4010f1; Type: FK CONSTRAINT; Schema: push_test; Owner: test +-- Name: Rules FK_dbcef7a35582a45f7550f4010f1; Type: FK CONSTRAINT; Schema: push_test; Owner: admin -- ALTER TABLE ONLY push_test."Rules" @@ -3741,8 +3617,7 @@ ALTER TABLE ONLY push_test."Rules" -- --- TOC entry 3214 (class 2606 OID 257926) --- Name: users_notifications__notifications FK_6551d57a770d5fc3c3e25659283; Type: FK CONSTRAINT; Schema: test; Owner: test +-- Name: users_notifications__notifications FK_6551d57a770d5fc3c3e25659283; Type: FK CONSTRAINT; Schema: test; Owner: admin -- ALTER TABLE ONLY test.users_notifications__notifications @@ -3750,8 +3625,7 @@ ALTER TABLE ONLY test.users_notifications__notifications -- --- TOC entry 3213 (class 2606 OID 257921) --- Name: Rules FK_d47ff4913a611d261e61ceaa446; Type: FK CONSTRAINT; Schema: test; Owner: test +-- Name: Rules FK_d47ff4913a611d261e61ceaa446; Type: FK CONSTRAINT; Schema: test; Owner: admin -- ALTER TABLE ONLY test."Rules" @@ -3759,16 +3633,13 @@ ALTER TABLE ONLY test."Rules" -- --- TOC entry 3215 (class 2606 OID 257931) --- Name: users_notifications__notifications FK_e58f2e1cf4a7e654daab1046d48; Type: FK CONSTRAINT; Schema: test; Owner: test +-- Name: users_notifications__notifications FK_e58f2e1cf4a7e654daab1046d48; Type: FK CONSTRAINT; Schema: test; Owner: admin -- ALTER TABLE ONLY test.users_notifications__notifications ADD CONSTRAINT "FK_e58f2e1cf4a7e654daab1046d48" FOREIGN KEY ("notificationsId") REFERENCES test."Notifications"(id) ON DELETE CASCADE; --- Completed on 2021-03-01 11:12:11 CET - -- -- PostgreSQL database dump complete --