diff options
author | Joas Schilling <coding@schilljs.com> | 2020-03-11 12:29:52 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-03-31 10:51:15 +0200 |
commit | 720dc4e93d83d738861c614745f514cc347ef1f9 (patch) | |
tree | 841e5f1c095df5c24f82f134afac9ddad721a044 /core/Migrations | |
parent | 0faed106d7b0b4868ebcd897469d106d76081800 (diff) | |
download | nextcloud-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.php | 4 |
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'); |