diff options
author | Jimmy Huynh <jimmy.huynh@etu.unistra.fr> | 2021-03-14 23:43:06 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-03-17 08:58:42 +0100 |
commit | 3dfbf64a6bf71634226502b292eee2ce03aa0e85 (patch) | |
tree | 271eaec42765923c22f634be31dda5e0af6b0b83 /lib/Migration | |
parent | ef0742e868cd58e992fd14e7bb42518c12d5c87a (diff) |
♻️ Renaming 'tags' into 'categories'
Signed-off-by: Jimmy Huynh <jimmy.huynh@etu.unistra.fr>
Diffstat (limited to 'lib/Migration')
-rw-r--r-- | lib/Migration/Version150302Date20210312231251.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Migration/Version150302Date20210312231251.php b/lib/Migration/Version150302Date20210312231251.php index dddfbc0a9..70595239e 100644 --- a/lib/Migration/Version150302Date20210312231251.php +++ b/lib/Migration/Version150302Date20210312231251.php @@ -34,7 +34,7 @@ class Version150302Date20210312231251 extends SimpleMigrationStep { if ($schema->hasTable('news_items')) { $table = $schema->getTable('news_items'); - $table->addColumn('tags', 'text', [ + $table->addColumn('categories', 'text', [ 'notnull' => false ]); } |