[PR #2677] [MERGED] Backport of migration fixes (#2604) #16536

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2677
Author: @daviian
Created: 10/8/2017
Status: Merged
Merged: 10/9/2017
Merged by: @lafriks

Base: release/v1.2Head: backport/migrations


📝 Commits (3)

  • 33685d4 Rewrite migrations to not depend on future code changes (#2604)
  • 2fb3ef8 replace deprecated .Id with .ID
  • 3559d28 change string map to interface map

📊 Changes

4 files changed (+20 additions, -23 deletions)

View changed files

📝 models/migrations/v15.go (+7 -13)
📝 models/migrations/v16.go (+4 -4)
📝 models/migrations/v37.go (+8 -5)
📝 models/migrations/v38.go (+1 -1)

📄 Description

Backport of #2604


🔄 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/2677 **Author:** [@daviian](https://github.com/daviian) **Created:** 10/8/2017 **Status:** ✅ Merged **Merged:** 10/9/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `release/v1.2` ← **Head:** `backport/migrations` --- ### 📝 Commits (3) - [`33685d4`](https://github.com/go-gitea/gitea/commit/33685d4596bfb3dd87c67178f7410bf3a1cbbb31) Rewrite migrations to not depend on future code changes (#2604) - [`2fb3ef8`](https://github.com/go-gitea/gitea/commit/2fb3ef836e323a2612ba4d065a5755af8dfec6bd) replace deprecated .Id with .ID - [`3559d28`](https://github.com/go-gitea/gitea/commit/3559d28fa67be7755f37628289395f250e75d223) change string map to interface map ### 📊 Changes **4 files changed** (+20 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `models/migrations/v15.go` (+7 -13) 📝 `models/migrations/v16.go` (+4 -4) 📝 `models/migrations/v37.go` (+8 -5) 📝 `models/migrations/v38.go` (+1 -1) </details> ### 📄 Description Backport of #2604 --- <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:12:54 -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#16536