-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into ON-1148_Mendoza_Integration
- Loading branch information
Showing
105 changed files
with
132,962 additions
and
1,772 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,6 @@ SMTP_USER="user" | |
SMTP_PASSWORD="password" | ||
SMTP_FROM_EMAIL="[email protected]" | ||
RESET_TOKEN_SECRET="WwjFGhcP8VikgsmtcPv+ufPhTGS8t7e+/aN5k2qY4ms=" | ||
NEXT_PUBLIC_SUPPORT_EMAILS="[email protected],[email protected]" | ||
VERIFICATION_TOKEN_SECRET="80c70dfdeedf2c01757b880d39c79214e915c786dd48d5473c9c0aecf81d67cf" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
"use strict"; | ||
|
||
/** @type {import('sequelize-cli').Migration} */ | ||
module.exports = { | ||
async up(queryInterface) { | ||
return queryInterface.sequelize.transaction(async (transaction) => { | ||
await queryInterface.bulkDelete("SubSectorValue", {}, { transaction }); | ||
await queryInterface.addIndex( | ||
"SubSectorValue", | ||
["inventory_id", "subsector_id"], | ||
{ | ||
name: "ID_SubSectorValue_inventory_id_subsector_id", | ||
indicesType: "UNIQUE", | ||
unique: true, | ||
transaction, | ||
}, | ||
); | ||
}); | ||
}, | ||
|
||
async down(queryInterface) { | ||
return queryInterface.sequelize.transaction(async (transaction) => { | ||
await queryInterface.removeIndex( | ||
"SubSectorValue", | ||
"ID_SubSectorValue_inventory_id_subsector_id", | ||
{ transaction }, | ||
); | ||
}); | ||
}, | ||
}; |
Oops, something went wrong.