diff -r b172c383dbce -r ffda12be2e9f misc/migration/3.11.0_Any.py --- a/misc/migration/3.11.0_Any.py Wed Feb 09 18:06:13 2011 +0100 +++ b/misc/migration/3.11.0_Any.py Wed Feb 09 18:06:17 2011 +0100 @@ -1,7 +1,13 @@ for rtype in ('cw_support', 'cw_dont_cross', 'cw_may_cross'): drop_relation_type(rtype) + add_entity_type('CWSourceSchemaConfig') +if not 'url' in schema['CWSource'].subjrels: + add_attribute('CWSource', 'url') + add_attribute('CWSource', 'parser') + add_attribute('CWSource', 'latest_retrieval') + try: from cubicweb.server.sources.pyrorql import PyroRQLSource except ImportError: