Sha256: ab98ad87bd5c13a89a0d304f802a16aa44669d311ade7e8c1396bf11aa2e656b

Contents?: true

Size: 185 Bytes

Versions: 8

Compression:

Stored size: 185 Bytes

Contents

class AddPublicAttributeToRoles < ActiveRecord::Migration
  def change
    add_column :roles, :public, :boolean, default: false
    add_column :users, :main_role_id, :integer
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
voluntary-0.1.0 db/migrate/20121006162913_add_public_attribute_to_roles.rb
voluntary-0.1.0.rc4 db/migrate/20121006162913_add_public_attribute_to_roles.rb
voluntary-0.1.0.rc3 db/migrate/20121006162913_add_public_attribute_to_roles.rb
voluntary-0.1.0.rc2 db/migrate/20121006162913_add_public_attribute_to_roles.rb
voluntary-0.1.0.rc1 db/migrate/20121006162913_add_public_attribute_to_roles.rb
voluntary-0.0.3 db/migrate/20121006162913_add_public_attribute_to_roles.rb
voluntary-0.0.2 db/migrate/20121006162913_add_public_attribute_to_roles.rb
voluntary-0.0.1 db/migrate/20121006162913_add_public_attribute_to_roles.rb