remove up/down score from posts
This commit is contained in:
10
db/migrate/20130321144736_remove_up_score_from_posts.rb
Normal file
10
db/migrate/20130321144736_remove_up_score_from_posts.rb
Normal 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
|
||||||
@@ -6262,3 +6262,5 @@ INSERT INTO schema_migrations (version) VALUES ('20130318031705');
|
|||||||
INSERT INTO schema_migrations (version) VALUES ('20130318231740');
|
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');
|
||||||
Reference in New Issue
Block a user