diff --git a/database/migrations/2023_05_19_131031_alter_article_column_lengths.php b/database/migrations/2023_05_19_131031_alter_article_column_lengths.php new file mode 100644 index 00000000..15db6c2c --- /dev/null +++ b/database/migrations/2023_05_19_131031_alter_article_column_lengths.php @@ -0,0 +1,29 @@ +string('titleurl', 255)->change(); + $table->string('url', 255)->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('articles', function (Blueprint $table) { + // Converting back to shorter lengths might cause issues + }); + } +};