aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorcedricnjanga2018-03-18 21:47:40 -0700
committercedricnjanga2018-03-18 21:47:40 -0700
commit9078f171fd874ff9050c726874cdfb01b3abe368 (patch)
tree0edcc32e96863518eb646f2657ab9cf3617094b2 /db/migrate
parent6e27953fbf3539da0d0971f762c0a4443c9f8946 (diff)
downloadchouette-core-9078f171fd874ff9050c726874cdfb01b3abe368.tar.bz2
Refs #6210 Remove status value attribue from Chouette::VehicleJourney and section status fron Chouette::JourneyPattern6210-remove-attributes-from-models
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20180319043333_remove_attributes_from_models.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20180319043333_remove_attributes_from_models.rb b/db/migrate/20180319043333_remove_attributes_from_models.rb
new file mode 100644
index 000000000..e6de2987e
--- /dev/null
+++ b/db/migrate/20180319043333_remove_attributes_from_models.rb
@@ -0,0 +1,6 @@
+class RemoveAttributesFromModels < ActiveRecord::Migration
+ def change
+ remove_column "vehicle_journeys", "status_value"
+ remove_column "journey_patterns", "section_status"
+ end
+end