We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c7e52a + 7957c3b commit 447de94Copy full SHA for 447de94
phoenix-migrations.md
@@ -29,6 +29,12 @@ $ mix phoenix.gen.model Message messages user_id:integer content:text
29
30
This is only for Phoenix 1.2 or older; models aren't available in Phoenix 1.3+.
31
32
+### Creating context
33
+
34
+```bash
35
+$ mix phx.gen.context Images Album albums title:string subtitle:string privacy:string
36
+```
37
38
## Migration functions
39
40
### Creating tables
0 commit comments