From: Dan Brown Date: Tue, 2 Sep 2025 09:20:10 +0000 (+0100) Subject: Maintenance: Removed unused comments text column X-Git-Tag: v25.11~1^2~22 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/5ea4e1e935624e060ad2b4e257a76539ec1a4746 Maintenance: Removed unused comments text column Has been redundant and unused for a about a year now. Closes #4821 --- diff --git a/database/migrations/2025_09_02_111542_remove_comments_text_column.php b/database/migrations/2025_09_02_111542_remove_comments_text_column.php new file mode 100644 index 000000000..8caa05e54 --- /dev/null +++ b/database/migrations/2025_09_02_111542_remove_comments_text_column.php @@ -0,0 +1,28 @@ +dropColumn('text'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('comments', function (Blueprint $table) { + $table->longText('text')->nullable(); + }); + } +};