Files
wedding/src/data/models/UserProfile.js
2017-02-10 00:33:25 +00:00

34 lines
476 B
JavaScript

import DataType from 'sequelize';
import Model from '../sequelize';
const UserProfile = Model.define('UserProfile', {
userId: {
type: DataType.UUID,
primaryKey: true,
},
displayName: {
type: DataType.STRING(100),
},
picture: {
type: DataType.STRING(255),
},
gender: {
type: DataType.STRING(50),
},
location: {
type: DataType.STRING(100),
},
website: {
type: DataType.STRING(255),
},
});
export default UserProfile;