diff options
author | 6543 <6543@obermui.de> | 2020-10-13 02:01:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 20:01:57 -0400 |
commit | f4ffe8ed54cc49b8c0ca20a8aa1db6732f39a8a0 (patch) | |
tree | d731013c3489f8deda0a2c81ad4455249e9793c4 /models/migrations/migrations.go | |
parent | f2858600af811c584c82b45efbf343b53821575b (diff) | |
download | gitea-f4ffe8ed54cc49b8c0ca20a8aa1db6732f39a8a0.tar.gz gitea-f4ffe8ed54cc49b8c0ca20a8aa1db6732f39a8a0.zip |
Save TimeStamps for Star, Label, Follow, Watch and Collaboration to Database (#13124)
* Add timestamps to Star, Label, LanguageStat, Follow, Watch and Collaboration
* Star do not need updated
* LanguageStat do not need update (they wont change)
* fix unit-test
Diffstat (limited to 'models/migrations/migrations.go')
-rw-r--r-- | models/migrations/migrations.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go index c63e02f314..999fe622d7 100644 --- a/models/migrations/migrations.go +++ b/models/migrations/migrations.go @@ -242,6 +242,8 @@ var migrations = []Migration{ NewMigration("add TrustModel field to Repository", addTrustModelToRepository), // v153 > v154 NewMigration("add Team review request support", addTeamReviewRequestSupport), + // v154 > v155 + NewMigration("add timestamps to Star, Label, Follow, Watch and Collaboration", addTimeStamps), } // GetCurrentDBVersion returns the current db version |