mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Initial release of Discourse
This commit is contained in:
6
db/migrate/20120924182031_add_vote_count_to_posts.rb
Normal file
6
db/migrate/20120924182031_add_vote_count_to_posts.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddVoteCountToPosts < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :forum_threads, :vote_count, :integer, default: 0, null: false
|
||||
add_column :posts, :vote_count, :integer, default: 0, null: false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user