@@ -81,16 +81,12 @@ public function handle()
8181 '--form-request-directory ' => $ validInput ->formRequestDirectory ,
8282 '--with-auth ' => $ validInput ->withAuth ,
8383 '--table-name ' => $ validInput ->table ,
84- '--fillable ' => $ validInput ->fillable ,
8584 '--primary-key ' => $ validInput ->primaryKey ,
8685 '--with-soft-delete ' => $ validInput ->withSoftDelete ,
8786 '--without-timestamps ' => $ validInput ->withoutTimeStamps ,
88- '--relationships ' => $ validInput ->relationships ,
8987 '--with-migration ' => $ validInput ->withMigration ,
9088 '--migration-class-name ' => $ validInput ->migrationClass ,
9189 '--connection-name ' => $ validInput ->connectionName ,
92- '--indexes ' => $ validInput ->indexes ,
93- '--foreign-keys ' => $ validInput ->foreignKeys ,
9490 '--engine-name ' => $ validInput ->engineName ,
9591 '--layout-name ' => $ validInput ->layoutName ,
9692 '--template-name ' => $ validInput ->template ,
@@ -144,15 +140,11 @@ protected function getValidInputs(array $objects, ResourceInput $originalInput)
144140 $ input ->withMigration = $ this ->getValue ($ object , 'with-migration ' , $ input ->withMigration );
145141 $ input ->force = $ this ->getValue ($ object , 'force ' , $ input ->force );
146142 $ input ->modelDirectory = $ this ->getValue ($ object , 'model-directory ' , $ input ->modelDirectory );
147- $ input ->fillable = $ this ->getValue ($ object , 'fillable ' , $ input ->fillable );
148143 $ input ->primaryKey = $ this ->getValue ($ object , 'primary-key ' , $ input ->primaryKey );
149- $ input ->relationships = $ this ->getValue ($ object , 'relationships ' , $ input ->relationships );
150144 $ input ->withSoftDelete = $ this ->getValue ($ object , 'with-soft-delete ' , $ input ->withSoftDelete );
151145 $ input ->withoutTimeStamps = $ this ->getValue ($ object , 'without-timestamps ' , $ input ->withoutTimeStamps );
152146 $ input ->migrationClass = $ this ->getValue ($ object , 'migration-class-name ' , $ input ->migrationClass );
153147 $ input ->connectionName = $ this ->getValue ($ object , 'connection-name ' , $ input ->connectionName );
154- $ input ->indexes = $ this ->getValue ($ object , 'indexes ' , $ input ->indexes );
155- $ input ->foreignKeys = $ this ->getValue ($ object , 'foreign-keys ' , $ input ->foreignKeys );
156148 $ input ->engineName = $ this ->getValue ($ object , 'engine-name ' , $ input ->engineName );
157149 $ input ->template = $ this ->getValue ($ object , 'template-name ' , $ input ->template );
158150 $ input ->layoutName = $ this ->getValue ($ object , 'layout-name ' , $ input ->layoutName );
@@ -161,9 +153,6 @@ protected function getValidInputs(array $objects, ResourceInput $originalInput)
161153 $ input ->withAuth = $ this ->getValue ($ object , 'with-auth ' , $ input ->withAuth );
162154 $ input ->formRequestDirectory = $ this ->getValue ($ object , 'form-request-directory ' , $ input ->formRequestDirectory );
163155
164- $ fields = $ this ->getFields ($ input ->fields , $ input ->languageFileName , $ input ->resourceFile );
165-
166- $ this ->validateField ($ fields );
167156 $ validInputs [] = $ input ;
168157 }
169158
0 commit comments