X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e379287e84ee44a1a8a1e50cf0d22d81b00fc009..24c138ac8d5952117611146cec78379eb12e315f:/db/migrate/012_add_admin_flag.rb?ds=sidebyside diff --git a/db/migrate/012_add_admin_flag.rb b/db/migrate/012_add_admin_flag.rb index 24f2d4ed7..5b28ed9c1 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[4.2] def self.up add_column "users", "administrator", :boolean, :default => false, :null => false end