Skip to content

Commit 5891657

Browse files
Add support for longtext in fakeableTypes
Noticed longtext type results in an empty faker value in the factory generation.
1 parent 899bbaa commit 5891657

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)