- Fixed bad SQL for creating sql enum types - Noted more relations, mostly x to media
This commit is contained in:
parent
484bb95820
commit
8ffd6d0050
4 changed files with 20 additions and 15 deletions
|
@ -22,7 +22,7 @@ type Note struct {
|
|||
// Soft delete means that this entry still exists in the db, but gorm won't include it anymore unless specifically told to
|
||||
// If not null, this entry is marked as deleted
|
||||
DeletedAt gorm.DeletedAt `gorm:"index"`
|
||||
// Creator Account // `gorm:"foreignKey:CreatorId;references:ID"` // Account that created the post
|
||||
Creator User
|
||||
CreatorId string
|
||||
Remote bool // Whether the note is originally a remote one and just "cached"
|
||||
// Raw content of the note. So without additional formatting applied
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue