[ckan-changes] commit/ckan: John Glover: [1363] Make task_status table UnicodeText

Bitbucket commits-noreply at bitbucket.org
Tue Oct 4 09:53:23 UTC 2011


1 new changeset in ckan:

http://bitbucket.org/okfn/ckan/changeset/b9849f591983/
changeset:   b9849f591983
branch:      feature-1363-add-task-status
user:        John Glover
date:        2011-10-04 11:53:06
summary:     [1363] Make task_status table UnicodeText
affected #:  1 file (-1 bytes)

--- a/ckan/model/task_status.py	Tue Oct 04 10:03:00 2011 +0100
+++ b/ckan/model/task_status.py	Tue Oct 04 10:53:06 2011 +0100
@@ -1,7 +1,7 @@
 import sqlalchemy as sa
 from meta import *
 from core import *
-from types import make_uuid, JsonType
+from types import make_uuid
 from datetime import datetime
 
 __all__ = ['TaskStatus', 'task_status_table']
@@ -12,7 +12,7 @@
     Column('entity_type', UnicodeText, nullable=False),
     Column('task_type', UnicodeText, nullable=False),
     Column('key', UnicodeText, nullable=False),
-    Column('value', JsonType, nullable=False),
+    Column('value', UnicodeText, nullable=False),
     Column('state', UnicodeText),
     Column('last_updated', DateTime, default=datetime.now),
     sa.UniqueConstraint('entity_id', 'task_type', 'key')

Repository URL: https://bitbucket.org/okfn/ckan/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list