Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
s203860 committed Dec 16, 2023
1 parent b0d8be8 commit fa637bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/src/lira_importing/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

**These functions are only meant to be used ones to import the lira database, reformat it and uploaded to our own database. For these scripts to work you need a copy off the db.js and liradb.js for the scripts to work. These files will not be uploaded to github. An example for both can be found in db.example.js and liradb.example.js. Both example files have fake users and passwords.**

##The way the importing function works

When we import data from lira we start by getting the row count and all uuids for entries where distance01 and distance02 is not zero, in the coverage table in the lira database. For each valid entry the following steps are done:

1. Gets distance 01, distance02, fk_trip_id and fk_way_id for one entry in the coverage tabel.
Expand Down

0 comments on commit fa637bb

Please sign in to comment.