feat(console): add CRUD support and update usage warning
Extend the console command configuration to include 'crud' alongside the existing 'curd' command for better supporting CRUD operations in the application. Additionally, update the user warning message to recommend using the visual generation features for CRUD functionality within the system, indicating that further support for command-line CURD/CRUD will be phased out.Adjust the related fields handling in the Curd command class methods to use 'onlyField' for consistency with the singular form of field manipulations, and ensure correct method parameter names are reflected in the relation setup.
This commit is contained in:
@@ -7,6 +7,7 @@ return [
|
||||
// 指令定义
|
||||
'commands' => [
|
||||
'curd' => 'app\common\command\Curd',
|
||||
'crud' => 'app\common\command\Curd',
|
||||
'node' => 'app\common\command\Node',
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user