summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-02-19 16:48:32 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-02-19 16:48:32 +0100
commitf7550f4cd4929bdf19e2cce1447990ae1414a11b (patch)
treea1ab12202ac4d5a389185ca7ed6d658d2df5ac8a
parent14c96916ae5e2eade732baacd61efdc3eacc4b61 (diff)
add view for public departures
-rwxr-xr-xbin/iris-delay-stats2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/iris-delay-stats b/bin/iris-delay-stats
index 8534480..acb161a 100755
--- a/bin/iris-delay-stats
+++ b/bin/iris-delay-stats
@@ -44,6 +44,8 @@ if ($first_run) {
)}
);
}
+ $dbh->do(qq{create view public_departures as
+ select * from departures where station == 'EDUV'});
}
my $status = Travel::Status::DE::IRIS->new(