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