summaryrefslogtreecommitdiff
path: root/models/hero_core_stats.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-03-31 15:14:12 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-03-31 15:14:12 +0200
commit59d82d6c68ae3e75c3a4d9408238c44640e587db (patch)
tree9aa61cd679bed9829c0637c5832265c59a77d031 /models/hero_core_stats.js
parent37c16ecf9fd64fc7644e82d8619584d0f64d694e (diff)
downloadshrinker-59d82d6c68ae3e75c3a4d9408238c44640e587db.tar.gz
shrinker-59d82d6c68ae3e75c3a4d9408238c44640e587db.zip
regenerate model from releases/2.0.0 db schema
Diffstat (limited to 'models/hero_core_stats.js')
-rw-r--r--models/hero_core_stats.js7
1 files changed, 5 insertions, 2 deletions
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
});
};