diff --git a/api/app/lib/models/point.js b/api/app/lib/models/point.js index 40c6f9f..978fc7c 100644 --- a/api/app/lib/models/point.js +++ b/api/app/lib/models/point.js @@ -34,7 +34,7 @@ module.exports = dc => { autoIncrement: false }, longitude: { - type: DataTypes.INTEGER, + type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null, @@ -43,7 +43,7 @@ module.exports = dc => { autoIncrement: false }, latitude: { - type: DataTypes.INTEGER, + type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null, diff --git a/api/app/lib/models/project.js b/api/app/lib/models/project.js index 347f817..8543137 100644 --- a/api/app/lib/models/project.js +++ b/api/app/lib/models/project.js @@ -52,7 +52,7 @@ module.exports = dc => { autoIncrement: false }, longitude: { - type: DataTypes.DOUBLE, + type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null, @@ -61,7 +61,7 @@ module.exports = dc => { autoIncrement: false }, latitude: { - type: DataTypes.DOUBLE, + type: DataTypes.STRING, allowNull: true, defaultValue: null, comment: null,