aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXinhui2017-11-09 11:20:11 +0100
committerXinhui2017-11-09 11:20:11 +0100
commit261d53d70f9ff4a6c2f5a476e64f0de5fb2a3f49 (patch)
treed704684a8da59a9b19f88a8a0ce61a4345babdd7
parent4dbe0a7b5acf4e244016d58d59a96aca36035263 (diff)
downloadchouette-core-261d53d70f9ff4a6c2f5a476e64f0de5fb2a3f49.tar.bz2
Migration drop table route_sections & journey_pattern_sections
-rw-r--r--db/migrate/20171109101358_drop_table_journey_pattern_sections.rb5
-rw-r--r--db/migrate/20171109101514_drop_table_route_sections.rb5
2 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20171109101358_drop_table_journey_pattern_sections.rb b/db/migrate/20171109101358_drop_table_journey_pattern_sections.rb
new file mode 100644
index 000000000..a7bb482a5
--- /dev/null
+++ b/db/migrate/20171109101358_drop_table_journey_pattern_sections.rb
@@ -0,0 +1,5 @@
+class DropTableJourneyPatternSections < ActiveRecord::Migration
+ def change
+ drop_table :journey_pattern_sections
+ end
+end
diff --git a/db/migrate/20171109101514_drop_table_route_sections.rb b/db/migrate/20171109101514_drop_table_route_sections.rb
new file mode 100644
index 000000000..c009ed8ec
--- /dev/null
+++ b/db/migrate/20171109101514_drop_table_route_sections.rb
@@ -0,0 +1,5 @@
+class DropTableRouteSections < ActiveRecord::Migration
+ def change
+ drop_table :route_sections
+ end
+end