[PR #2602] [MERGED] v38 migration used an outdated version of RepoUnit model #16499

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

📋 Pull Request Information

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

Base: release/v1.2Head: bugfix/v38-migration


📝 Commits (4)

  • 9ebf323 change repoUnit model in migration
  • 683b8af fix v16 migration repo_unit table
  • 56ad803 fix lint error
  • 7e2c593 move type definition inside function

📊 Changes

2 files changed (+32 additions, -18 deletions)

View changed files

📝 models/migrations/v16.go (+18 -18)
📝 models/migrations/v38.go (+14 -0)

📄 Description

v38 migration used an old version of RepoUnit.
Changed to current RepoUnit model


🔄 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/2602 **Author:** [@daviian](https://github.com/daviian) **Created:** 9/25/2017 **Status:** ✅ Merged **Merged:** 9/25/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `release/v1.2` ← **Head:** `bugfix/v38-migration` --- ### 📝 Commits (4) - [`9ebf323`](https://github.com/go-gitea/gitea/commit/9ebf323311d25d628c760ef4eda71468f9aa7b8c) change repoUnit model in migration - [`683b8af`](https://github.com/go-gitea/gitea/commit/683b8afd95b7382f1ad38e48be1e3adb8dae41d6) fix v16 migration repo_unit table - [`56ad803`](https://github.com/go-gitea/gitea/commit/56ad8032398afa4947a05b506358ca78dfee2cb4) fix lint error - [`7e2c593`](https://github.com/go-gitea/gitea/commit/7e2c5934093378cf909080c5794014cfb5084b53) move type definition inside function ### 📊 Changes **2 files changed** (+32 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `models/migrations/v16.go` (+18 -18) 📝 `models/migrations/v38.go` (+14 -0) </details> ### 📄 Description v38 migration used an old version of RepoUnit. Changed to current RepoUnit model --- <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:03 -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#16499