primary_key in db from sources

its not much but for now, when I get a primary key for a file, I always have the manual step of modifying the table afterwards.

Sorry to not take part more, my project is taking all my time recently!