Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Force database dynamic row format
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Feb 1, 2022
1 parent a8c6448 commit 78f4745
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inc/compliance.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static function install(Migration $migration) {
KEY `computers_id` (`computers_id`),
KEY `is_compliant` (`is_compliant`),
KEY `date_last_check` (`date_last_check`)
) ENGINE=InnoDB DEFAULT CHARSET={$default_charset} COLLATE={$default_collation};";
) ENGINE=InnoDB DEFAULT CHARSET={$default_charset} COLLATE={$default_collation} ROW_FORMAT=DYNAMIC;";
$DB->queryOrDie($query, $DB->error());
}
}
Expand Down
2 changes: 1 addition & 1 deletion inc/config.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public static function install(Migration $migration) {
KEY `password` (`password`),
KEY `api_key` (`api_key`),
KEY `skip_ssl_check` (`skip_ssl_check`)
) ENGINE=InnoDB DEFAULT CHARSET={$default_charset} COLLATE={$default_collation};";
) ENGINE=InnoDB DEFAULT CHARSET={$default_charset} COLLATE={$default_collation} ROW_FORMAT=DYNAMIC;";
$DB->query($query) or die ($DB->error());

$tmp = ['id' => 1,
Expand Down
2 changes: 1 addition & 1 deletion inc/detail.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ public static function install(Migration $migration) {
KEY `is_roaming_enabled` (`is_roaming_enabled`),
KEY `is_data_roaming_enabled` (`is_data_roaming_enabled`),
KEY `is_voice_roaming_enabled` (`is_voice_roaming_enabled`)
) ENGINE=InnoDB DEFAULT CHARSET={$default_charset} COLLATE={$default_collation};";
) ENGINE=InnoDB DEFAULT CHARSET={$default_charset} COLLATE={$default_collation} ROW_FORMAT=DYNAMIC;";
$DB->query($query) or die ($DB->error());
} else {
$migration->changeField('glpi_plugin_airwatch_details', 'is_compliant', 'is_compliant',
Expand Down

0 comments on commit 78f4745

Please sign in to comment.