which ends up creating a column which do not allow null values. If you want to allow null values in timestamp columns you have to add the NULL attribute, like this:
...
`modified` timestamp NULL,
....
You can fix this by changing line 1165 in lib/Ruckusing/Adapter/MySQL/Base.php to
if (array_key_exists('null', $options)) {
if ($options['null'] === false || $options['null'] === 'NO') {
$sql .= " NOT NULL";
} elseif ('timestamp' === $type) {
$sql .= " NULL";
}
}
If you try to add a column like this:
the result will be SQL like this:
which ends up creating a column which do not allow null values. If you want to allow null values in timestamp columns you have to add the NULL attribute, like this:
You can fix this by changing line 1165 in lib/Ruckusing/Adapter/MySQL/Base.php to