/* tslint:disable:quotemark */ // Defines Sequelize model for service `users`. (Can be re-generated.) import merge from 'lodash.merge'; import Sequelize, { DefineAttributes } from 'sequelize'; // tslint:disable-next-line:no-unused-variable const DataTypes = (Sequelize as any).DataTypes as Sequelize.DataTypes; // !code: imports // !end // !code: init // !end // Your model may need the following fields: // email: { type: DataTypes.STRING, allowNull: false, unique: true }, // password: { type: DataTypes.STRING, allowNull: false }, // auth0Id: { type: DataTypes.STRING }, // googleId: { type: DataTypes.STRING }, // facebookId: { type: DataTypes.STRING }, // githubId: { type: DataTypes.STRING }, let moduleExports = merge({}, // ! code: sequelize_model { id: { type: DataTypes.INTEGER, autoIncrement: true, primaryKey: true }, email: { type: DataTypes.TEXT, allowNull: false }, firstName: { type: DataTypes.TEXT, allowNull: false }, lastName: { type: DataTypes.TEXT, allowNull: false }, password: { type: DataTypes.TEXT }, roleId: { type: DataTypes.INTEGER, allowNull: false } } as DefineAttributes, // !end // !code: moduleExports // !end ); // !code: exports // !end export default moduleExports; // !code: funcs // !end // !code: end // !end