From 2c81a44fabf65d5d96c3871f8e0e23cbb7051594 Mon Sep 17 00:00:00 2001 From: niphlod Date: Sat, 3 Aug 2013 17:55:50 +0200 Subject: [PATCH] fixed bug with Mysql. Thanks @Adi for reporting. --- gluon/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/tools.py b/gluon/tools.py index 94a814dc..2533a25e 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -5106,7 +5106,7 @@ class Wiki(object): requires=[IS_SLUG(), IS_NOT_IN_DB(db, 'wiki_page.slug')], writable=False), - Field('title', unique=True), + Field('title', length=255, unique=True), Field('body', 'text', notnull=True), Field('tags', 'list:string'), Field('can_read', 'list:string',