Skip to content

Commit

Permalink
Migration error #15
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Jun 24, 2024
1 parent e99537d commit 8a5b979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/Concerns/GenerateMigrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private function getFields($fields): string
}
}
else {
$finalFields .= '$table->'. ($field->type == 'varchar' ? 'string' : $field->type === 'int' ? 'integer' : $field->type) .'("'.$field->name.'")';
$finalFields .= '$table->'. ($field->type == 'varchar' ? 'string' : ($field->type === 'int' ? 'integer' : $field->type)) .'("'.$field->name.'")';
}


Expand Down

0 comments on commit 8a5b979

Please sign in to comment.