Sha256: 619f1ea3c3cb697832f1d04fe2956723df3990aae3c0575e2ae649b2ac7ff336

Contents?: true

Size: 222 Bytes

Versions: 5

Compression:

Stored size: 222 Bytes

Contents

class AddRecievesEmailToContact < ActiveRecord::Migration
  def self.up
    add_column :contacts, :recieves_email, :boolean, :default => false
  end

  def self.down
    remove_column :contacts, :recieves_email
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xrono-1.0.4 db/migrate/20101119172727_add_recieves_email_to_contact.rb
xrono-1.0.3 db/migrate/20101119172727_add_recieves_email_to_contact.rb
xrono-1.0.2 db/migrate/20101119172727_add_recieves_email_to_contact.rb
xrono-1.0.1 db/migrate/20101119172727_add_recieves_email_to_contact.rb
xrono-1.0.0 db/migrate/20101119172727_add_recieves_email_to_contact.rb