mirror of https://github.com/dexidp/dex.git
Browse Source
go-oidc increased the size of the generated keys, which were too large to be used as primary keys in postgres.pull/250/head
5 changed files with 35 additions and 52 deletions
@ -0,0 +1,5 @@ |
|||||||
|
-- +migrate Up |
||||||
|
ALTER TABLE key ADD COLUMN tmp_value bytea; |
||||||
|
UPDATE KEY SET tmp_value = value; |
||||||
|
ALTER TABLE key DROP COLUMN value; |
||||||
|
ALTER TABLE key RENAME COLUMN "tmp_value" to "value"; |
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue