Skip to content

Commit

Permalink
fix: Increase integration OAuth2 access token size
Browse files Browse the repository at this point in the history
Azure DevOps was running into our size limit.
  • Loading branch information
Dschoordsch committed Feb 18, 2025
1 parent 5e2eeb6 commit e03fb24
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type {Kysely} from 'kysely'

export async function up(db: Kysely<any>): Promise<void> {
await db.schema
.alterTable('TeamMemberIntegrationAuth')
.alterColumn('accessToken', (ac) => ac.setDataType('varchar(8192)'))
.execute()
}

export async function down(db: Kysely<any>): Promise<void> {
await db.schema
.alterTable('TeamMemberIntegrationAuth')
.alterColumn('accessToken', (ac) => ac.setDataType('varchar(2056)'))
.execute()
}

0 comments on commit e03fb24

Please sign in to comment.