]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/022_key_constraints.rb
Improve flash message handling in users#new
[rails.git] / db / migrate / 022_key_constraints.rb
index e854ba78e0dd6075f9404c0075ad5fa746abe240..e7840b4147dd62ead3cfbf93d721d017968d7f89 100644 (file)
@@ -1,6 +1,4 @@
-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]