shorten for mysql
This commit is contained in:
Родитель
20cc4101c2
Коммит
4b46098f47
|
@ -14,11 +14,11 @@ class Account(JsonExpandoMixin, SerializerMixin, Base):
|
|||
|
||||
id = Column(Integer, primary_key=True)
|
||||
|
||||
key = Column(RDUnicode(128), index=True)
|
||||
key = Column(RDUnicode(64), index=True)
|
||||
# The external account identity information
|
||||
domain = Column(RDUnicode(128), nullable=False)
|
||||
username = Column(RDUnicode(128), nullable=False)
|
||||
userid = Column(RDUnicode(128), nullable=False)
|
||||
domain = Column(RDUnicode(64), nullable=False)
|
||||
username = Column(RDUnicode(64), nullable=False)
|
||||
userid = Column(RDUnicode(64), nullable=False)
|
||||
|
||||
def __init__(self):
|
||||
# can be overridden later, but always have a default for new accounts
|
||||
|
|
Загрузка…
Ссылка в новой задаче