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