diff --git a/CHANGELOG.md b/CHANGELOG.md index d90295d..8908963 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Changelog +### Version 1.0.2 + +#### bugfix +* PR [#23](https://github.com/petercort/FBF-Buddy/pull/23) - updating data types + + + ### Version 1.0.1 #### bugfix diff --git a/package.json b/package.json index 56604ef..661ab11 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fbf-event-buddy", "private": true, - "version": "1.0.1", + "version": "1.0.2", "description": "Cycling event app for Discord", "main": "app.js", "engines": { diff --git a/src/models/bikes.js b/src/models/bikes.js index 51e061d..6218a2a 100644 --- a/src/models/bikes.js +++ b/src/models/bikes.js @@ -5,7 +5,7 @@ module.exports = (sequelize, DataTypes) => { primaryKey: true, }, userId: { - type: DataTypes.INTEGER, + type: DataTypes.STRING, allowNull: false, references: { diff --git a/src/models/users.js b/src/models/users.js index 4bda67a..ff7c7b4 100644 --- a/src/models/users.js +++ b/src/models/users.js @@ -1,7 +1,7 @@ module.exports = (sequelize, DataTypes) => { return sequelize.define('users', { userId: { - type: DataTypes.INTEGER, + type: DataTypes.STRING, primaryKey: true, Unique: true, },