summaryrefslogtreecommitdiff
path: root/models/player_ext.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/player_ext.js
parent3493a5bff6d622ccb8f1eba1c72bd939a418c1c5 (diff)
downloadorm-d4380da66020f2a3d496715d14b637a868c81614.tar.gz
orm-d4380da66020f2a3d496715d14b637a868c81614.zip
reimport after breaking changes
Diffstat (limited to 'models/player_ext.js')
-rw-r--r--models/player_ext.js74
1 files changed, 0 insertions, 74 deletions
diff --git a/models/player_ext.js b/models/player_ext.js
deleted file mode 100644
index 55c56ab..0000000
--- a/models/player_ext.js
+++ /dev/null
@@ -1,74 +0,0 @@
-/* jshint indent: 2 */
-
-module.exports = function(sequelize, DataTypes) {
- return sequelize.define('player_ext', {
- id: {
- type: DataTypes.INTEGER(10).UNSIGNED,
- allowNull: false,
- primaryKey: true,
- autoIncrement: true
- },
- player_api_id: {
- type: DataTypes.STRING(191),
- allowNull: false,
- unique: true
- },
- played: {
- type: DataTypes.INTEGER(11),
- allowNull: true
- },
- played_ranked: {
- type: DataTypes.INTEGER(11),
- allowNull: true
- },
- played_casual: {
- type: DataTypes.INTEGER(11),
- allowNull: true
- },
- played_brawl: {
- type: DataTypes.INTEGER(11),
- allowNull: true
- },
- wins: {
- type: DataTypes.INTEGER(11),
- allowNull: true
- },
- wins_ranked: {
- type: DataTypes.INTEGER(11),
- allowNull: true
- },
- wins_casual: {
- type: DataTypes.INTEGER(11),
- allowNull: true
- },
- wins_brawl: {
- type: DataTypes.INTEGER(11),
- allowNull: true
- },
- skill_tier: {
- type: DataTypes.STRING(191),
- allowNull: true
- },
- played_role_1: {
- type: DataTypes.STRING(191),
- allowNull: true
- },
- played_role_2: {
- type: DataTypes.STRING(191),
- allowNull: true
- },
- played_role_3: {
- type: DataTypes.STRING(191),
- allowNull: true
- },
- streak: {
- type: DataTypes.STRING(191),
- allowNull: true
- }
- }, {
- tableName: 'player_ext',
- timestamps: false,
- underscored: true,
- freezeTableName: true
- });
-};