additionals/db/migrate/002_add_hide_to_roles.rb

8 lines
174 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddHideToRoles < ActiveRecord::Migration[4.2]
def change
add_column :roles, :hide, :boolean, default: false, null: false
end
end