Skip to content

Commit 5a629e2

Browse files
committed
fix sqlite min length
1 parent dc87e21 commit 5a629e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resolvers/SchemaRulesResolverSqlite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected function generateColumnRules(stdClass $column): array
4545
break;
4646
case $type == 'varchar' || $type == 'text':
4747
$columnRules[] = "string";
48-
$columnRules[] = "min:".config('schema-rules.min_string');
48+
$columnRules[] = "min:".config('schema-rules.string_min_length');
4949

5050
break;
5151
case $type == 'integer':

0 commit comments

Comments
 (0)