Commit ba3504b5 authored by Penny Leach's avatar Penny Leach Committed by Nigel McNie
Browse files

view_artefact already has block field, move it out of the way first

parent 586fccba
......@@ -325,6 +325,10 @@ function xmldb_core_upgrade($oldversion=0) {
// move old block field in view_artefact out of the way
table_column('view_artefact', 'block', 'oldblock');
$table = new XMLDBTable('view_artefact');
$field = new XMLDBField('block');
$field->setAttributes(XMLDB_TYPE_INTEGER, 10, XMLDB_UNSIGNED, null);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment