     NO MAXVALUE
     NO MINVALUE
     CACHE 1;
-
-
-ALTER TABLE public.checks_group_increment OWNER TO postgres;
-
---
--- Name: checks_increment; Type: SEQUENCE; Schema: public; Owner: postgres
+ALTER TABLE spv.checks_group_increment OWNER TO sjspv;
+
+--
+-- Name: checks_increment; Type: SEQUENCE; Schema: spv; Owner: postgres
 --
 
 CREATE SEQUENCE checks_increment

    EXECUTE PROCEDURE status_update();


--
-- Name: cg_id_fk; Type: FK CONSTRAINT; Schema: public; Owner: postgres
--

ALTER TABLE ONLY status

-- PostgreSQL database dump
--

\connect rxtx

SET client_encoding = 'UTF8';
SET check_function_bodies = false;
SET client_min_messages = warning;

--
-- Role: sjspv
--

CREATE ROLE sjspv WITH PASSWORD 'sjspv';
ALTER ROLE sjspv WITH NOSUPERUSER INHERIT NOCREATEROLE NOCREATEDB LOGIN;
ALTER ROLE sjspv SET search_path TO spv, pg_catalog;

--
-- Name: spv; Type: SCHEMA; Schema: -; Owner: postgres
--

CREATE SCHEMA spv;


ALTER SCHEMA spv OWNER TO sjspv;
GRANT ALL ON SCHEMA spv to sjspv;

--
-- Name: SCHEMA spv; Type: COMMENT; Schema: -; Owner: sjspv
--

COMMENT ON SCHEMA spv IS 'Supervision schema';


--
-- Name: plpgsql; Type: PROCEDURAL LANGUAGE; Schema: -; Owner: postgres
