changeset 11057 | 0b59724cb3f2 |
parent 11052 | 058bb3dc685f |
child 11058 | 23eb30449fe5 |
11052:058bb3dc685f | 11057:0b59724cb3f2 |
---|---|
1 from datetime import datetime |
|
2 |
|
3 for rtype in ('cw_support', 'cw_dont_cross', 'cw_may_cross'): |
|
4 drop_relation_type(rtype) |
|
5 |
|
6 add_entity_type('CWSourceSchemaConfig') |
|
7 |
|
8 if not 'url' in schema['CWSource'].subjrels: |
|
9 add_attribute('CWSource', 'url') |
|
10 add_attribute('CWSource', 'parser') |
|
11 add_attribute('CWSource', 'latest_retrieval') |