about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-07-14 23:01:20 +0200
committerGitHub <noreply@github.com>2017-07-14 23:01:20 +0200
commitcd9b2ab2f70b6c1da5d0abeaa88eecdfc1b41f78 (patch)
tree318a07018a0d2467cfd888c405925b4fe8f39b38 /db/migrate
parentde397f3bc1f1c7e632d0db0754711beb6ce04664 (diff)
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
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20170714184731_add_domain_to_subscriptions.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20170714184731_add_domain_to_subscriptions.rb b/db/migrate/20170714184731_add_domain_to_subscriptions.rb
new file mode 100644
index 000000000..7c01a64f5
--- /dev/null
+++ b/db/migrate/20170714184731_add_domain_to_subscriptions.rb
@@ -0,0 +1,5 @@
+class AddDomainToSubscriptions < ActiveRecord::Migration[5.1]
+  def change
+    add_column :subscriptions, :domain, :string
+  end
+end