summaryrefslogtreecommitdiffstats
path: root/core/Migrations
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-03-11 12:29:52 +0100
committerJoas Schilling <coding@schilljs.com>2020-03-31 10:51:15 +0200
commit720dc4e93d83d738861c614745f514cc347ef1f9 (patch)
tree841e5f1c095df5c24f82f134afac9ddad721a044 /core/Migrations
parent0faed106d7b0b4868ebcd897469d106d76081800 (diff)
downloadnextcloud-server-720dc4e93d83d738861c614745f514cc347ef1f9.tar.gz
nextcloud-server-720dc4e93d83d738861c614745f514cc347ef1f9.zip
Add optional column oc_comments.reference_id
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Migrations')
-rw-r--r--core/Migrations/Version13000Date20170718121200.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php
index e9f376a7e42..757697e7e90 100644
--- a/core/Migrations/Version13000Date20170718121200.php
+++ b/core/Migrations/Version13000Date20170718121200.php
@@ -769,6 +769,10 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
'length' => 64,
'default' => '',
]);
+ $table->addColumn('reference_id', 'string', [
+ 'notnull' => false,
+ 'length' => 64,
+ ]);
$table->setPrimaryKey(['id']);
$table->addIndex(['parent_id'], 'comments_parent_id_index');
$table->addIndex(['topmost_parent_id'], 'comments_topmost_parent_id_idx');