Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


Diff of /branches/1.5/turbogears/i18n/sagettext/ [r7404] .. [r7405] Maximize Restore

  Switch to side-by-side view

--- a/branches/1.5/turbogears/i18n/sagettext/
+++ b/branches/1.5/turbogears/i18n/sagettext/
@@ -1,7 +1,7 @@
 from datetime import datetime
 from sqlalchemy import (Table, Column, ForeignKey,
-    String, Unicode, Integer, DateTime)
+    DateTime, Integer, String, UnicodeText)
 from sqlalchemy.orm import relation, mapper
 from turbogears.database import metadata
@@ -9,14 +9,14 @@
 tg_domain_table = Table('tg_i18n_domain', metadata,
     Column('id', Integer, primary_key=True),
-    Column('name', Unicode, unique=True))
+    Column('name', String(255), unique=True))
 tg_message_table = Table('tg_i18n_message', metadata,
     Column('id', Integer, primary_key=True),
-    Column('name', Unicode),
-    Column('text', Unicode, default=u''),
+    Column('name', UnicodeText),
+    Column('text', UnicodeText, default=u''),
     Column('domain_id', Integer, ForeignKey(,
-    Column('locale', String(length=15)),
+    Column('locale', String(15)),
     Column('created', DateTime,,
     Column('updated', DateTime, default=None))