aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorZog2018-05-29 15:51:52 +0200
committerJohan Van Ryseghem2018-05-30 16:29:33 +0200
commit63a277b88de6703dcf4f32508099def1e9cbca19 (patch)
tree367488bc99b17d479a77a6b2773046470bf213ad /db/migrate
parent3e8d95ac8168205ac9526fb8663459d691d09c30 (diff)
downloadchouette-core-63a277b88de6703dcf4f32508099def1e9cbca19.tar.bz2
Refs #7161; Clean views and routes
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20180528125333_spring_cleanup.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/migrate/20180528125333_spring_cleanup.rb b/db/migrate/20180528125333_spring_cleanup.rb
index c2759dc32..75f4c0c0b 100644
--- a/db/migrate/20180528125333_spring_cleanup.rb
+++ b/db/migrate/20180528125333_spring_cleanup.rb
@@ -1,5 +1,7 @@
class SpringCleanup < ActiveRecord::Migration
def change
- drop_table :timebands, :journey_frequencies, :vehicle_journey_frequencies, :access_points, :access_links
+ [:journey_frequencies, :timebands].each do |t|
+ drop_table t
+ end
end
end