From 59d82d6c68ae3e75c3a4d9408238c44640e587db Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 31 Mar 2017 15:14:12 +0200 Subject: regenerate model from releases/2.0.0 db schema --- models/hero_core_stats.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'models/hero_core_stats.js') diff --git a/models/hero_core_stats.js b/models/hero_core_stats.js index 1accc6a..bc709af 100644 --- a/models/hero_core_stats.js +++ b/models/hero_core_stats.js @@ -16,7 +16,7 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.TIME, allowNull: true }, - patch_version: { + series: { type: DataTypes.STRING(191), allowNull: false }, @@ -61,6 +61,9 @@ module.exports = function(sequelize, DataTypes) { allowNull: false } }, { - tableName: 'hero_core_stats' + tableName: 'hero_core_stats', + timestamps: false, + underscored: true, + freezeTableName: true }); }; -- cgit v1.3.1