phoenix-framework Ecto models usage in phoenix Generate User model from command line


Example

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()