To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / db / migrate / 20110303152903_add_active_column_to_attachments.rb @ 443:350acce374a2

History | View | Annotate | Download (195 Bytes)

1 253:82caabe96ad4 chris
class AddActiveColumnToAttachments < ActiveRecord::Migration
2
  def self.up
3
    add_column :attachments, :active, :boolean
4
  end
5
6
  def self.down
7
    remove_column :attachments, :active
8
  end
9
end