Skip to content

Instantly share code, notes, and snippets.

@zew13
Created October 15, 2022 15:18
Show Gist options
  • Save zew13/ee7e8d7970f12f5b23766126cac87f4c to your computer and use it in GitHub Desktop.
Save zew13/ee7e8d7970f12f5b23766126cac87f4c to your computer and use it in GitHub Desktop.
--
-- PostgreSQL database dump
--
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: dev; Type: SCHEMA; Schema: -; Owner: -
--
CREATE SCHEMA dev;
SET default_tablespace = '';
SET default_table_access_method = heap;
--
-- Name: mail_user; Type: TABLE; Schema: dev; Owner: -
--
CREATE TABLE public.mail_user (
id bigint NOT NULL,
oid bigint NOT NULL,
ctime bigint NOT NULL,
mail_id bigint NOT NULL,
password_hash public.md5hash NOT NULL
);
--
-- Name: mail_user_id_seq; Type: SEQUENCE; Schema: dev; Owner: -
--
CREATE SEQUENCE public.mail_user_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: mail_user_id_seq; Type: SEQUENCE OWNED BY; Schema: dev; Owner: -
--
ALTER SEQUENCE public.mail_user_id_seq OWNED BY public.mail_user.id;
--
-- Name: mail_user id; Type: DEFAULT; Schema: dev; Owner: -
--
ALTER TABLE ONLY public.mail_user ALTER COLUMN id SET DEFAULT nextval('public.mail_user_id_seq'::regclass);
--
-- Name: mail_user mail_user.oid.mail_id; Type: CONSTRAINT; Schema: dev; Owner: -
--
ALTER TABLE ONLY public.mail_user
ADD CONSTRAINT "mail_user.oid.mail_id" UNIQUE (oid, mail_id);
--
-- Name: mail_user mail_user_pkey; Type: CONSTRAINT; Schema: dev; Owner: -
--
ALTER TABLE ONLY public.mail_user
ADD CONSTRAINT mail_user_pkey PRIMARY KEY (id);
--
-- PostgreSQL database dump complete
--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment