Remove the year 2038 date limitation.
File
- core/
modules/ dblog/ dblog.install, line 106 - Install, update and uninstall functions for the dblog module.
Code
function dblog_update_10100(&$sandbox = NULL) {
$connection = \Drupal::database();
if ($connection
->schema()
->tableExists('watchdog') && $connection
->databaseType() != 'sqlite') {
$new = [
'type' => 'int',
'not null' => TRUE,
'default' => 0,
'description' => 'Unix timestamp of when event occurred.',
'size' => 'big',
];
$connection
->schema()
->changeField('watchdog', 'timestamp', 'timestamp', $new);
}
}