diff --git a/src/Generate/Traits/Columns.php b/src/Generate/Traits/Columns.php index 3d73b04..b7bece3 100644 --- a/src/Generate/Traits/Columns.php +++ b/src/Generate/Traits/Columns.php @@ -120,7 +120,7 @@ protected function getVisibleColumns($tableName, $modelVariableName) { case 'integer': $serverStoreRules->push('\'integer\''); $serverUpdateRules->push('\'integer\''); - $frontendRules->push('numeric'); + $frontendRules->push('integer'); break; case 'boolean': $serverStoreRules->push('\'boolean\'');