Alteração para permitir mais de 255 caracteres

adriano 2023-10-05 14:39:47 -03:00
parent bfad9fc0b2
commit 088274cafd
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
import { QueryInterface, DataTypes } from "sequelize";
module.exports = {
up: (queryInterface: QueryInterface) => {
return queryInterface.changeColumn("SettingTickets", "message", {
type: DataTypes.STRING(3000),
allowNull: true
});
},
down: (queryInterface: QueryInterface) => {
return queryInterface.changeColumn("SettingTickets", "message", {
type: DataTypes.STRING,
allowNull: true
});
}
};