Skip to content

Commit

Permalink
fix sqlite min length
Browse files Browse the repository at this point in the history
  • Loading branch information
Sairahcaz committed Oct 25, 2023
1 parent dc87e21 commit 5a629e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resolvers/SchemaRulesResolverSqlite.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protected function generateColumnRules(stdClass $column): array
break;
case $type == 'varchar' || $type == 'text':
$columnRules[] = "string";
$columnRules[] = "min:".config('schema-rules.min_string');
$columnRules[] = "min:".config('schema-rules.string_min_length');

break;
case $type == 'integer':
Expand Down

0 comments on commit 5a629e2

Please sign in to comment.