Fix bug in source datasets migration

Wrong dataset type was causing the default package schema to be used,
thus failing when providing an id.
This commit is contained in:
amercader 2013-05-24 14:25:05 +01:00
parent 751409ab7d
commit 1d54edfdaa
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ def migrate_v3_create_datasets():
'title': source.title if source.title else source.url,
'notes': source.description,
'url': source.url,
'type': 'harvest_source',
'type': 'harvest',
'source_type': source.type,
'config': source.config,
'frequency': source.frequency,