Create activity for users #953

Closed
opened 2025-04-29 22:31:42 +02:00 by philipp · 1 comment
Owner
  • add db table
  • fill table :-)

activity

  • id
  • created_at
  • text
  • relevant_for -- e.g. user_id=123;trip_id=456
  • keep_until DATETIME OPTIONAL
- [x] add db table - [x] fill table :-) --- activity - id - created_at - text - relevant_for -- e.g. `user_id=123;trip_id=456` - keep_until DATETIME OPTIONAL
philipp added this to the Deployed single user edit page `/admin/user/<id>` milestone 2025-04-29 22:31:42 +02:00
Author
Owner

Open question: Do I only want to have a (single) user_id? What if user A updates user B -> don't I want to show this in both user A and user B?

What about event/trips/boat damages/reservations/...? Don't they all deserve a activity/history?

-> I think I want tags. Instead of the user_id a field relevant_for where different things can add strings (e.g. user_id=123;). Then I don't have to touch the db for every new table.

Open question: Do I only want to have a (single) user_id? What if user A updates user B -> don't I want to show this in both user A _and_ user B? What about event/trips/boat damages/reservations/...? Don't they all deserve a activity/history? -> I think I want tags. Instead of the `user_id` a field `relevant_for` where different things can add strings (e.g. `user_id=123;`). Then I don't have to touch the db for every new table.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Ruderverein-Donau-Linz/rowt#953
No description provided.