Skip to content

Commit

Permalink
Refresh structure.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
dreikanter committed Jun 9, 2019
1 parent fa7d6fe commit ebff3e4
Showing 1 changed file with 22 additions and 14 deletions.
36 changes: 22 additions & 14 deletions db/structure.sql
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
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;

Expand Down Expand Up @@ -53,6 +55,7 @@ CREATE TABLE public.data_point_series (
--

CREATE SEQUENCE public.data_point_series_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
Expand Down Expand Up @@ -84,6 +87,7 @@ CREATE TABLE public.data_points (
--

CREATE SEQUENCE public.data_points_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
Expand Down Expand Up @@ -123,6 +127,7 @@ CREATE TABLE public.delayed_jobs (
--

CREATE SEQUENCE public.delayed_jobs_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
Expand Down Expand Up @@ -163,6 +168,7 @@ CREATE TABLE public.errors (
--

CREATE SEQUENCE public.errors_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
Expand Down Expand Up @@ -204,6 +210,7 @@ CREATE TABLE public.feeds (
--

CREATE SEQUENCE public.feeds_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
Expand Down Expand Up @@ -243,6 +250,7 @@ CREATE TABLE public.posts (
--

CREATE SEQUENCE public.posts_id_seq
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
Expand All @@ -267,105 +275,105 @@ CREATE TABLE public.schema_migrations (


--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
-- Name: data_point_series id; Type: DEFAULT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.data_point_series ALTER COLUMN id SET DEFAULT nextval('public.data_point_series_id_seq'::regclass);


--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
-- Name: data_points id; Type: DEFAULT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.data_points ALTER COLUMN id SET DEFAULT nextval('public.data_points_id_seq'::regclass);


--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
-- Name: delayed_jobs id; Type: DEFAULT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.delayed_jobs ALTER COLUMN id SET DEFAULT nextval('public.delayed_jobs_id_seq'::regclass);


--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
-- Name: errors id; Type: DEFAULT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.errors ALTER COLUMN id SET DEFAULT nextval('public.errors_id_seq'::regclass);


--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
-- Name: feeds id; Type: DEFAULT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.feeds ALTER COLUMN id SET DEFAULT nextval('public.feeds_id_seq'::regclass);


--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
-- Name: posts id; Type: DEFAULT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.posts ALTER COLUMN id SET DEFAULT nextval('public.posts_id_seq'::regclass);


--
-- Name: ar_internal_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: -
-- Name: ar_internal_metadata ar_internal_metadata_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.ar_internal_metadata
ADD CONSTRAINT ar_internal_metadata_pkey PRIMARY KEY (key);


--
-- Name: data_point_series_pkey; Type: CONSTRAINT; Schema: public; Owner: -
-- Name: data_point_series data_point_series_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.data_point_series
ADD CONSTRAINT data_point_series_pkey PRIMARY KEY (id);


--
-- Name: data_points_pkey; Type: CONSTRAINT; Schema: public; Owner: -
-- Name: data_points data_points_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.data_points
ADD CONSTRAINT data_points_pkey PRIMARY KEY (id);


--
-- Name: delayed_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
-- Name: delayed_jobs delayed_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.delayed_jobs
ADD CONSTRAINT delayed_jobs_pkey PRIMARY KEY (id);


--
-- Name: errors_pkey; Type: CONSTRAINT; Schema: public; Owner: -
-- Name: errors errors_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.errors
ADD CONSTRAINT errors_pkey PRIMARY KEY (id);


--
-- Name: feeds_pkey; Type: CONSTRAINT; Schema: public; Owner: -
-- Name: feeds feeds_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.feeds
ADD CONSTRAINT feeds_pkey PRIMARY KEY (id);


--
-- Name: posts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
-- Name: posts posts_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.posts
ADD CONSTRAINT posts_pkey PRIMARY KEY (id);


--
-- Name: schema_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
-- Name: schema_migrations schema_migrations_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY public.schema_migrations
Expand Down

0 comments on commit ebff3e4

Please sign in to comment.