mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:39:52 +01:00
9 lines
228 B
Ruby
9 lines
228 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class RemoveIsActiveFromSubscriptions < ActiveRecord::Migration[6.1]
|
||
|
def up
|
||
|
execute "DELETE FROM subscriptions WHERE is_active = FALSE"
|
||
|
remove_column :subscriptions, :is_active
|
||
|
end
|
||
|
end
|