Fix test
This commit is contained in:
parent
3ef33db3ab
commit
d756b2ae38
1 changed files with 4 additions and 0 deletions
|
@ -5,11 +5,15 @@ class CopyStatusStats < ActiveRecord::Migration[5.2]
|
||||||
|
|
||||||
def up
|
def up
|
||||||
safety_assured do
|
safety_assured do
|
||||||
|
add_column :statuses, :searchability, :integer
|
||||||
|
add_column :statuses, :limited_scope, :integer
|
||||||
if supports_upsert?
|
if supports_upsert?
|
||||||
up_fast
|
up_fast
|
||||||
else
|
else
|
||||||
up_slow
|
up_slow
|
||||||
end
|
end
|
||||||
|
remove_column :statuses, :searchability
|
||||||
|
remove_column :statuses, :limited_scope
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue