Skip to content

命令生成model文件$table=null #24

@zhonghaibin

Description

@zhonghaibin

php webman make:model 表名 这个命令生成的model文件里面定义表名 $table 变量是 null 。
我不清楚你这里为什么要定义多一个$table_val变量 ,然后做这样的判断。这是一个bug吗?
我想要的结果是有带表前缀的表名,例如:$table=mm_users
Snipaste_2023-07-11_00-21-53

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions