ZennerIoT / ex_audit

Ecto auditing library that transparently tracks changes and can revert them.
MIT License
368 stars 110 forks source link

Use bigint type for entity_id in the create_version_table.exs example #108

Open stefanluptak opened 1 year ago

stefanluptak commented 1 year ago

Since the id column created by default by Ecto is not an integer but a bigint, it should be the same way in the example to prevent confusion and problems.

The field definition in the schema itself should still be integer, only the migration type is changed.