Skip to content

Commit

Permalink
fix: change datatypes of scopes to TEXT (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebenayoun authored Jan 17, 2024
1 parent 6dd7a29 commit 1803ad4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bolt-sequelize/src/SlackAppInstallation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ export default class SlackAppInstallation extends Model {
botToken: { type: DataTypes.STRING, allowNull: true },
botId: { type: DataTypes.STRING, allowNull: true },
botUserId: { type: DataTypes.STRING, allowNull: true },
botScopes: { type: DataTypes.STRING, allowNull: true },
botScopes: { type: DataTypes.TEXT('medium'), allowNull: true },
botRefreshToken: { type: DataTypes.STRING, allowNull: true },
botTokenExpiresAt: { type: DataTypes.DATE, allowNull: true },
userId: { type: DataTypes.STRING, allowNull: false },
userToken: { type: DataTypes.STRING, allowNull: true },
userScopes: { type: DataTypes.STRING, allowNull: true },
userScopes: { type: DataTypes.TEXT('medium'), allowNull: true },
userRefreshToken: { type: DataTypes.STRING, allowNull: true },
userTokenExpiresAt: { type: DataTypes.DATE, allowNull: true },
incomingWebhookUrl: { type: DataTypes.STRING, allowNull: true },
Expand Down

0 comments on commit 1803ad4

Please sign in to comment.