Add rails version number to migrations
[rails.git] / db / migrate / 022_key_constraints.rb
index 5a6a9296fcb4bb4acc3e157fa9934890db67a1e5..535d7d21d6f63c578cb9461d1d3046beff0937dc 100644 (file)
@@ -1,6 +1,6 @@
 require "migrate"
 
-class KeyConstraints < ActiveRecord::Migration
+class KeyConstraints < ActiveRecord::Migration[5.0]
   def self.up
     # Primary keys
     add_primary_key :current_node_tags, [:id, :k]