I am trying to add the option “null” to the macro field but it says I can not:
ArgumentError) invalid option :null for field/3
Stacktrace:
│ (ecto 3.8.4) lib/ecto/schema.ex:2208: Ecto.Schema.check_options!/3
│ (ecto 3.8.4) lib/ecto/schema.ex:1917: Ecto.Schema.field/4
│ lib/spent_control/spends/spend_type.ex:6: (module)
│ (stdlib 3.14) erl_eval.erl:680: :erl_eval.do_apply/6
please advise.