Mercurial > kallithea
changeset 3971:7f71d22a1794
Fixed issues with how mysql handles float values. Caused gists with
expiration dates not work properly on mysql.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 11 Jun 2013 13:51:23 +0200 |
parents | e0e244e949bc |
children | 3cb5a35a319d |
files | rhodecode/__init__.py rhodecode/model/db.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/__init__.py Sat Jun 08 01:04:49 2013 +0200 +++ b/rhodecode/__init__.py Tue Jun 11 13:51:23 2013 +0200 @@ -26,7 +26,7 @@ import sys import platform -VERSION = (1, 7, 0) +VERSION = (1, 7, 1) BACKENDS = { 'hg': 'Mercurial repository', 'git': 'Git repository',
--- a/rhodecode/model/db.py Sat Jun 08 01:04:49 2013 +0200 +++ b/rhodecode/model/db.py Tue Jun 11 13:51:23 2013 +0200 @@ -2146,7 +2146,7 @@ gist_access_id = Column('gist_access_id', Unicode(250)) gist_description = Column('gist_description', UnicodeText(1024)) gist_owner = Column('user_id', Integer(), ForeignKey('users.user_id'), nullable=True) - gist_expires = Column('gist_expires', Float(), nullable=False) + gist_expires = Column('gist_expires', Float(53), nullable=False) gist_type = Column('gist_type', Unicode(128), nullable=False) created_on = Column('created_on', DateTime(timezone=False), nullable=False, default=datetime.datetime.now) modified_at = Column('modified_at', DateTime(timezone=False), nullable=False, default=datetime.datetime.now)