diff options
Diffstat (limited to 'src/mailman/model/version.py')
| -rw-r--r-- | src/mailman/model/version.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mailman/model/version.py b/src/mailman/model/version.py index e99fb0d1c..9824e54d4 100644 --- a/src/mailman/model/version.py +++ b/src/mailman/model/version.py @@ -24,15 +24,19 @@ __all__ = [ 'Version', ] -from storm.locals import Int, Unicode +from sqlalchemy import Column, Unicode, Integer + from mailman.database.model import Model class Version(Model): - id = Int(primary=True) - component = Unicode() - version = Unicode() + + __tablename_ = 'version' + + id = Column(Integer, primary_key=True) + component = Column(Unicode) + version = Column(Unicode) # The testing machinery will generally reset all tables, however because # this table tracks schema migrations, we do not want to reset it. |
