Fix tx state display in lists.

selectable address for send_from.
This commit is contained in:
tecnovert
2019-07-28 21:57:20 +02:00
parent 18ee89361a
commit 4bc0ec98eb
8 changed files with 162 additions and 76 deletions

View File

@@ -9,7 +9,7 @@ import time
import sqlalchemy as sa
from sqlalchemy.ext.declarative import declarative_base
CURRENT_DB_VERSION = 1
CURRENT_DB_VERSION = 2
Base = declarative_base()
@@ -173,3 +173,10 @@ class SentOffer(Base):
__tablename__ = 'sentoffers'
offer_id = sa.Column(sa.LargeBinary, primary_key=True)
class SmsgAddress(Base):
__tablename__ = 'smsgaddresses'
addr_id = sa.Column(sa.Integer, primary_key=True, autoincrement=True)
addr = sa.Column(sa.String)
use_type = sa.Column(sa.Integer)