diff options
Diffstat (limited to 'db/migrate/20200215021730_set_default_unhidden_on_statuses.rb')
-rw-r--r-- | db/migrate/20200215021730_set_default_unhidden_on_statuses.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/db/migrate/20200215021730_set_default_unhidden_on_statuses.rb b/db/migrate/20200215021730_set_default_unhidden_on_statuses.rb deleted file mode 100644 index 1d239d110..000000000 --- a/db/migrate/20200215021730_set_default_unhidden_on_statuses.rb +++ /dev/null @@ -1,8 +0,0 @@ -class SetDefaultUnhiddenOnStatuses < ActiveRecord::Migration[5.2] - def change - safety_assured do - change_column_default :statuses, :hidden, false - Status.in_batches.update_all(hidden: false) - end - end -end |