change bounding box column name from snake case to camel case
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
up: (queryInterface, Sequelize) => {
|
||||
return queryInterface.renameColumn(
|
||||
"RealEstateRequests",
|
||||
"bounding_box",
|
||||
"boundingBox"
|
||||
);
|
||||
},
|
||||
|
||||
down: (queryInterface, Sequelize) => {
|
||||
return queryInterface.renameColumn(
|
||||
"RealEstateRequests",
|
||||
"boundingBox",
|
||||
"bounding_box"
|
||||
);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user