24 lines
695 B
Python
24 lines
695 B
Python
from sqlalchemy.ext.declarative import declarative_base
|
|
from sqlalchemy import Column, Integer, String
|
|
|
|
Base = declarative_base()
|
|
|
|
class Queue(Base):
|
|
__tablename__ = 'queue'
|
|
|
|
id = Column(Integer, primary_key = True)
|
|
txhash = Column(String)
|
|
time = Column(String)
|
|
account = Column(String)
|
|
fee = Column(String)
|
|
ready = Column(String)
|
|
confirmations = Column(String)
|
|
callbackurl = Column(String)
|
|
generated_address = Column(String)
|
|
destination = Column(String)
|
|
balance_received = Column(String)
|
|
callback_req = Column(String)
|
|
ip = Column(String)
|
|
hostname = Column(String)
|
|
merchantId = Column(String)
|
|
dateTime = Column(String) |