diff --git a/db/migrate/20130321144736_remove_up_score_from_posts.rb b/db/migrate/20130321144736_remove_up_score_from_posts.rb new file mode 100644 index 000000000..cdb0c3be8 --- /dev/null +++ b/db/migrate/20130321144736_remove_up_score_from_posts.rb @@ -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 diff --git a/db/structure.sql b/db/structure.sql index 72ca901d6..9aa6e6907 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -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'); \ No newline at end of file +INSERT INTO schema_migrations (version) VALUES ('20130320070700'); + +INSERT INTO schema_migrations (version) VALUES ('20130321144736'); \ No newline at end of file