From c9ca32cdecb2627605e68b07f1f386ef12a4d626 Mon Sep 17 00:00:00 2001 From: schneefux Date: Thu, 30 Mar 2017 15:12:22 +0200 Subject: add imported db models --- models/match_stats.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 models/match_stats.js (limited to 'models/match_stats.js') diff --git a/models/match_stats.js b/models/match_stats.js new file mode 100644 index 0000000..1317cf3 --- /dev/null +++ b/models/match_stats.js @@ -0,0 +1,14 @@ +/* jshint indent: 2 */ + +module.exports = function(sequelize, DataTypes) { + return sequelize.define('match_stats', { + id: { + type: DataTypes.INTEGER(10).UNSIGNED, + allowNull: false, + primaryKey: true, + autoIncrement: true + } + }, { + tableName: 'match_stats' + }); +}; -- cgit v1.3.1