CAPEv2 icon indicating copy to clipboard operation
CAPEv2 copied to clipboard

Update database.py so that the sample database will use bigint for fi…

Open markykchua opened this issue 6 months ago • 2 comments

…le_size.

For users that have an existing database when upgrading CAPEv2, you need to alter the database schema before the upgrade:

ALTER TABLE samples ALTER COLUMN file_size TYPE BIGINT;

And restart the related services.

markykchua avatar May 20 '25 14:05 markykchua

hello thank you, the fix is partial, we need alembic migration to properly make users aware of it, we can't just hope that they will check readme. i will implement it once im back in june

doomedraven avatar May 25 '25 02:05 doomedraven

hello thank you, the fix is partial, we need alembic migration to properly make users aware of it, we can't just hope that they will check readme. i will implement it once im back in june

perfect, thanks a lot!

markykchua avatar May 26 '25 13:05 markykchua

this is now addressed in upcoming database modernization/cleanup in staging branch, thanks for headups

doomedraven avatar Jul 10 '25 20:07 doomedraven