add categories to forum topics

This commit is contained in:
r888888888
2013-06-06 16:18:04 -07:00
parent a628864aff
commit f16178623b
9 changed files with 67 additions and 3 deletions

View File

@@ -1780,7 +1780,8 @@ CREATE TABLE forum_topics (
is_deleted boolean DEFAULT false NOT NULL,
text_index tsvector NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
updated_at timestamp without time zone NOT NULL,
category_id integer DEFAULT 0 NOT NULL
);
@@ -6415,4 +6416,6 @@ INSERT INTO schema_migrations (version) VALUES ('20130417221643');
INSERT INTO schema_migrations (version) VALUES ('20130424121410');
INSERT INTO schema_migrations (version) VALUES ('20130506154136');
INSERT INTO schema_migrations (version) VALUES ('20130506154136');
INSERT INTO schema_migrations (version) VALUES ('20130606224559');