tangled
alpha
login
or
join now
bnewbold.net
/
scrumble
2
fork
atom
this repo has no description
2
fork
atom
overview
issues
pulls
pipelines
models: fix dupe idx
bnewbold.net
1 month ago
9057eccb
a1a151ff
+4
-4
1 changed file
expand all
collapse all
unified
split
store
models.go
+4
-4
store/models.go
···
86
86
RKey string `gorm:"column:rkey;primarykey;not null" json:"rkey"`
87
87
88
88
Version string `gorm:"column:version" json:"version"`
89
89
-
ItemAccountDID string `gorm:"column:item_account_did;not null;index:idx_comment_item" json:"item_account_did"`
90
90
-
ItemRKey string `gorm:"column:item_rkey;not null;index:idx_comment_item" json:"item_rkey"`
89
89
+
ItemAccountDID string `gorm:"column:item_account_did;not null;index:idx_feedback_item" json:"item_account_did"`
90
90
+
ItemRKey string `gorm:"column:item_rkey;not null;index:idx_feedback_item" json:"item_rkey"`
91
91
Value bool `gorm:"column:value;not null" json:"value"`
92
92
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
93
93
}
···
102
102
RKey string `gorm:"column:rkey;primarykey;not null" json:"rkey"`
103
103
104
104
Version string `gorm:"column:version" json:"version"`
105
105
-
ItemAccountDID string `gorm:"column:item_account_did;not null;index:idx_comment_item" json:"item_account_did"`
106
106
-
ItemRKey string `gorm:"column:item_rkey;not null;index:idx_comment_item" json:"item_rkey"`
105
105
+
ItemAccountDID string `gorm:"column:item_account_did;not null;index:idx_reaction_item" json:"item_account_did"`
106
106
+
ItemRKey string `gorm:"column:item_rkey;not null;index:idx_reaction_item" json:"item_rkey"`
107
107
Emoji string `gorm:"column:emoji;not null" json:"emoji"`
108
108
}
109
109