diff --git a/database/migrations/2019_03_31_191216_add_replies_count_to_statuses_table.php b/database/migrations/2019_03_31_191216_add_replies_count_to_statuses_table.php new file mode 100644 index 000000000..2625b984b --- /dev/null +++ b/database/migrations/2019_03_31_191216_add_replies_count_to_statuses_table.php @@ -0,0 +1,34 @@ +unsignedInteger('reply_count')->nullable(); + $table->boolean('comments_disabled')->default(false); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('statuses', function (Blueprint $table) { + $table->dropColumn('reply_count'); + $table->dropColumn('comments_disabled'); + }); + } +}