summaryrefslogtreecommitdiff
path: root/models/hero_stats.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-07 17:55:03 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-07 17:55:03 +0200
commitd4380da66020f2a3d496715d14b637a868c81614 (patch)
treec2d20f90139c7fbb10c1855b3e79e4d525c9a992 /models/hero_stats.js
parent3493a5bff6d622ccb8f1eba1c72bd939a418c1c5 (diff)
downloadorm-d4380da66020f2a3d496715d14b637a868c81614.tar.gz
orm-d4380da66020f2a3d496715d14b637a868c81614.zip
reimport after breaking changes
Diffstat (limited to 'models/hero_stats.js')
-rw-r--r--models/hero_stats.js41
1 files changed, 0 insertions, 41 deletions
diff --git a/models/hero_stats.js b/models/hero_stats.js
deleted file mode 100644
index c79ea4f..0000000
--- a/models/hero_stats.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/* jshint indent: 2 */
-
-module.exports = function(sequelize, DataTypes) {
- return sequelize.define('hero_stats', {
- id: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false,
- primaryKey: true,
- autoIncrement: true
- },
- created_at: {
- type: DataTypes.TIME,
- allowNull: true
- },
- updated_at: {
- type: DataTypes.TIME,
- allowNull: true
- },
- pick_rate: {
- type: "DOUBLE(8,2)",
- allowNull: false
- },
- win_rate: {
- type: "DOUBLE(8,2)",
- allowNull: false
- },
- gold_per_min: {
- type: "DOUBLE(8,2)",
- allowNull: false
- },
- cs_per_min: {
- type: "DOUBLE(8,2)",
- allowNull: false
- }
- }, {
- tableName: 'hero_stats',
- timestamps: false,
- underscored: true,
- freezeTableName: true
- });
-};