You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/migrations/v1_20
Giteabot ecfbcced46
Prevent primary key update on migration (#26192) (#26199)
Backport #26192 by @KN4CK3R

Fixes #25918

The migration fails on MSSQL because xorm tries to update the primary
key column. xorm prevents this if the column is marked as auto
increment:

c622cdaf89/internal/statements/update.go (L38-L40)

I think it would be better if xorm would check for primary key columns
here because updating such columns is bad practice. It looks like if
that auto increment check should do the same.

fyi @lunny

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2 years ago
..
main_test.go Redesign Scoped Access Tokens (#24767) 2 years ago
v244.go
v245.go
v246.go
v247.go
v248.go
v249.go
v250.go Prevent primary key update on migration (#26192) (#26199) 2 years ago
v251.go
v252.go Fix admin team access mode value in team_unit table (#24012) 2 years ago
v253.go Add migration to fix external unit access mode of owner/admin team (#24117) 2 years ago
v254.go Support upload `outputs` and use `needs` context on Actions (#24230) 2 years ago
v255.go Display when a repo was archived (#22664) 2 years ago
v256.go Add Debian package registry (#24426) 2 years ago
v257.go Implement actions artifacts (#22738) 2 years ago
v258.go Add the ability to pin Issues (#24406) 2 years ago
v259.go Redesign Scoped Access Tokens (#24767) 2 years ago
v259_test.go Redesign Scoped Access Tokens (#24767) 2 years ago