This commit is contained in:
r888888888
2014-06-12 20:12:09 -07:00
parent 9aa1f65eb5
commit 7b97ca192c
18 changed files with 289 additions and 12 deletions

View File

@@ -3,7 +3,6 @@
--
SET statement_timeout = 0;
SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
@@ -730,6 +729,40 @@ CREATE SEQUENCE bans_id_seq
ALTER SEQUENCE bans_id_seq OWNED BY bans.id;
--
-- Name: bulk_update_requests; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE bulk_update_requests (
id integer NOT NULL,
user_id integer NOT NULL,
forum_topic_id integer,
script text NOT NULL,
status character varying(255) DEFAULT 'pending'::character varying NOT NULL,
created_at timestamp without time zone,
updated_at timestamp without time zone
);
--
-- Name: bulk_update_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE bulk_update_requests_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: bulk_update_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE bulk_update_requests_id_seq OWNED BY bulk_update_requests.id;
--
-- Name: comment_votes; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
@@ -3076,6 +3109,13 @@ ALTER TABLE ONLY artists ALTER COLUMN id SET DEFAULT nextval('artists_id_seq'::r
ALTER TABLE ONLY bans ALTER COLUMN id SET DEFAULT nextval('bans_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY bulk_update_requests ALTER COLUMN id SET DEFAULT nextval('bulk_update_requests_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
@@ -4086,6 +4126,14 @@ ALTER TABLE ONLY bans
ADD CONSTRAINT bans_pkey PRIMARY KEY (id);
--
-- Name: bulk_update_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
ALTER TABLE ONLY bulk_update_requests
ADD CONSTRAINT bulk_update_requests_pkey PRIMARY KEY (id);
--
-- Name: comment_votes_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
--
@@ -6751,3 +6799,5 @@ INSERT INTO schema_migrations (version) VALUES ('20140428015134');
INSERT INTO schema_migrations (version) VALUES ('20140505000956');
INSERT INTO schema_migrations (version) VALUES ('20140613004559');