diff options
author | Marco Nassabain <marco.nassabain@hotmail.com> | 2021-03-05 22:02:21 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 22:31:21 +0200 |
commit | 4612ed9bf0115d328d22beecb07179f3ae8f460d (patch) | |
tree | 061902d0e7cab55ce193d5c0f9cab285cd49f82e /lib/Migration | |
parent | e5d439ee7e9af74c787f8c5588c7caeb744131d6 (diff) |
🎨 Share migration: remove shared_by default value
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'lib/Migration')
-rw-r--r-- | lib/Migration/Version150302Date20210227133330.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Migration/Version150302Date20210227133330.php b/lib/Migration/Version150302Date20210227133330.php index e40a0d929..d6186af67 100644 --- a/lib/Migration/Version150302Date20210227133330.php +++ b/lib/Migration/Version150302Date20210227133330.php @@ -35,10 +35,9 @@ class Version150302Date20210227133330 extends SimpleMigrationStep { if ($schema->hasTable('news_items')) { $table = $schema->getTable('news_items'); $table->addColumn('shared_by', 'string', [ - 'notnull' => false, - 'length' => 64, - 'default' => '', - ]); + 'notnull' => false, + 'length' => 64 + ]); } return $schema; |