-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(application): added application consent. Fixes HELP-598
- Loading branch information
1 parent
f8b44fb
commit a952bf8
Showing
5 changed files
with
78 additions
and
16 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
migrations/20190814192959-add-agreed-to-privacy-policy-to-applications.js
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,8 @@ | ||
module.exports = { | ||
up: (queryInterface, Sequelize) => queryInterface.addColumn( | ||
'applications', | ||
'agreed_to_privacy_policy', | ||
{ type: Sequelize.BOOLEAN, allowNull: false, defaultValue: false } | ||
), | ||
down: queryInterface => queryInterface.removeColumn('applications', 'agreed_to_privacy_policy') | ||
}; |
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
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