v180 migration references models #7464

Closed
opened 2025-11-02 07:26:32 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @zeripath on GitHub (Jun 14, 2021).

5d113bdd19/models/migrations/v180.go (L8)

5d113bdd19/models/migrations/v180.go (L32)

No migrations should ever reference models.

Originally created by @zeripath on GitHub (Jun 14, 2021). https://github.com/go-gitea/gitea/blob/5d113bdd1905c73fb8071f420ae2d248202971f9/models/migrations/v180.go#L8 https://github.com/go-gitea/gitea/blob/5d113bdd1905c73fb8071f420ae2d248202971f9/models/migrations/v180.go#L32 No migrations should ever reference models.
GiteaMirror added the type/bug label 2025-11-02 07:26:32 -06:00
Author
Owner

@zeripath commented on GitHub (Jun 14, 2021):

agh and it references struct and base too.

None of these should be being referenced in a migration

@zeripath commented on GitHub (Jun 14, 2021): agh and it references struct and base too. None of these should be being referenced in a migration
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7464