diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-05-09 12:09:04 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:23 -0500 |
commit | 0782dc390525c5d1db66ea53e1208689c7d0bfcb (patch) | |
tree | c6068c14c3f70e9e26a6575572767c4fbbf35172 /db/migrate | |
parent | cb311a274ce32381dbd16fa03874d8dad133d00b (diff) |
Drop remaining OStatus and PuSH code, as well as related database items.
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 |