Open tbrittain opened 1 year ago
Nonessential, but it would offer a more customized UX
As part of this, deprecate the TeamLogoHistory tables. Instead, add a column to the TeamSeasonHistory table with a pointer to a file on disk. For the user image upload, process the image if desired, then copy it over to the app data dir and set up a directory structure that is something like /base app directory/files/logos/franchise ID/team ID/. Then store all the logos associated with that team in there, and add a pointer to the generated file name in the table column.
Then when we want to associate multiple team seasons with the same logo, just allow adding the same pointer to the single file for each season