Skip to content

Commit

Permalink
fix: migration-genaration dbType without ":" (#1044)
Browse files Browse the repository at this point in the history
  • Loading branch information
msksbt authored Dec 22, 2022
1 parent 8c5d03c commit 16e8cd5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Common/GeneratorField.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ class GeneratorField

public function parseDBType(string $dbInput)
{
if (!Str::contains($dbInput, ':')) {
$this->dbType = $dbInput;
$this->prepareMigrationText();

return;
}

$dbInputArr = explode(':', $dbInput);
$dbType = (string) array_shift($dbInputArr);

Expand Down

0 comments on commit 16e8cd5

Please sign in to comment.