From c52ed3b163598e01322e5af88029302192d1e21a Mon Sep 17 00:00:00 2001 From: amercader Date: Tue, 20 Nov 2012 11:29:58 +0000 Subject: [PATCH] Add line field to object error table --- ckanext/harvest/model/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ckanext/harvest/model/__init__.py b/ckanext/harvest/model/__init__.py index 8e41bb2..ff95ec0 100644 --- a/ckanext/harvest/model/__init__.py +++ b/ckanext/harvest/model/__init__.py @@ -225,8 +225,9 @@ def define_harvester_tables(): harvest_object_error_table = Table('harvest_object_error',metadata, Column('id', types.UnicodeText, primary_key=True, default=make_uuid), Column('harvest_object_id', types.UnicodeText, ForeignKey('harvest_object.id')), - Column('message',types.UnicodeText), + Column('message', types.UnicodeText), Column('stage', types.UnicodeText), + Column('line', types.Integer), Column('created', types.DateTime, default=datetime.datetime.utcnow), )