Skip to content

Commit 13a2d34

Browse files
Update access-token.entity.ts
Changes `created_from` field type from `jsonb` to `json` to support mysql database
1 parent 05485c3 commit 13a2d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/domain/access-token.entity.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ export class AccessTokenEntity {
4545
@Column('timestamp', {name: 'created_on', nullable: false, default: () => 'now()'})
4646
createdAt: Date;
4747

48-
@Column({name: 'created_from', type: 'jsonb', nullable: true})
48+
@Column({name: 'created_from', type: 'json', nullable: true})
4949
createdFrom: OAuth2Request;
5050
}

0 commit comments

Comments
 (0)