backend returns if user is already subscribed

This commit is contained in:
Rimian Perkins
2019-11-28 17:43:03 +11:00
parent c7dcc18923
commit 0fddb5e3b9
6 changed files with 93 additions and 38 deletions
@@ -0,0 +1,5 @@
class AddProductToCustomer < ActiveRecord::Migration[6.0]
def change
add_column :discourse_patrons_customers, :product_id, :string
end
end
@@ -0,0 +1,5 @@
class RemoveCustomerIndex < ActiveRecord::Migration[6.0]
def change
remove_index :discourse_patrons_customers, :customer_id
end
end