Mercurial > kallithea
diff pylons_app/model/db.py @ 392:b27d32cb3157
Implemented hooks system,
Added repo size hook, and active flag on ui settings in the database to able to toggle them.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 06 Aug 2010 02:03:22 +0200 |
parents | 55377fdc1fc6 |
children | f5c1eec9f376 |
line wrap: on
line diff
--- a/pylons_app/model/db.py Fri Aug 06 01:52:17 2010 +0200 +++ b/pylons_app/model/db.py Fri Aug 06 02:03:22 2010 +0200 @@ -17,7 +17,9 @@ ui_section = Column("ui_section", TEXT(length=None, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) ui_key = Column("ui_key", TEXT(length=None, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) ui_value = Column("ui_value", TEXT(length=None, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) - + ui_active = Column("ui_active", BOOLEAN(), nullable=True, unique=None, default=True) + + class User(Base): __tablename__ = 'users' __table_args__ = {'useexisting':True}