You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the command npm run import:sample-data fails
This is due to an update in the DB schema which is not compatible with our sample data
We also don't have the ability to automatically test the command as part of our PR approval process
To Reproduce
Steps to reproduce the behavior:
Run npm run import:sample-data
Failure
Expected behavior
The sample data must be modified to accommodate the new DB schema where the userRegistrationRequired field now replaces the isPublic field. The logic of userRegistrationRequired is opposite of isPublic therefore True will replace False and vice versa for these fields in the data update.
Data importation must succeed without error
A GitHub must be created to import the data as part of the PR YAML file.
Describe the bug
npm run import:sample-data
failsTo Reproduce
Steps to reproduce the behavior:
npm run import:sample-data
Expected behavior
userRegistrationRequired
field now replaces theisPublic
field. The logic ofuserRegistrationRequired
is opposite ofisPublic
thereforeTrue
will replaceFalse
and vice versa for these fields in the data update.Actual behavior
Screenshots
Additional details
Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship
The text was updated successfully, but these errors were encountered: