const Sequelize = require('sequelize')
const sequelize = require('../assets/utils/database')
module.exports = sequelize.define('short_link', {
url: {
type: Sequelize.TEXT,
allowNull: false
},
shortcut: {
count: {
type: Sequelize.INTEGER,
allowNull: false,
defaultValue: 0
}
})