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
KN4CK3R 7866a6e0e2
Prevent primary key update on migration (#26192)
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
2 years ago
..
main_test.go Redesign Scoped Access Tokens (#24767) 2 years ago
v244.go
v245.go Add user webhooks (#21563) 2 years ago
v246.go Fix missed migration in #22235 (#23482) 2 years ago
v247.go Do not store user projects as organization projects (#23353) 2 years ago
v248.go Display the version of runner in the runner list (#23490) 2 years ago
v249.go Improve indices for `action` table (#23532) 2 years ago
v250.go Prevent primary key update on migration (#26192) 2 years ago
v251.go Fix owner team access mode value in team_unit table (#23675) 2 years ago
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