[PR #2460] [MERGED] Fix migration from pre-v15 to 1.2.0 #16409

Closed
opened 2025-11-02 12:09:56 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2460
Author: @lafriks
Created: 9/4/2017
Status: Merged
Merged: 9/5/2017
Merged by: @lunny

Base: masterHead: fix_migration_from_old_versions


📝 Commits (1)

  • 56c31bf Fix migration from pre-v15 to 1.2.0

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 models/migrations/v15.go (+1 -0)

📄 Description

Otherwise when upgrading from either gogs or pre migration v15 it will fail in later steps when selecting from users table with error that user table does not have column keep_email_private

Fixes #2206 and #2437


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2460 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 9/4/2017 **Status:** ✅ Merged **Merged:** 9/5/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix_migration_from_old_versions` --- ### 📝 Commits (1) - [`56c31bf`](https://github.com/go-gitea/gitea/commit/56c31bfa4a5220ad3fd5f031b6e04c49f867262a) Fix migration from pre-v15 to 1.2.0 ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `models/migrations/v15.go` (+1 -0) </details> ### 📄 Description Otherwise when upgrading from either gogs or pre migration v15 it will fail in later steps when selecting from users table with error that `user` table does not have column `keep_email_private` Fixes #2206 and #2437 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:09:56 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16409