We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 598ff22 commit fe8d497Copy full SHA for fe8d497
installer/resources/model_cache/databases.php
@@ -14,6 +14,7 @@
14
'default' => [
15
'driver' => env('DB_DRIVER', 'mysql'),
16
'host' => env('DB_HOST', 'localhost'),
17
+ 'port' => env('DB_PORT', 3306),
18
'database' => env('DB_DATABASE', 'hyperf'),
19
'username' => env('DB_USERNAME', 'root'),
20
'password' => env('DB_PASSWORD', ''),
@@ -37,7 +38,7 @@
37
38
'load_script' => true,
39
],
40
'commands' => [
- 'db:model' => [
41
+ 'gen:model' => [
42
'path' => 'app/Model',
43
'force_casts' => true,
44
'inheritance' => 'Model',
0 commit comments