Skip to content

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

Open
@zhonghaibin

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions