Skip to content

Commit

Permalink
Merge pull request #23 from petercort/setup-db-connection
Browse files Browse the repository at this point in the history
updating data types
  • Loading branch information
petercort authored Dec 27, 2024
2 parents b12d50a + caab808 commit 4c4fae2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/models/bikes.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = (sequelize, DataTypes) => {
primaryKey: true,
},
userId: {
type: DataTypes.INTEGER,
type: DataTypes.STRING,
allowNull: false,

references: {
Expand Down
2 changes: 1 addition & 1 deletion src/models/users.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = (sequelize, DataTypes) => {
return sequelize.define('users', {
userId: {
type: DataTypes.INTEGER,
type: DataTypes.STRING,
primaryKey: true,
Unique: true,
},
Expand Down

0 comments on commit 4c4fae2

Please sign in to comment.