Media
This is the model we are going to use to associate the files to items. The idea is to have this data in a few locations just in case because the previous system if this information was lost from the item it was not recoverable.
Previous System
- saves the archival path
- does not save a relation back to the item
- saves json in the item json for the file path and information
New System
- saves the file to a archival path and working path, only using the working path for the modifications to the file.
- save based on the UUID as in the previous system, but keep this information all located in an active record model
- save the item id in the media model so that there is another way to find it.
- create a returnable method for the paths and create a to json method that gathers all the information for the items submission.
Database
Methods
Media
This is the model we are going to use to associate the files to items. The idea is to have this data in a few locations just in case because the previous system if this information was lost from the item it was not recoverable.
Previous System
New System
Database
Methods