UNPKG

@speakr/speakr-module-services

Version:
27 lines (25 loc) 492 B
module.exports = function(sequelize, DataTypes) { let tones = sequelize.define('tones', { id: { type: DataTypes.INTEGER, allowNull: false, primaryKey: true, autoIncrement: true }, name: { type: DataTypes.STRING, allowNull: true }, created_at: { type: DataTypes.DATE, allowNull: false }, updated_at: { type: DataTypes.DATE, allowNull: false } }, { tableName: 'tones' }); return tones; };