mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-07 01:32:06 +00:00
[GITEA] rework long-term authentication (squash) add migration
Reminder: the migration is run via integration tests as explained
in the commit "[DB] run all Forgejo migrations in integration tests"
(cherry picked from commit 4accf7443c
)
This commit is contained in:
parent
51988ef52b
commit
e58e7bf088
2 changed files with 27 additions and 0 deletions
|
@ -40,6 +40,8 @@ var migrations = []*Migration{
|
|||
NewMigration("Add Forgejo Blocked Users table", forgejo_v1_20.AddForgejoBlockedUser),
|
||||
// v2 -> v3
|
||||
NewMigration("create the forgejo_sem_ver table", forgejo_v1_20.CreateSemVerTable),
|
||||
// v2 -> v3
|
||||
NewMigration("create the forgejo_auth_token table", forgejo_v1_20.CreateAuthorizationTokenTable),
|
||||
}
|
||||
|
||||
// GetCurrentDBVersion returns the current Forgejo database version.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue