We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7182f15 commit a62f783Copy full SHA for a62f783
lib/ecto_watch/watcher_server.ex
@@ -180,8 +180,8 @@ defmodule EctoWatch.WatcherServer do
180
match?({_, :inserted}, identifier) && column == state.options.schema_definition.primary_key ->
181
{:error, "Cannot subscribe to primary_key for inserted records"}
182
183
- column && not MapSet.member?(state.identifier_columns, column) ->
184
- {:error, "Column #{column} is not an association column"}
+# column && not MapSet.member?(state.identifier_columns, column) ->
+# {:error, "Column #{column} is not an association column"}
185
186
column && column != state.options.schema_definition.primary_key &&
187
column not in state.options.extra_columns ->
0 commit comments