From 8fd3975907aaaf2808a517b609f13e988ba5c044 Mon Sep 17 00:00:00 2001 From: Marco Nassabain Date: Wed, 3 Mar 2021 23:27:04 +0100 Subject: =?UTF-8?q?=F0=9F=8E=A8=20Update=20share=20migration=20-=20remove?= =?UTF-8?q?=20shared=5Fwith=20column=20-=20make=20shared=5Fby=20nullable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marco Nassabain --- lib/Migration/Version150302Date20210227133330.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib') 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' => '', ]); -- cgit v1.2.3