sync
This commit is contained in:
@@ -352,6 +352,44 @@ CREATE SEQUENCE comments_id_seq
|
||||
ALTER SEQUENCE comments_id_seq OWNED BY comments.id;
|
||||
|
||||
|
||||
--
|
||||
-- Name: delayed_jobs; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
||||
CREATE TABLE delayed_jobs (
|
||||
id integer NOT NULL,
|
||||
priority integer DEFAULT 0,
|
||||
attempts integer DEFAULT 0,
|
||||
handler text,
|
||||
last_error text,
|
||||
run_at timestamp without time zone,
|
||||
locked_at timestamp without time zone,
|
||||
failed_at timestamp without time zone,
|
||||
locked_by character varying(255),
|
||||
created_at timestamp without time zone,
|
||||
updated_at timestamp without time zone
|
||||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: delayed_jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE SEQUENCE delayed_jobs_id_seq
|
||||
START WITH 1
|
||||
INCREMENT BY 1
|
||||
NO MAXVALUE
|
||||
NO MINVALUE
|
||||
CACHE 1;
|
||||
|
||||
|
||||
--
|
||||
-- Name: delayed_jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
ALTER SEQUENCE delayed_jobs_id_seq OWNED BY delayed_jobs.id;
|
||||
|
||||
|
||||
--
|
||||
-- Name: dmails; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
@@ -1663,6 +1701,13 @@ ALTER TABLE comment_votes ALTER COLUMN id SET DEFAULT nextval('comment_votes_id_
|
||||
ALTER TABLE comments ALTER COLUMN id SET DEFAULT nextval('comments_id_seq'::regclass);
|
||||
|
||||
|
||||
--
|
||||
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
ALTER TABLE delayed_jobs ALTER COLUMN id SET DEFAULT nextval('delayed_jobs_id_seq'::regclass);
|
||||
|
||||
|
||||
--
|
||||
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
|
||||
--
|
||||
@@ -1972,6 +2017,14 @@ ALTER TABLE ONLY comments
|
||||
ADD CONSTRAINT comments_pkey PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: delayed_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY delayed_jobs
|
||||
ADD CONSTRAINT delayed_jobs_pkey PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: dmails_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
@@ -2364,6 +2417,13 @@ CREATE INDEX index_comments_on_body_index ON comments USING gin (body_index);
|
||||
CREATE INDEX index_comments_on_post_id ON comments USING btree (post_id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: index_delayed_jobs_on_run_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
|
||||
CREATE INDEX index_delayed_jobs_on_run_at ON delayed_jobs USING btree (run_at);
|
||||
|
||||
|
||||
--
|
||||
-- Name: index_dmails_on_message_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
||||
--
|
||||
@@ -3159,4 +3219,6 @@ INSERT INTO schema_migrations (version) VALUES ('20100309211553');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20100318213503');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20100818180317');
|
||||
INSERT INTO schema_migrations (version) VALUES ('20100818180317');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20100826232512');
|
||||
Reference in New Issue
Block a user