change bounding box column name from snake case to camel case

This commit is contained in:
Bilal Catic
2019-09-10 05:45:58 +02:00
parent d529ef64ae
commit 65c9ece073
3 changed files with 23 additions and 3 deletions

View File

@@ -19,8 +19,9 @@ module.exports = (sequelize, DataTypes) => {
gardenSizeMax: DataTypes.INTEGER,
priceMin: DataTypes.INTEGER,
priceMax: DataTypes.INTEGER,
bounding_box: DataTypes.GEOMETRY("POINT", 4326),
subscribed: DataTypes.BOOLEAN
boundingBox: DataTypes.GEOMETRY("POINT", 4326),
subscribed: DataTypes.BOOLEAN,
locationInput: DataTypes.STRING
},
{}
);