diff options
author | Robin Boers | 2021-12-26 13:27:28 +0100 |
---|---|---|
committer | Robin Boers | 2021-12-26 13:27:28 +0100 |
commit | 9ac8260ea211fd2047c7b661c75424f70bfadc30 (patch) | |
tree | e8fa27b745962315491842c331ca94f45408932c | |
parent | 2d28df014a622042505636739b83447f26b7fe75 (diff) |
ID for NinDB.Source is an integer now
-rw-r--r-- | lib/nindb/schemas/source.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nindb/schemas/source.ex b/lib/nindb/schemas/source.ex index 38945d0..fd1f200 100644 --- a/lib/nindb/schemas/source.ex +++ b/lib/nindb/schemas/source.ex | |||
@@ -4,7 +4,7 @@ defmodule NinDB.Source do | |||
4 | 4 | ||
5 | @primary_key false | 5 | @primary_key false |
6 | embedded_schema do | 6 | embedded_schema do |
7 | field :id, :string, default: nil #only here because Phoenix requires it in params | 7 | field :id, :integer, default: nil # only here because Phoenix requires it in params |
8 | field :feed, :string | 8 | field :feed, :string |
9 | field :icon, :string, default: "/icons/rss.png" | 9 | field :icon, :string, default: "/icons/rss.png" |
10 | field :title, :string | 10 | field :title, :string |