diff --git a/users-api/src/migrations/20231024192448-change-dob-type.js b/users-api/src/migrations/20241115024643-modify_dob_type_in_users.js similarity index 100% rename from users-api/src/migrations/20231024192448-change-dob-type.js rename to users-api/src/migrations/20241115024643-modify_dob_type_in_users.js diff --git a/users-api/src/models/user.js b/users-api/src/models/user.js index 1167d7f..257fc27 100644 --- a/users-api/src/models/user.js +++ b/users-api/src/models/user.js @@ -21,7 +21,7 @@ module.exports = (sequelize, DataTypes) => { zip: DataTypes.STRING, age: DataTypes.INTEGER, gender: DataTypes.STRING, - dob: DataTypes.STRING + dob: DataTypes.DATE }, { sequelize, modelName: 'User',