From 308b1ac8dfac34d1da7182c58475566e04bf83a0 Mon Sep 17 00:00:00 2001 From: Leif Gensert Date: Sat, 2 Jun 2018 11:55:07 +0100 Subject: [PATCH] Fix README example schema Since Ecto 2.0 the model module doesn't exist anymore. Instead Ecto.Schema is used --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0962baa0..41b70215 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ defmodule Repo do end defmodule Weather do - use Ecto.Model + use Ecto.Schema schema "weather" do field :city # Defaults to type :string