OpenTechStrategies / torque

A flexible web-based open source system for collaboratively evaluating proposals.
1 stars 2 forks source link

Update Attachments in globalview/postgres branch to link to other objects, fix redeploy #46

Closed frankduncan closed 3 years ago

frankduncan commented 3 years ago

Currently attachments link to a column/row via the permissions_column/object-id fields, which are TextFields. Replacing this with a connection to Column/Row objects would make things cleaner.

As part of this, changing the upload attachment code to only add these new Attachments if an attachment for a given name/row/column does not already exist.

This really is two issues in one, but can be handled in one fix.