diff --git a/packages/bolt-sequelize/src/SlackAppInstallation.ts b/packages/bolt-sequelize/src/SlackAppInstallation.ts index 7af7c72..d2d4902 100644 --- a/packages/bolt-sequelize/src/SlackAppInstallation.ts +++ b/packages/bolt-sequelize/src/SlackAppInstallation.ts @@ -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 },