nus-mtp/attack-on-tutor

View on GitHub
models/userAvatar.js

Summary

Maintainability
A
0 mins
Test Coverage
"use strict";

var models = require('./');

module.exports = function (sequelize, DataTypes) {

    var userAvatar = sequelize.define('userAvatar', {
        // userId: {
        //     type: DataTypes.STRING,
        //     references: {
        //         model: models.User,
        //         key: 'id'
        //     }
        // },
        // avatarId: {
        //     type: DataTypes.STRING,
        //     references: {
        //         model: models.Avatar,
        //         key: 'id'
        //     }
        // }
    });

    return userAvatar;

}