aboutsummaryrefslogtreecommitdiffstats
path: root/core/Migrations
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-04-02 11:34:21 +0200
committerGitHub <noreply@github.com>2020-04-02 11:34:21 +0200
commitbc6a5ef5c4431ca662424dbd1125e65e74b27fa8 (patch)
treea4ca41650699b5d9f9356eb4e7d5a5a10ab15ab2 /core/Migrations
parentc1368b86963b93a42ec98a856f8d307d922c8967 (diff)
parent1f5ba56235349ad811329b80cc1a2338dc8c79c7 (diff)
downloadnextcloud-server-bc6a5ef5c4431ca662424dbd1125e65e74b27fa8.tar.gz
nextcloud-server-bc6a5ef5c4431ca662424dbd1125e65e74b27fa8.zip
Merge pull request #19890 from nextcloud/enh/comments-reference-id
Add optional comments reference_id
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');