##// END OF EJS Templates
Fixed issues with how mysql handles float values. Caused gists with...
marcink -
r3971:7f71d22a default
parent child Browse files
Show More
@@ -26,7 +26,7
26 import sys
26 import sys
27 import platform
27 import platform
28
28
29 VERSION = (1, 7, 0)
29 VERSION = (1, 7, 1)
30 BACKENDS = {
30 BACKENDS = {
31 'hg': 'Mercurial repository',
31 'hg': 'Mercurial repository',
32 'git': 'Git repository',
32 'git': 'Git repository',
@@ -2146,7 +2146,7 class Gist(Base, BaseModel):
2146 gist_access_id = Column('gist_access_id', Unicode(250))
2146 gist_access_id = Column('gist_access_id', Unicode(250))
2147 gist_description = Column('gist_description', UnicodeText(1024))
2147 gist_description = Column('gist_description', UnicodeText(1024))
2148 gist_owner = Column('user_id', Integer(), ForeignKey('users.user_id'), nullable=True)
2148 gist_owner = Column('user_id', Integer(), ForeignKey('users.user_id'), nullable=True)
2149 gist_expires = Column('gist_expires', Float(), nullable=False)
2149 gist_expires = Column('gist_expires', Float(53), nullable=False)
2150 gist_type = Column('gist_type', Unicode(128), nullable=False)
2150 gist_type = Column('gist_type', Unicode(128), nullable=False)
2151 created_on = Column('created_on', DateTime(timezone=False), nullable=False, default=datetime.datetime.now)
2151 created_on = Column('created_on', DateTime(timezone=False), nullable=False, default=datetime.datetime.now)
2152 modified_at = Column('modified_at', DateTime(timezone=False), nullable=False, default=datetime.datetime.now)
2152 modified_at = Column('modified_at', DateTime(timezone=False), nullable=False, default=datetime.datetime.now)
General Comments 0
You need to be logged in to leave comments. Login now