1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-25 12:08:13 +09:00
mastodon/db/migrate/20170714184731_add_domain_to_subscriptions.rb
Eugen Rochko cd9b2ab2f7 Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205)
* Fix #2672 - Connect signed PuSH subscription requests to instance domain

Resolves #2739

* Fix return of locate_subscription

* Fix tests
2017-07-14 23:01:20 +02:00

6 lines
133 B
Ruby

class AddDomainToSubscriptions < ActiveRecord::Migration[5.1]
def change
add_column :subscriptions, :domain, :string
end
end