We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 211584c commit 53d4b11Copy full SHA for 53d4b11
src/Common/CommandData.php
@@ -222,7 +222,10 @@ private function getInputFromFileOrJson()
222
} elseif (file_exists(base_path($fieldsFileValue))) {
223
$filePath = base_path($fieldsFileValue);
224
} else {
225
- $schemaFileDirector = config('infyom.laravel_generator.path.schema_files');
+ $schemaFileDirector = config(
226
+ 'infyom.laravel_generator.path.schema_files',
227
+ resource_path('model_schemas/')
228
+ );
229
$filePath = $schemaFileDirector.$fieldsFileValue;
230
}
231
0 commit comments