diff --git a/database/migrations/2023_08_24_090249_change_cliffhanger_column_type.php b/database/migrations/2023_08_24_090249_change_cliffhanger_column_type.php new file mode 100644 index 0000000..4b9edfb --- /dev/null +++ b/database/migrations/2023_08_24_090249_change_cliffhanger_column_type.php @@ -0,0 +1,28 @@ +text('cliffhanger')->after('excerpt')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down() + { + Schema::table('posts', function (Blueprint $table) { + $table->string('cliffhanger')->after('excerpt')->nullable()->change(); + }); + } +};