UNPKG

@speakr/speakr-module-services

Version:
20 lines (16 loc) 349 B
'use strict'; let _ = require('underscore'); module.exports = function(sequelize, DataTypes) { let notifications = sequelize.define('notifications', { type: { type: DataTypes.STRING, allowNull: false }, influencer_id: { type: DataTypes.INTEGER } }, { underscored: true }); return notifications; };