You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During an update from 1.1.2 to 1.11.0, the v111 migration failed because no enable_whitelist was present in my protected_branch table.
I looked through migration files but couldn't find the addition of that column to the table, and the migration ProtectedBranch struct has no related field either. I had to add that column manually on my SQLite database : alter table protected_branch add column enable_whitelist boolean NOT NULL DEFAULT false;
Not sure if this is related to my gitea installation somehow (which came from the beginning of gogs years go, then gitea etc).
The text was updated successfully, but these errors were encountered:
enable_whitelist has existed for 2 years, since version 1.3.0. It seem to be correct that a migration step for it was missing. It has been some discussion on not supporting direct upgrade from very old installations (maybe that is for 1.12).
Wow, I didn't realize my installation was that old. I was on the verge to suggest adding this to the documentation, but realized it is already there under the misleading "From gogs" section.
It might be a good idea to create another section on that documentation. I didn't check that page because I was coming from an old version of gitea, not gogs :)
Description
During an update from 1.1.2 to 1.11.0, the v111 migration failed because no
enable_whitelist
was present in myprotected_branch
table.I looked through migration files but couldn't find the addition of that column to the table, and the migration
ProtectedBranch
struct has no related field either. I had to add that column manually on my SQLite database :alter table protected_branch add column enable_whitelist boolean NOT NULL DEFAULT false;
Not sure if this is related to my gitea installation somehow (which came from the beginning of gogs years go, then gitea etc).
The text was updated successfully, but these errors were encountered: