從命令列生成使用者模型
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()