从命令行生成用户模型
To generate json
user model with username
, password_hash
, email_id
, created_at
, updated_at
, type
mix phoenix.gen.json User users username:string email_id:string password_hash:string timestamps()
To generate json
user model with username
, password_hash
, email_id
, created_at
, updated_at
, type
mix phoenix.gen.json User users username:string email_id:string password_hash:string timestamps()