Skip to content

Commit 16e8cd5

Browse files
authored
fix: migration-genaration dbType without ":" (#1044)
1 parent 8c5d03c commit 16e8cd5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Common/GeneratorField.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@ class GeneratorField
3434

3535
public function parseDBType(string $dbInput)
3636
{
37-
if (!Str::contains($dbInput, ':')) {
38-
$this->dbType = $dbInput;
39-
$this->prepareMigrationText();
40-
41-
return;
42-
}
43-
4437
$dbInputArr = explode(':', $dbInput);
4538
$dbType = (string) array_shift($dbInputArr);
4639

0 commit comments

Comments
 (0)