From d756b2ae3848e2e46b247162394fbcdcced2f7a5 Mon Sep 17 00:00:00 2001 From: KMY Date: Thu, 26 Oct 2023 20:45:05 +0900 Subject: [PATCH] Fix test --- db/migrate/20180812173710_copy_status_stats.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/db/migrate/20180812173710_copy_status_stats.rb b/db/migrate/20180812173710_copy_status_stats.rb index 52ab43b762f877..ca2892cf629d24 100644 --- a/db/migrate/20180812173710_copy_status_stats.rb +++ b/db/migrate/20180812173710_copy_status_stats.rb @@ -5,11 +5,15 @@ class CopyStatusStats < ActiveRecord::Migration[5.2] def up safety_assured do + add_column :statuses, :searchability, :integer + add_column :statuses, :limited_scope, :integer if supports_upsert? up_fast else up_slow end + remove_column :statuses, :searchability + remove_column :statuses, :limited_scope end end