fix tests

This commit is contained in:
r888888888
2013-04-14 22:24:55 -07:00
parent 100fb7c539
commit 6caa0f0436
5 changed files with 7 additions and 18 deletions

View File

@@ -2297,6 +2297,8 @@ CREATE TABLE posts (
id integer NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL,
up_score integer DEFAULT 0 NOT NULL,
down_score integer DEFAULT 0 NOT NULL,
score integer DEFAULT 0 NOT NULL,
source character varying(255),
md5 character varying(255) NOT NULL,
@@ -2329,8 +2331,6 @@ CREATE TABLE posts (
parent_id integer,
has_children boolean DEFAULT false NOT NULL,
is_banned boolean DEFAULT false NOT NULL,
up_score integer,
down_score integer,
pixiv_id integer
);
@@ -6179,13 +6179,6 @@ CREATE UNIQUE INDEX index_wiki_pages_on_title ON wiki_pages USING btree (title);
CREATE INDEX index_wiki_pages_on_title_pattern ON wiki_pages USING btree (title text_pattern_ops);
--
-- Name: index_wiki_pages_on_updated_at; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_wiki_pages_on_updated_at ON wiki_pages USING btree (updated_at);
--
-- Name: unique_schema_migrations; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
@@ -6391,14 +6384,10 @@ INSERT INTO schema_migrations (version) VALUES ('20130318012517');
INSERT INTO schema_migrations (version) VALUES ('20130318030619');
INSERT INTO schema_migrations (version) VALUES ('20130318031705');
INSERT INTO schema_migrations (version) VALUES ('20130318231740');
INSERT INTO schema_migrations (version) VALUES ('20130320070700');
INSERT INTO schema_migrations (version) VALUES ('20130321144736');
INSERT INTO schema_migrations (version) VALUES ('20130322162059');
INSERT INTO schema_migrations (version) VALUES ('20130322173202');