Updated migration to support nodes_blog in Project node type

This commit is contained in:
Francesco Siddi 2015-10-30 15:23:51 +01:00
parent 1d62c180d3
commit 8f311b8a10

View File

@ -494,6 +494,13 @@ def populate_node_types(old_ids={}):
'schema': { 'schema': {
'type': 'objectid', 'type': 'objectid',
} }
},
# Latest blog posts, manually added
'nodes_blog': {
'type': 'list',
'schema': {
'type': 'objectid',
}
} }
}, },
'form_schema': { 'form_schema': {
@ -514,7 +521,8 @@ def populate_node_types(old_ids={}):
} }
}, },
'nodes_featured': {}, 'nodes_featured': {},
'nodes_latest': {} 'nodes_latest': {},
'nodes_blog': {}
}, },
'permissions': { 'permissions': {
'groups': [{ 'groups': [{