14873: Adjusts latest API Server changes to be rails5 worthy.
[arvados.git] / services / api / db / migrate / 20170706141334_json_collection_properties.rb
index 921803a2970137c89cf8e19c8fdd329061f09c1c..1c78b53be345d17ae7909a677513132fa33d27ac 100644 (file)
@@ -4,7 +4,7 @@
 
 require './db/migrate/20161213172944_full_text_search_indexes'
 
-class JsonCollectionProperties < ActiveRecord::Migration
+class JsonCollectionProperties < ActiveRecord::Migration[4.2]
   def up
     # Drop the FT index before changing column type to avoid
     # "PG::DatatypeMismatch: ERROR: COALESCE types jsonb and text