linstrom/storage-new/models/ActivitystreamsActivityToObject.go
mStar 12c9e17c4b
Some checks failed
/ docker (push) Failing after 2m57s
Lots of progress on public AP interface
- Read handler for create activities (notes only so far)
- Read handler for note objects
- Structure laid out for other objects, activities and collections
- DB structure for activities created
- Update access logging

TODO: Create collections type in DB to describe a collection group
2025-05-04 22:08:06 +02:00

8 lines
246 B
Go

package models
type ActivitystreamsActivity struct {
Id string `gorm:"primarykey"`
Type string `gorm:"type:activitystreams_activity_type"`
ObjectId string
ObjectType uint32 // Target type: ActivitystreamsActivityTargetType
}