Source URL not unique

This commit is contained in:
Adrià Mercader 2011-04-15 18:28:38 +01:00
parent 1edf984f1b
commit e3a83ea14d
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class HarvestObjectError(HarvestDomainObject):
harvest_source_table = Table('harvest_source', metadata,
Column('id', types.UnicodeText, primary_key=True, default=make_uuid),
Column('url', types.UnicodeText, unique=True, nullable=False),
Column('url', types.UnicodeText, nullable=False),
Column('description', types.UnicodeText, default=u''),
Column('config', types.UnicodeText, default=u''),
Column('created', DateTime, default=datetime.datetime.utcnow),