From 59d82d6c68ae3e75c3a4d9408238c44640e587db Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 31 Mar 2017 15:14:12 +0200 Subject: regenerate model from releases/2.0.0 db schema --- models/participant_ext.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'models/participant_ext.js') diff --git a/models/participant_ext.js b/models/participant_ext.js index 070eb93..abcb5ed 100644 --- a/models/participant_ext.js +++ b/models/participant_ext.js @@ -8,7 +8,7 @@ module.exports = function(sequelize, DataTypes) { primaryKey: true, autoIncrement: true }, - patch_version: { + series: { type: DataTypes.STRING(191), allowNull: false }, @@ -34,6 +34,9 @@ module.exports = function(sequelize, DataTypes) { allowNull: true } }, { - tableName: 'participant_ext' + tableName: 'participant_ext', + timestamps: false, + underscored: true, + freezeTableName: true }); }; -- cgit v1.3.1