From 720dc4e93d83d738861c614745f514cc347ef1f9 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 11 Mar 2020 12:29:52 +0100 Subject: Add optional column oc_comments.reference_id Signed-off-by: Joas Schilling --- core/Migrations/Version13000Date20170718121200.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/Migrations') 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'); -- cgit v1.2.3