summaryrefslogtreecommitdiffstats
path: root/lib/Migration
diff options
context:
space:
mode:
authorJimmy Huynh <jimmy.huynh@etu.unistra.fr>2021-03-14 23:43:06 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-03-17 08:58:42 +0100
commit3dfbf64a6bf71634226502b292eee2ce03aa0e85 (patch)
tree271eaec42765923c22f634be31dda5e0af6b0b83 /lib/Migration
parentef0742e868cd58e992fd14e7bb42518c12d5c87a (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.php2
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
]);
}