We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 223114d commit 9c680a0Copy full SHA for 9c680a0
web/models/comment.ex
@@ -9,7 +9,7 @@ defmodule BlogPhoenix.Comment do
9
timestamps
10
end
11
12
- @required_fields ~w(name content)
+ @required_fields ~w(name content post_id)
13
@optional_fields ~w()
14
15
@doc """
0 commit comments