diff --git a/database/migrations/2023_11_23_052600_change_columns_to_mediumtext_in_rss_posts_table.php b/database/migrations/2023_11_23_052600_change_columns_to_mediumtext_in_rss_posts_table.php new file mode 100644 index 0000000..2192580 --- /dev/null +++ b/database/migrations/2023_11_23_052600_change_columns_to_mediumtext_in_rss_posts_table.php @@ -0,0 +1,36 @@ +mediumText('source')->change(); + $table->mediumText('source_url')->change(); + $table->mediumText('post_url')->change(); + $table->mediumText('title')->change(); + $table->mediumText('slug')->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('rss_posts', function (Blueprint $table) { + $table->string('source')->change(); + $table->string('source_url')->change(); + $table->string('post_url')->change(); + $table->string('title')->change(); + $table->string('slug')->change(); + }); + } +};