Sha256: 99c236c16bcd78ddce08e74fa7f85a8eb52ed1d33004188a4baef01d141fed86
Contents?: true
Size: 336 Bytes
Versions: 1
Compression:
Stored size: 336 Bytes
Contents
class RemoveApproverFromBudgetItems < ActiveRecord::Migration def up remove_column :budget_items, :request_approver_id end def down add_column :budget_items, :request_approver_id, :integer add_foreign_key :budget_items, :users, column: :request_approver_id add_index :budget_items, :request_approver_id end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
self_systeem-0.1.0 | test/dummy_app/db/migrate/20140409001551_remove_approver_from_budget_items.rb |