feat: subscription ended webhook
refactor: subscription table
This commit is contained in:
@@ -5,9 +5,13 @@ from .CustomBase import CustomBase
|
||||
class Subscriptions(Base, CustomBase):
|
||||
__tablename__ = "subscriptions"
|
||||
id = Column(Integer, primary_key=True, index=True)
|
||||
session_id = Column(String(255), index=True)
|
||||
# session_id = Column(String(255), index=True)
|
||||
customer_id = Column(String,index=True)
|
||||
account_id = Column(String,index=True)
|
||||
account_id = Column(String,index=True)
|
||||
total = Column(String)
|
||||
setup_fee = Column(String)
|
||||
subscription_fee = Column(String)
|
||||
per_call_charge = Column(String)
|
||||
subscription_id = Column(String,index=True)
|
||||
clinic_id = Column(Integer, index=True)
|
||||
status = Column(String)
|
||||
|
||||
Reference in New Issue
Block a user