You are here: Home > Latest news from Darcs > Removes now unnecessary revision_id column from images table

Revision 20080729034540-49d33-70d5ec...

Removes now unnecessary revision_id column from images table

db/migrate/030_removes_revision_column_from_images.rb

Changes to 030_removes_revision_column_from_images.rb

 
class RemovesRevisionColumnFromImages < ActiveRecord::Migration
1
 
  def self.up
2
 
    remove_column :images, :revision_id
3
 
  end
4
 
5
 
  def self.down
6
 
    raise IrreversibleMigration
7
 
  end
8
 
end
9