Add Store.database_key column.

This seems hopefully useful, although the larger question of how to relate
database instances to stores etc. is not well answered yet.
This commit is contained in:
Lance Edgar 2014-11-02 19:35:02 -06:00
parent b0c50c3227
commit c3cf8480c7

View file

@ -370,6 +370,7 @@ class Store(Base):
uuid = uuid_column() uuid = uuid_column()
id = Column(String(length=10)) id = Column(String(length=10))
name = Column(String(length=100)) name = Column(String(length=100))
database_key = sa.Column(sa.String(length=30))
def __repr__(self): def __repr__(self):
return "Store(uuid={0})".format(repr(self.uuid)) return "Store(uuid={0})".format(repr(self.uuid))