mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-01 18:41:58 +00:00
4fd8a1ef42
After update to latest version gitea and use oauth, gitea returns long token in my case it was >800 characters. DB schema of the table has varchar(500), I updated it to varchar(1000) to solve the problem. * Fix length for gitea token/secret
5 lines
182 B
SQL
5 lines
182 B
SQL
-- name: update-table-set-users-token-and-secret-length
|
|
|
|
ALTER TABLE users ALTER COLUMN user_token TYPE varchar(1000);
|
|
ALTER TABLE users ALTER COLUMN user_secret TYPE varchar(1000);
|