Start recording last rev for each repo
This commit is contained in:
parent
85259baa1c
commit
9c51a4621f
2 changed files with 9 additions and 0 deletions
|
@ -22,6 +22,7 @@ type Repo struct {
|
|||
DID string `gorm:"uniqueIndex;column:did"`
|
||||
LastIndexedRev string `gorm:"index:rev_state_index,expression:(last_indexed_rev < first_rev_since_reset),priority:1;index:was_indexed,expression:(last_indexed_rev is null OR last_indexed_rev = ''),priority:1"`
|
||||
FirstRevSinceReset string
|
||||
LastFirehoseRev string
|
||||
FirstCursorSinceReset int64
|
||||
TombstonedAt time.Time
|
||||
LastIndexAttempt time.Time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue