changeset 975:27dba61f07d3 beta

merge
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 28 Jan 2011 19:46:10 +0100
parents 1a5c41e4bb02 (diff) f6658c70eeeb (current diff)
children de535f8b1e8b
files docs/changelog.rst rhodecode/model/db.py
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/docs/changelog.rst	Fri Jan 28 19:02:02 2011 +0100
+++ b/docs/changelog.rst	Fri Jan 28 19:46:10 2011 +0100
@@ -35,6 +35,7 @@
 - fixed ehlo command on mailserver. Was not working on some hosting setups
 - fixed problem with '[' chars in commit messages in journal
 - fixed #99 Unicode errors, on file node paths with non utf-8 characters
+- fixed #106 relation issues on databases different than sqlite
 
 1.1.2 (**2011-01-12**)
 ======================
--- a/rhodecode/model/db.py	Fri Jan 28 19:02:02 2011 +0100
+++ b/rhodecode/model/db.py	Fri Jan 28 19:46:10 2011 +0100
@@ -201,6 +201,8 @@
 
     repo_followers = relationship('UserFollowing', primaryjoin='UserFollowing.follows_repo_id==Repository.repo_id', cascade='all')
 
+    logs = relation('UserLog', cascade='all')
+
     def __repr__(self):
         return "<%s('%s:%s')>" % (self.__class__.__name__,
                                   self.repo_id, self.repo_name)