Skip to content

Commit 24ca011

Browse files
Ph0tonicjbrooksuk
andauthored
fix migration with postgresql (#173)
Co-authored-by: James Brooks <james@alt-three.com>
1 parent 7dd9806 commit 24ca011

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

database/migrations/2023_08_23_210836_make_incident_components_table_status_id_column_null.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
public function up(): void
1313
{
1414
Schema::table('incident_components', function (Blueprint $table) {
15-
$table->unsignedInteger('status_id')->nullable()->change();
16-
1715
$table->renameColumn('status_id', 'status');
16+
$table->unsignedInteger('status')->nullable()->change();
1817
});
1918
}
2019
};

0 commit comments

Comments
 (0)