- calendarsubscriptions.lastmodified -> not null
- external_config.value -> allow null
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
]);
$table->setPrimaryKey(['id']);
$table->addUniqueIndex(['principaluri', 'uri'], 'calsub_index');
+ } else {
+ $table = $schema->getTable('calendarsubscriptions');
+ $table->changeColumn('lastmodified', [
+ 'notnull' => false,
+ 'unsigned' => true,
+ ]);
}
if (!$schema->hasTable('schedulingobjects')) {
$table->setPrimaryKey(['config_id']);
$table->addIndex(['mount_id'], 'config_mount');
$table->addUniqueIndex(['mount_id', 'key'], 'config_mount_key');
+ } else {
+ $table = $schema->getTable('external_config');
+ $table->changeColumn('value', [
+ 'notnull' => false,
+ 'length' => 4096,
+ ]);
}
if (!$schema->hasTable('external_options')) {