mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-36941 core: Remove default for convhash field in upgrade.php
This commit is contained in:
parent
ba926805e2
commit
d5458014b3
@ -2134,7 +2134,7 @@ function xmldb_main_upgrade($oldversion) {
|
||||
if ($oldversion < 2018032200.04) {
|
||||
// Define table 'message_conversations' to be updated.
|
||||
$table = new xmldb_table('message_conversations');
|
||||
$field = new xmldb_field('convhash', XMLDB_TYPE_CHAR, '40', null, XMLDB_NOTNULL, null, 0, 'id');
|
||||
$field = new xmldb_field('convhash', XMLDB_TYPE_CHAR, '40', null, XMLDB_NOTNULL, null, null, 'id');
|
||||
|
||||
// Conditionally launch add field 'convhash'.
|
||||
if (!$dbman->field_exists($table, $field)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user