Skip to content

Commit

Permalink
fix: fk uuid types from integer to string for uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Feb 7, 2022
1 parent 13afc1d commit f05d3dc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/models/co-benefits/co-benefits.modeltypes.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
primaryKey: true,
},
warehouseProjectId: {
type: Sequelize.INTEGER,
type: Sequelize.STRING,
onDelete: 'CASCADE',
required: true,
},
Expand Down
2 changes: 1 addition & 1 deletion src/models/estimations/estimations.modeltypes.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
primaryKey: true,
},
warehouseProjectId: {
type: Sequelize.INTEGER,
type: Sequelize.STRING,
onDelete: 'CASCADE',
required: true,
},
Expand Down
2 changes: 1 addition & 1 deletion src/models/locations/locations.modeltypes.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
primaryKey: true,
},
warehouseProjectId: {
type: Sequelize.INTEGER,
type: Sequelize.STRING,
required: true,
onDelete: 'CASCADE',
},
Expand Down
2 changes: 1 addition & 1 deletion src/models/ratings/ratings.modeltypes.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
primaryKey: true,
},
warehouseProjectId: {
type: Sequelize.INTEGER,
type: Sequelize.STRING,
required: true,
onDelete: 'CASCADE',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
primaryKey: true,
},
warehouseProjectId: {
type: Sequelize.INTEGER,
type: Sequelize.STRING,
required: true,
onDelete: 'CASCADE',
},
Expand Down

0 comments on commit f05d3dc

Please sign in to comment.