remove up/down score from posts

This commit is contained in:
albert
2013-03-21 07:57:32 -07:00
parent 4606ec4763
commit 8d02918618
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
class RemoveUpScoreFromPosts < ActiveRecord::Migration
def up
execute "set statement_timeout = 0"
remove_column :posts, :up_score
remove_column :posts, :down_score
end
def down
end
end

View File

@@ -6261,4 +6261,6 @@ 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 ('20130320070700');
INSERT INTO schema_migrations (version) VALUES ('20130321144736');