add new table
This commit is contained in:
@@ -5,7 +5,7 @@ module DiscoursePatrons
|
||||
scope :find_user, ->(user) { find_by_user_id(user.id) }
|
||||
|
||||
class << self
|
||||
table_name = "discourse_patrons_customers"
|
||||
table_name = "discourse_subscriptions_customers"
|
||||
|
||||
def create_customer(user, customer)
|
||||
create(customer_id: customer[:id], user_id: user.id)
|
||||
|
||||
Reference in New Issue
Block a user