This commit is contained in:
Rico Sta. Cruz 2017-08-29 17:02:20 +08:00
parent 2a35329c95
commit 5b0306fc88
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
--- ---
title: "Phoenix: Ecto models" title: "Phoenix: Ecto"
category: Elixir category: Elixir
layout: 2017/sheet layout: 2017/sheet
tags: [WIP] tags: [WIP]
@ -8,8 +8,11 @@ updated: 201708.29
### Generating ### Generating
``` ```bash
$ mix phx.gen.html Accounts Profile profiles email:string age:integer $ mix phx.gen.html Accounts Profile profiles email:string age:integer
```
```bash
$ mix phx.gen.html Accounts User users email:string hashed_password:string $ mix phx.gen.html Accounts User users email:string hashed_password:string
``` ```