Skip to content

Commit 3974db7

Browse files
Merge pull request #46 from RyanPriceDotCa/patch-1
Add support for longtext in fakeableTypes
2 parents 899bbaa + 5891657 commit 3974db7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Generators/FactoryGenerator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ protected function fakerDataType(string $type)
137137
'smallint' => 'randomNumber()',
138138
'decimal' => 'randomFloat()',
139139
'float' => 'randomFloat()',
140+
'longtext' => 'text',
140141
'boolean' => 'boolean'
141142
];
142143

0 commit comments

Comments
 (0)