From 5b0306fc88685bcbaa2483f373f885a650c59dc7 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Tue, 29 Aug 2017 17:02:20 +0800 Subject: [PATCH] Update --- phoenix-ecto@1.3.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/phoenix-ecto@1.3.md b/phoenix-ecto@1.3.md index ff8f0057d..5893bfed9 100644 --- a/phoenix-ecto@1.3.md +++ b/phoenix-ecto@1.3.md @@ -1,5 +1,5 @@ --- -title: "Phoenix: Ecto models" +title: "Phoenix: Ecto" category: Elixir layout: 2017/sheet tags: [WIP] @@ -8,8 +8,11 @@ updated: 201708.29 ### Generating -``` +```bash $ mix phx.gen.html Accounts Profile profiles email:string age:integer +``` + +```bash $ mix phx.gen.html Accounts User users email:string hashed_password:string ```