summaryrefslogtreecommitdiffstats
path: root/models/migrations/v14.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v14.go')
-rw-r--r--models/migrations/v14.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/migrations/v14.go b/models/migrations/v14.go
index 0cdcf1005f..12ae6290b1 100644
--- a/models/migrations/v14.go
+++ b/models/migrations/v14.go
@@ -23,10 +23,12 @@ func setCommentUpdatedWithCreated(x *xorm.Engine) (err error) {
return nil
}
+// UserV14 describes the added fields for migrating from v13 -> v14
type UserV14 struct {
DiffViewStyle string `xorm:"NOT NULL DEFAULT ''"`
}
+// TableName will be invoked by XORM to customrize the table name
func (*UserV14) TableName() string {
return "user"
}