Skip to content

Commit

Permalink
Fix: allow null at field game_cros.createscrore
Browse files Browse the repository at this point in the history
  • Loading branch information
bdaloukas committed Sep 17, 2016
1 parent ac04eea commit 2ca4453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,7 @@ function xmldb_game_upgrade($oldversion) {

if ($oldversion < ($ver = 2016062603)) {
$table = new xmldb_table('game_cross');
$field = new xmldb_field('createscore', XMLDB_TYPE_FLOAT, null, null, XMLDB_NOTNULL, null, '0');
$field = new xmldb_field('createscore', XMLDB_TYPE_FLOAT, null, null, XMLDB_NULL, null, '0');

// Launch change of type for field thisfield
$dbman->change_field_type($table, $field);
Expand Down

0 comments on commit 2ca4453

Please sign in to comment.