changeset 3870:b08a3f8a4148 beta

decrease column size for gist_access_id.
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 19 May 2013 14:46:57 +0200
parents 5cf8947da6d4
children 35bce50df618
files rhodecode/model/db.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/model/db.py	Sun May 19 14:35:15 2013 +0200
+++ b/rhodecode/model/db.py	Sun May 19 14:46:57 2013 +0200
@@ -2138,7 +2138,7 @@
     GIST_PRIVATE = u'private'
 
     gist_id = Column('gist_id', Integer(), primary_key=True)
-    gist_access_id = Column('gist_access_id', Unicode(1024))
+    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)