forked from forgejo/forgejo
[DB] forgejo migration v1: add blocked user migration
(cherry picked from commit66afddd511
) (cherry picked from commit19da0dee9d
) (cherry picked from commit0b725af693
) (cherry picked from commit64d4de2b66
) (cherry picked from commit05bc9d3b7f
) (cherry picked from commit5958553066
) (cherry picked from commitc4f77e26c9
) (cherry picked from commit3034832c66
) (cherry picked from commitd48931ec5b
) (cherry picked from commitb1e0d53c28
) (cherry picked from commite3de35fe15
) (cherry picked from commit3b2712c3d6
) (cherry picked from commit00c6940851
) (cherry picked from commitac56c7a202
) (cherry picked from commitd957fb66de
) (cherry picked from commit01e9125f1b
) (cherry picked from commit71675caecb
) (cherry picked from commit0313d02e50
) (cherry picked from commitd2952769c1
)
This commit is contained in:
parent
4b000cb435
commit
63d080cdcf
2 changed files with 23 additions and 0 deletions
|
@ -36,6 +36,8 @@ func NewMigration(desc string, fn func(*xorm.Engine) error) *Migration {
|
|||
// This is a sequence of additional Forgejo migrations.
|
||||
// Add new migrations to the bottom of the list.
|
||||
var migrations = []*Migration{
|
||||
// v0 -> v1
|
||||
NewMigration("Add Forgejo Blocked Users table", forgejo_v1_20.AddForgejoBlockedUser),
|
||||
// v1 -> v2
|
||||
NewMigration("create the forgejo_sem_ver table", forgejo_v1_20.CreateSemVerTable),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue