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(); + }); + } +};