]> git.openstreetmap.org Git - rails.git/blob - db/migrate/012_add_admin_flag.rb
Bump @eslint/plugin-kit from 0.2.0 to 0.2.3
[rails.git] / db / migrate / 012_add_admin_flag.rb
1 class AddAdminFlag < ActiveRecord::Migration[4.2]
2   def self.up
3     add_column "users", "administrator", :boolean, :default => false, :null => false
4   end
5
6   def self.down
7     remove_column "users", "administrator"
8   end
9 end