Sha256: 7fafb59d560b8820f77efd8484a5ccb53684f87ed79d5c08236e37410354bc9a

Contents?: true

Size: 400 Bytes

Versions: 7

Compression:

Stored size: 400 Bytes

Contents

class AddPristineFilesToCbacUpgradePath < ActiveRecord::Migration
  def self.up
    create_table :cbac_pristine_files do |t|
      t.string :type
      t.string :file_name
      t.timestamps
    end

    add_column :cbac_staged_permissions, :pristine_file_id, :integer
  end

  def self.down
    drop_table :cbac_pristine_files
    remove_column :cbac_staged_permissions, :pristine_file_id
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cbac-0.6.10 migrations/20110211105533_add_pristine_files_to_cbac_upgrade_path.rb
cbac-0.6.9 migrations/20110211105533_add_pristine_files_to_cbac_upgrade_path.rb
cbac-0.6.8 migrations/20110211105533_add_pristine_files_to_cbac_upgrade_path.rb
cbac-0.6.7 migrations/20110211105533_add_pristine_files_to_cbac_upgrade_path.rb
cbac-0.6.5 migrations/20110211105533_add_pristine_files_to_cbac_upgrade_path.rb
cbac-0.6.4 migrations/20110211105533_add_pristine_files_to_cbac_upgrade_path.rb
cbac-0.6.2 migrations/20110211105533_add_pristine_files_to_cbac_upgrade_path.rb