Sha256: 84c9018b16fa59a2c9c113197b0df653a47e94f0be4ba3ba2a7bd23e0a39bd15

Contents?: true

Size: 215 Bytes

Versions: 16

Compression:

Stored size: 215 Bytes

Contents

class AddIndexOnPermissions < ActiveRecord::Migration
  def self.up
    add_index :permissions, [ :asset_id, :asset_type ]
  end

  def self.down
    remove_index :permissions, [ :asset_id, :asset_type ]
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
fat_free_crm-0.13.6 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.13.5 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.13.4 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.13.3 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.13.2 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.12.3 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.12.2 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.13.1 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.12.1 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.13.0 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.12.0 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.11.4 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.11.3 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.11.2 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.11.1 db/migrate/20100928030624_add_index_on_permissions.rb
fat_free_crm-0.11.0 db/migrate/20100928030624_add_index_on_permissions.rb