const Sequelize = require('sequelize');
const sequelize = require('../assets/utils/database');
module.exports = sequelize.define('function', {
title: {
type: Sequelize.STRING,
allowNull: false,
},
slug: {
description: {
allowNull: false
image: {
defaultValue: "/images/functions/default.png"
type: {
article: {
type: Sequelize.TEXT,
allowNull: true
utilizationForm: {
isOnline: {
type: Sequelize.BOOLEAN,
defaultValue: 0
}
});