Sha256: f0827346728815011abaf6ca42d420549a96452c058d952f5ae619da53707c9c

Contents?: true

Size: 227 Bytes

Versions: 6

Compression:

Stored size: 227 Bytes

Contents

class CreateRightsRoles < ActiveRecord::Migration
  def self.up
    create_table :rights_roles, :id => false do |t|
      t.belongs_to :right,
        :role
    end
  end

  def self.down
    drop_table :rights_roles
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
forgeos_core-1.9.5.rc2 db/migrate/20091009134836_create_rights_roles.rb
forgeos_core-1.9.5.rc1 db/migrate/20091009134836_create_rights_roles.rb
forgeos_core-1.9.4 db/migrate/20091009134836_create_rights_roles.rb
forgeos_core-1.9.3 db/migrate/20091009134836_create_rights_roles.rb
forgeos_core-1.9.2 db/migrate/20091009134836_create_rights_roles.rb
forgeos_core-1.9.1 db/migrate/20091009134836_create_rights_roles.rb