Commit a8017c5b authored by dagal's avatar dagal
Browse files

Apparently a line may pass by the same stop twice

parent 969f3d02
......@@ -45,4 +45,6 @@ data/*
/view/src/node_modules/
/view/bundle.js
!/data/stops.txt
!/data/*.sql
/.idea/workspace.xml
view/src/npm-debug.log
......@@ -25,7 +25,7 @@ CREATE TABLE line_stop
line_id varchar references line (id),
stop_ctr_id integer references stop (ctr_id),
seq integer,
primary key (line_id, stop_ctr_id)
primary key (line_id, stop_ctr_id, seq)
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment