Added isEnabled to the Link model

This commit is contained in:
2022-12-28 19:23:30 +01:00
parent b2fa2d30bc
commit baaa3adb99

View File

@ -36,6 +36,10 @@ module.exports = db.define("links", {
type: Sequelize.STRING, type: Sequelize.STRING,
allowNull: false allowNull: false
}, },
isEnabled: {
type: Sequelize.BOOLEAN,
defaultValue: true
},
domainName: { domainName: {
type: Sequelize.STRING, type: Sequelize.STRING,
allowNull: false allowNull: false