django-jaiminho icon indicating copy to clipboard operation
django-jaiminho copied to clipboard

Change event id to big int

Open antunesleo opened this issue 1 year ago • 1 comments

Description

Change event id to big int, increasing the id limit from 2147483647 to 9223372036854775807

Motivation and Context

Current event id is a integer field, which has a max value of 2147483647. When events table reach such limit, all new inserts to the table will fail. This can cause a catastrophic failure. 2B itens is not so difficult to reach, if a application stores 1M messages per day, this limit will be reach in 5 years.

How has this been tested?

covered by current unit and integrations tests

What is the current behavior?

no changes on behavior

What is the new behavior?

no changes on behavior

antunesleo avatar Jun 12 '23 13:06 antunesleo