ljvillanueva / pumilio

Pumilio: A Web-Based Management System for Ecological Recordings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in database creates problems when adding files

villanueval opened this issue · comments

For some reason, one of the updates in upgrade_pumilio21.sql was not applied, the lines:

ALTER TABLE `FilesToAddMembers`  ADD `TimeStamp` TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP;

UPDATE `FilesToAddMembers` SET `TimeStamp`=NOW();

This caused problems later when the code could not find these columns.

To do: investigate if the same has happened elsewhere and write a script to check that all updates have been applied.

Luis, is this concern the fact that when we add some files to the database, some might be replicated?