summaryrefslogtreecommitdiffstats
path: root/modules/migration/review.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/migration/review.go')
-rw-r--r--modules/migration/review.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/migration/review.go b/modules/migration/review.go
index 85795385e9..e4db33d98f 100644
--- a/modules/migration/review.go
+++ b/modules/migration/review.go
@@ -6,6 +6,12 @@ package migration
import "time"
+// Reviewable can be reviewed
+type Reviewable interface {
+ GetLocalIndex() int64
+ GetForeignIndex() int64
+}
+
// enumerate all review states
const (
ReviewStatePending = "PENDING"