summaryrefslogtreecommitdiffstats
path: root/lib/Migration/Version150302Date20210227133330.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Migration/Version150302Date20210227133330.php')
-rw-r--r--lib/Migration/Version150302Date20210227133330.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Migration/Version150302Date20210227133330.php b/lib/Migration/Version150302Date20210227133330.php
index 4239ea226..e40a0d929 100644
--- a/lib/Migration/Version150302Date20210227133330.php
+++ b/lib/Migration/Version150302Date20210227133330.php
@@ -35,12 +35,7 @@ class Version150302Date20210227133330 extends SimpleMigrationStep {
if ($schema->hasTable('news_items')) {
$table = $schema->getTable('news_items');
$table->addColumn('shared_by', 'string', [
- 'notnull' => true,
- 'length' => 64,
- 'default' => '',
- ]);
- $table->addColumn('shared_with', 'string', [
- 'notnull' => true,
+ 'notnull' => false,
'length' => 64,
'default' => '',
]);