const Sequelize = require('sequelize');
const sequelize = require('../assets/utils/database');
module.exports = sequelize.define('user', {
name: {
type: Sequelize.STRING,
allowNull: false,
},
email: {
password: {
biography: {
type: Sequelize.TEXT,
defaultValue: ""
logo: {
defaultValue: "/images/users/default.png"
isConfirmed: {
type: Sequelize.BOOLEAN,
defaultValue: false
isPublicEmail: {
isAdmin: {
tempToken: {
allowNull: true
tempExpirationToken: {
type: Sequelize.DATE,
}
});