diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20190509163236_drop_ostatus.rb | 9 | ||||
-rw-r--r-- | db/migrate/20190509164727_drop_subscriptions.rb | 7 |
2 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20190509163236_drop_ostatus.rb b/db/migrate/20190509163236_drop_ostatus.rb new file mode 100644 index 000000000..6ff25dc2e --- /dev/null +++ b/db/migrate/20190509163236_drop_ostatus.rb @@ -0,0 +1,9 @@ +class DropOStatus < ActiveRecord::Migration[5.2] + def change + safety_assured { + remove_column :accounts, :salmon_url + remove_column :accounts, :hub_url + remove_column :accounts, :subscription_expires_at + } + end +end diff --git a/db/migrate/20190509164727_drop_subscriptions.rb b/db/migrate/20190509164727_drop_subscriptions.rb new file mode 100644 index 000000000..fec395235 --- /dev/null +++ b/db/migrate/20190509164727_drop_subscriptions.rb @@ -0,0 +1,7 @@ +class DropSubscriptions < ActiveRecord::Migration[5.2] + def change + safety_assured { + drop_table :subscriptions + } + end +end |