Skip to content

Commit

Permalink
add default [] for schema-rules.skip_columns to prevent errors when c…
Browse files Browse the repository at this point in the history
…onfig is not published.
  • Loading branch information
dreammonkey committed Aug 11, 2024
1 parent 8541205 commit 355acab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resolvers/BaseSchemaRulesResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function generate(): array
{
$tableColumns = $this->getColumnsDefinitionsFromTable();

$skip_columns = config('schema-rules.skip_columns');
$skip_columns = config('schema-rules.skip_columns', []);

$tableRules = [];
foreach ($tableColumns as $column) {
Expand Down

0 comments on commit 355acab

Please sign in to comment.