X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e379287e84ee44a1a8a1e50cf0d22d81b00fc009..cb7340a94ab2673082d07885813ec719e116efe0:/db/migrate/012_add_admin_flag.rb diff --git a/db/migrate/012_add_admin_flag.rb b/db/migrate/012_add_admin_flag.rb index 24f2d4ed7..d409f9f1e 100644 --- a/db/migrate/012_add_admin_flag.rb +++ b/db/migrate/012_add_admin_flag.rb @@ -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