ms_soccer_nation_rank.js
1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/* jshint indent: 2 */
module.exports = function (sequelize, DataTypes) {
return sequelize.define('ms_soccer_nation_rank', {
national_id: {
type: DataTypes.BIGINT,
allowNull: false,
primaryKey: true
},
national_name: {
type: DataTypes.STRING(50),
allowNull: true
},
national_url: {
type: DataTypes.STRING(255),
allowNull: true
},
squad_size: {
type: DataTypes.STRING(20),
allowNull: true
},
avg_age: {
type: DataTypes.STRING(20),
allowNull: true
},
total_value: {
type: DataTypes.STRING(20),
allowNull: true
},
confederation: {
type: DataTypes.STRING(20),
allowNull: true
},
points: {
type: DataTypes.STRING(20),
allowNull: true
},
created_at: {
type: DataTypes.BIGINT,
allowNull: true
},
updated_at: {
type: DataTypes.BIGINT,
allowNull: true
},
chinese_national_name: {
type: DataTypes.STRING(50),
allowNull: true,
defaultValue: ''
},
chinese_confederation: {
type: DataTypes.STRING(50),
allowNull: true,
defaultValue: ''
},
index_number: {
type: DataTypes.INTEGER(11),
allowNull: false,
defaultValue: '0'
},
total_market: {
type: DataTypes.BIGINT,
allowNull: false,
defaultValue: '0'
}
}, {
tableName: 'ms_soccer_nation_rank'
});
};
//# sourceMappingURL=ms_soccer_nation_rank.js.map