Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add null: false to @primary_key #42

Open
sl1depengwyn opened this issue Feb 8, 2024 · 1 comment
Open

Can't add null: false to @primary_key #42

sl1depengwyn opened this issue Feb 8, 2024 · 1 comment

Comments

@sl1depengwyn
Copy link

** (ArgumentError) invalid option :null for field/3
    (ecto 3.11.1) lib/ecto/schema.ex:2379: Ecto.Schema.check_options!/3
    (ecto 3.11.1) lib/ecto/schema.ex:2017: Ecto.Schema.__field__/4
    lib/explorer/chain/address/name.ex:22: (module)

If more details are needed feel free to request it

@bamorim
Copy link
Owner

bamorim commented Feb 10, 2024

I'm afraid that would have to be implemented as an option on the typed_schema and typed_embedded_schema functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants