mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 04:39:20 +00:00
16 lines
302 B
JavaScript
16 lines
302 B
JavaScript
"use strict";
|
|
|
|
module.exports = {
|
|
up: (queryInterface, Sequelize) => {
|
|
return queryInterface.addColumn("Contacts", "email", {
|
|
type: Sequelize.STRING,
|
|
allowNull: false,
|
|
defaultValue: "",
|
|
});
|
|
},
|
|
|
|
down: queryInterface => {
|
|
return queryInterface.removeColumn("Contacts", "email");
|
|
},
|
|
};
|