Sha256: 6443603b984aba38cb2e54b4de16dfab482de8d8b7501a9ac20e47a018945e27

Contents?: true

Size: 322 Bytes

Versions: 3

Compression:

Stored size: 322 Bytes

Contents

class ChangeAssignAsset < ActiveRecord::Migration
  def change
    remove_column :assign_assets, :approved
    remove_column :assign_assets, :assigned
    remove_reference :assign_assets, :requested_by
    remove_reference :assign_assets, :approved_by
    add_reference :assign_assets, :assigned_by, index: true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pshq_engine-0.1.6 db/migrate/20150518123010_change_assign_asset.rb
pshq_engine-0.1.5 db/migrate/20150518123010_change_assign_asset.rb
pshq_engine-0.0.1 db/migrate/20150518123010_change_assign_asset.rb