-require 'migrate'
-
-class KeyConstraints < ActiveRecord::Migration
+class KeyConstraints < ActiveRecord::Migration[4.2]
def self.up
# Primary keys
add_primary_key :current_node_tags, [:id, :k]
end
def self.down
- fail ActiveRecord::IrreversibleMigration
+ raise ActiveRecord::IrreversibleMigration
end
end