swiss
10/25/2021, 8:29 PMAction {
id: string
name: string
status: string
}
Log {
startTime: date
stopTime: date
action: ActionId (relation to Action)
}
I want a user to see a list of tasks and, separately, an activity log. Unfortunately, I'm restricted from deleting actions (I get a violates foreign key constraint
error) until I've deleted all logs that have a foreign key of that actions ID, which I don't want to do because just because a user deletes an action doesn't mean I want it to disappear from the activity log. What are some approaches/solution to this problem? Appreciate any help 🙂garyaustin
10/25/2021, 9:01 PMsilentworks
10/25/2021, 9:07 PMsilentworks
10/25/2021, 9:09 PMswiss
10/25/2021, 10:46 PM