-
Notifications
You must be signed in to change notification settings - Fork 9
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
[WIP] Add a script for porting data to the new models #48
base: master
Are you sure you want to change the base?
Conversation
Kind of addresses #46 |
@utkarshme Lodash provides excellent functionality to do these kinds of data structure manipulations. See if it suits your needs. |
- Generalized to make porting easier by changing only the transform.js file which is nothing but json.
38f98b8
to
eb80982
Compare
Makes #50 redundant. |
Read the documentation in the README to populate |
- bonafide - day scholars - day pass - csa - disco - faculty - facultyIncharge - holiday
Great work! From what I can comprehend, I feel that the user doesn't need to fiddle with the rules, which the script is already taking care of. I changed the other required variables, still, porting is not working for me. |
Did you switch off the debug? Also, the script ports according to the models.sql file in src/data. Check if the ones in your database are same or not. Create a new DB and try? |
To Do: