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.
1 parent 35d6421 commit b4883d5Copy full SHA for b4883d5
docs/tutorial.md
@@ -58,7 +58,7 @@ defmodule Blog do
58
import Supervisor.Spec, warn: false
59
60
children = [
61
- worker(Blog.Repo, [])
+ Blog.Repo,
62
]
63
64
# See http://elixir-lang.org/docs/stable/elixir/Supervisor.html
@@ -69,6 +69,15 @@ defmodule Blog do
69
end
70
```
71
72
+If `Elixir < 1.5.0`:
73
+```elixir
74
+...
75
+ children = [
76
+ worker(Blog.Repo, [])
77
+ ]
78
79
+```
80
+
81
Run `mix ecto.create`. Verify that the SQLite database has been created at `blog.sqlite3` or wherever you have configured your database to be written.
82
83
## Ecto Models
0 commit comments