Hmm, looks like the code:

`opts[:type] || Module.get_attribute(mod, :ecto_foreign_key_type) || :integer`

is required for this to work with inline `@queryable_defaults` (which don't `use` a defined module where defaults are defined). The `test/ecto/model/queryable_test.exs` file below shows an example of an inline declaration, which fails if we use the `@ecto_foreign_key_type` reference in the `entity.ex` code

Should we worry about this use case at all?