]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/012_add_admin_flag.rb
Use a simple user_id for tables with one owning user
[rails.git] / db / migrate / 012_add_admin_flag.rb
index 24f2d4ed78e300ad2940a5b9174d4a9653d725f5..d409f9f1eb1d8ef8d7d9f0f8dc33efbfff62afa0 100644 (file)
@@ -1,4 +1,4 @@
-class AddAdminFlag < ActiveRecord::Migration
+class AddAdminFlag < ActiveRecord::Migration[5.0]
   def self.up
     add_column "users", "administrator", :boolean, :default => false, :null => false
   end