subscription
This commit is contained in:
@@ -50,6 +50,13 @@ class MembersProducts(db.Model):
|
||||
@classmethod
|
||||
def create_subscription(cls, member_id ,product_id,status,internal_url):
|
||||
# Create the subscription
|
||||
'''
|
||||
merms_panel=# select * from members_products;
|
||||
id | uid | member_id | product_id | internal_url | external_url | dns_group | status | added | updated
|
||||
----+-----+-----------+------------+--------------+--------------+-----------+--------+-------+---------
|
||||
(0 rows)
|
||||
'''
|
||||
|
||||
subscription = cls(
|
||||
member_id=member_id,
|
||||
product_id=product_id,
|
||||
|
||||
Reference in New Issue
Block a user