Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema version 8 #55

Merged
merged 2 commits into from
Aug 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions migrations/migrations/8.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* Migration from v7 to v8
*/

const migration = (protocol) => protocol;

// Markdown format
const notes = `
- Add new validation options for form fields: \`greaterThanVariable\` and \`lessThanVariable\`.
- Add new comparator options for skip logic and filter: \`contains\` and \`does not contain\`.
- Amplify comparator options \`includes\` and \`excludes\` for ordinal and categorical variables to allow multiple selections.
`;

const v8 = {
version: 8,
notes,
migration,
};

module.exports = v8;
2 changes: 2 additions & 0 deletions migrations/migrations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const version4 = require('./4');
const version5 = require('./5');
const version6 = require('./6');
const version7 = require('./7');
const version8 = require('./8');

/**
* These should be in order
Expand All @@ -15,6 +16,7 @@ const migrations = [
version5,
version6,
version7,
version8,
];

module.exports = migrations;
Loading