Mercurial > kallithea
changeset 670:e7c670cc03cb beta
Adde table for cache invalidation
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 09 Nov 2010 22:53:24 +0100 |
parents | 9bacc4194efa |
children | dd532af216d9 |
files | rhodecode/model/db.py |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/model/db.py Sun Nov 07 15:19:39 2010 +0100 +++ b/rhodecode/model/db.py Tue Nov 09 22:53:24 2010 +0100 @@ -138,3 +138,12 @@ repository = relation('Repository', single_parent=True) +class CacheInvalidation(Base): + __tablename__ = 'cache_invalidation' + __table_args__ = {'useexisting':True} + cache_id = Column("cache_id", INTEGER(), nullable=False, unique=True, default=None, primary_key=True) + cache_key = Column("cache_key", TEXT(length=None, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) + cache_args = Column("cache_args", TEXT(length=None, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) + cache_active = Column("cache_active", BOOLEAN(), nullable=True, unique=None, default=None) + +