--
-- PostgreSQL database dump
--

SET statement_timeout = 0;
SET client_encoding = 'LATIN1';
SET standard_conforming_strings = off;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET escape_string_warning = off;

SET search_path = public, pg_catalog;

SET default_tablespace = '';

SET default_with_oids = false;

--
-- Name: app2db; Type: TABLE; Schema: public; Owner: webtool; Tablespace: 
--

CREATE TABLE IF NOT EXISTS app2db (
    app_id integer,
    app_name text
);


ALTER TABLE public.app2db OWNER TO webtool;

--
-- Name: hero2db; Type: TABLE; Schema: public; Owner: spiritking; Tablespace: 
--

CREATE TABLE IF NOT EXISTS hero2db (
    hero_id integer,
    hero_name text
);


ALTER TABLE public.hero2db OWNER TO spiritking;

--
-- Name: itemstack2db; Type: TABLE; Schema: public; Owner: spiritking; Tablespace: 
--

CREATE TABLE IF NOT EXISTS itemstack2db (
    item_id integer,
    stackable integer
);


ALTER TABLE public.itemstack2db OWNER TO spiritking;

--
-- Name: mission2db; Type: TABLE; Schema: public; Owner: webtool; Tablespace: 
--

CREATE TABLE IF NOT EXISTS mission2db (
    mission_id integer,
    mission_name text
);


ALTER TABLE public.mission2db OWNER TO webtool;

--
-- Name: node2db; Type: TABLE; Schema: public; Owner: webtool; Tablespace: 
--

CREATE TABLE IF NOT EXISTS node2db (
    node_id integer,
    node_name text
);


ALTER TABLE public.node2db OWNER TO webtool;

--
-- Name: spell2db; Type: TABLE; Schema: public; Owner: webtool; Tablespace: 
--

CREATE TABLE IF NOT EXISTS spell2db (
    spell_id integer,
    spell_name text
);


ALTER TABLE public.spell2db OWNER TO webtool;

--
-- Name: app2db; Type: ACL; Schema: public; Owner: webtool
--

REVOKE ALL ON TABLE app2db FROM PUBLIC;
REVOKE ALL ON TABLE app2db FROM webtool;
GRANT ALL ON TABLE app2db TO webtool;


--
-- Name: hero2db; Type: ACL; Schema: public; Owner: spiritking
--

REVOKE ALL ON TABLE hero2db FROM PUBLIC;
REVOKE ALL ON TABLE hero2db FROM spiritking;
GRANT ALL ON TABLE hero2db TO spiritking;
GRANT SELECT ON TABLE hero2db TO webtool;


--
-- Name: itemstack2db; Type: ACL; Schema: public; Owner: spiritking
--

REVOKE ALL ON TABLE itemstack2db FROM PUBLIC;
REVOKE ALL ON TABLE itemstack2db FROM spiritking;
GRANT ALL ON TABLE itemstack2db TO spiritking;
GRANT SELECT ON TABLE itemstack2db TO webtool;


--
-- Name: mission2db; Type: ACL; Schema: public; Owner: webtool
--

REVOKE ALL ON TABLE mission2db FROM PUBLIC;
REVOKE ALL ON TABLE mission2db FROM webtool;
GRANT ALL ON TABLE mission2db TO webtool;


--
-- Name: node2db; Type: ACL; Schema: public; Owner: webtool
--

REVOKE ALL ON TABLE node2db FROM PUBLIC;
REVOKE ALL ON TABLE node2db FROM webtool;
GRANT ALL ON TABLE node2db TO webtool;


--
-- Name: spell2db; Type: ACL; Schema: public; Owner: webtool
--

REVOKE ALL ON TABLE spell2db FROM PUBLIC;
REVOKE ALL ON TABLE spell2db FROM webtool;
GRANT ALL ON TABLE spell2db TO webtool;


--
-- PostgreSQL database dump complete
--

