Mercurial > kallithea
diff pylons_app/model/db.py @ 62:4df4c0eac619
Updated admin to show last 5 actions + updated db model
author | Marcin Kuzminski <marcin@python-blog.com> |
---|---|
date | Sat, 10 Apr 2010 16:42:08 +0200 |
parents | 1b6d7662d6e2 |
children | b2c38dee135a |
line wrap: on
line diff
--- a/pylons_app/model/db.py Sat Apr 10 16:29:25 2010 +0200 +++ b/pylons_app/model/db.py Sat Apr 10 16:42:08 2010 +0200 @@ -21,6 +21,7 @@ __table_args__ = {'useexisting':True} id = Column("id", SLInteger(), nullable=False, unique=True, default=None, primary_key=1) user_id = Column("user_id", SLInteger(), ForeignKey(u'users.user_id'), nullable=True, unique=None, default=None) - last_action = Column("last_action", SLText(length=None, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) - last_action_date = Column("last_action_date", SLDateTime(timezone=False), nullable=True, unique=None, default=None) + repository = Column("repository", SLText(length=None, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) + action = Column("action", SLText(length=None, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) + action_date = Column("action_date", SLDateTime(timezone=False), nullable=True, unique=None, default=None) user = relation('Users')