Troubleshooting mix ash.codegen creates wrong foreign key type

Hi,

in all my Ash.Resources I define the primary key as follows

attributes do
  integer_primary_key(:id)
  attribute ...

If I run mix ash.codegen <some_name> all migrations where build, but with a uuid foreign key for all defined relations.

Is this a default? Do I have to define the type of the foreign key myself?

Thanks