Skip to content

Commit

Permalink
fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinGab committed Oct 14, 2024
1 parent 5134aa1 commit 4d98a96
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ return new class extends Migration

});

Schema::create('media', function (Blueprint $table) {
Schema::table('media', function (Blueprint $table) {
$table->dropColumn('generated_conversions');
});

}

public function down()
{
Schema::create('media', function (Blueprint $table) {
Schema::table('media', function (Blueprint $table) {
$table->json('generated_conversions')->nullable();
});
}
Expand Down

0 comments on commit 4d98a96

Please sign in to comment.