b310-digital / teammapper

Mindmapping made simple: Host and create your own mindmaps. Share your mindmap sessions with your team and collaborate on mindmaps.
https://teammapper.org
MIT License
202 stars 16 forks source link

Add lastAccessed field to map table #296

Open sorenjohanson opened 2 weeks ago

sorenjohanson commented 2 weeks ago

closes #286

JannikStreek commented 2 weeks ago

Please don't forget to generate the migration file for this, see https://github.com/b310-digital/teammapper/blob/main/teammapper-backend/README.md.

JannikStreek commented 2 weeks ago

please also add the use of this field to the delete handler in the service (deleteOutdatedMaps), so that we use the lastAccessed field on map as a default and as a backup the lastModified field (existing logic). We can also do this in a new PR?

sorenjohanson commented 2 weeks ago

please also add the use of this field to the delete handler in the service (deleteOutdatedMaps), so that we use the lastAccessed field on map as a default and as a backup the lastModified field (existing logic). We can also do this in a new PR?

I'm working on that right now, it's just that I need to restructure the queries a bit to work with the new field, so it'll take some time.