Colubrina/backend/migrations/20220516080621-userFonts.js
2022-07-29 19:04:37 +10:00

20 lines
403 B
JavaScript

"use strict"
module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.addColumn("Users", "font", {
type: Sequelize.STRING,
defaultValue: "Inter",
allowNull: false
})
},
down: async (queryInterface, Sequelize) => {
/**
* Add reverting commands here.
*
* Example:
* await queryInterface.dropTable('users');
*/
}
}