mirror of
https://github.com/discourse/discourse.git
synced 2026-07-29 15:54:48 -05:00
Fix all the errors to get our tests green on Rails 5.1.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class AddQuoteCountToPosts < ActiveRecord::Migration
|
||||
class AddQuoteCountToPosts < ActiveRecord::Migration[4.2]
|
||||
def up
|
||||
add_column :posts, :quote_count, :integer, default: 0, null: false
|
||||
execute "UPDATE posts SET quote_count = 1 WHERE quoteless = 'f'"
|
||||
|
||||
Reference in New Issue
Block a user