Mercurial > kallithea
changeset 2791:85bb0866d444 beta
UnicodeText make mysql more happy
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 03 Sep 2012 20:34:23 +0200 |
parents | 3c0ae44557c4 |
children | 9ae95fdeca18 6f3a73439d05 |
files | rhodecode/model/db.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/model/db.py Mon Sep 03 19:47:23 2012 +0200 +++ b/rhodecode/model/db.py Mon Sep 03 20:34:23 2012 +0200 @@ -1534,7 +1534,7 @@ hl_lines = Column('hl_lines', Unicode(512), nullable=True) f_path = Column('f_path', Unicode(1000), nullable=True) user_id = Column('user_id', Integer(), ForeignKey('users.user_id'), nullable=False) - text = Column('text', Unicode(25000), nullable=False) + text = Column('text', UnicodeText(25000), 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)