Skip to content

Commit

Permalink
fix migration with postgresql (#173)
Browse files Browse the repository at this point in the history
Co-authored-by: James Brooks <[email protected]>
  • Loading branch information
Ph0tonic and jbrooksuk authored Jan 14, 2025
1 parent 7dd9806 commit 24ca011
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
public function up(): void
{
Schema::table('incident_components', function (Blueprint $table) {
$table->unsignedInteger('status_id')->nullable()->change();

$table->renameColumn('status_id', 'status');
$table->unsignedInteger('status')->nullable()->change();
});
}
};

0 comments on commit 24ca011

Please sign in to comment.