Changeset - b87def4b3cbb
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 12 years ago 2013-06-06 23:47:06
marcin@python-works.com
Add autoincrement for sqlite into Gist table.
Fixes some collision issues with gists after they got deleted
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/db.py
Show inline comments
 
@@ -2137,7 +2137,7 @@ class Gist(Base, BaseModel):
 
        Index('g_gist_access_id_idx', 'gist_access_id'),
 
        Index('g_created_on_idx', 'created_on'),
 
        {'extend_existing': True, 'mysql_engine': 'InnoDB',
 
         'mysql_charset': 'utf8'}
 
         'mysql_charset': 'utf8', 'sqlite_autoincrement': True}
 
    )
 
    GIST_PUBLIC = u'public'
 
    GIST_PRIVATE = u'private'
0 comments (0 inline, 0 general)