1
0
mirror of synced 2026-08-05 14:47:03 +00:00

add new table

This commit is contained in:
Rimian Perkins
2019-12-03 13:03:10 +11:00
parent 6d71d26574
commit bdba7686d3
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -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)