Skip to content

Instantly share code, notes, and snippets.

@stephepush
Last active January 28, 2020 21:27
Show Gist options
  • Select an option

  • Save stephepush/76a5c564f6dc90c3b35dac9181a8a28b to your computer and use it in GitHub Desktop.

Select an option

Save stephepush/76a5c564f6dc90c3b35dac9181a8a28b to your computer and use it in GitHub Desktop.
passport-tutorial-postgresschema
--
-- PostgreSQL database dump
--
-- Dumped from database version 11.6 (Ubuntu 11.6-1.pgdg19.04+1)
-- Dumped by pg_dump version 12.1 (Ubuntu 12.1-1.pgdg19.04+1)
-- Started on 2020-01-23 11:08:59 EST
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;
SET default_tablespace = '';
--
-- TOC entry 196 (class 1259 OID 25742)
-- Name: users; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE public.users (
id bigint NOT NULL,
hash character varying NOT NULL,
salt character varying NOT NULL,
email character varying(100) NOT NULL
);
ALTER TABLE public.users OWNER TO postgres;
--
-- TOC entry 3057 (class 0 OID 25742)
-- Dependencies: 196
-- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: postgres
--
COPY public.users (id, hash, salt, email) FROM stdin;
\.
--
-- TOC entry 2935 (class 2606 OID 25746)
-- Name: users users_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY public.users
ADD CONSTRAINT users_pkey PRIMARY KEY (id);
-- Completed on 2020-01-23 11:08:59 EST
--
-- PostgreSQL database dump complete
--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment