1 parent c256dc9 commit ac18bcdCopy full SHA for ac18bcd
1 file changed
README.md
@@ -42,7 +42,7 @@ end
42
Large objects are referenced by object IDs, modelled using the `oid` type in
43
PostgreSQL. `Ecto.Migration` has support for this type built-in, e.g.
44
45
-```
+```elixir
46
defmodule MyApp.Repo.Migrations.CreateUploadsTable do
47
use Ecto.Migration
48
@@ -59,8 +59,8 @@ end
59
60
In the Ecto schema, use plain `:integer` fields for object IDs:
61
62
63
-defmodue MyApp.Upload do
+defmodule MyApp.Upload do
64
use Ecto.Schema
65
66
schema "uploads" do
0 commit comments