Skip to content

update import script file

yashasvi kotamraju requested to merge yashasvi/test-import into main
  • Updated import script file to take csv files as input to import.
  • Updated code to take input file name as command line argument. For some reason existing code is not able to take it as command line argument.
  • Also updated code to insert default medicalCampPlace and staff table with id 1 without which code is running into Foreign Key Constraint Error. Ideally that data also needs to be imported via csv or other scripts, but for now inserting dummy data.

Merge request reports

Loading