Sha256: 45d17ca2b41d23f6090b9783e3fd30fb6ea442f11bc2c9d80b1a0e139595b7f7

Contents?: true

Size: 431 Bytes

Versions: 6

Compression:

Stored size: 431 Bytes

Contents

class AddSpudInquiryFormIdToSpudInquiries < ActiveRecord::Migration
  def change
    add_column :spud_inquiries, :spud_inquiry_form_id, :integer
    add_column :spud_inquiries, :recipients, :text
    add_column :spud_inquiries, :subject,:string
    add_column :spud_inquiries, :marked_as_read,:boolean,:default => false

    add_index :spud_inquiries, :marked_as_read
    add_index :spud_inquiries, :spud_inquiry_form_id
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spud_inquiries-0.9.1 db/migrate/20120126132407_add_spud_inquiry_form_id_to_spud_inquiries.rb
spud_inquiries-0.9.0 db/migrate/20120126132407_add_spud_inquiry_form_id_to_spud_inquiries.rb
spud_inquiries-0.8.3 db/migrate/20120126132407_add_spud_inquiry_form_id_to_spud_inquiries.rb
spud_inquiries-0.8.2 db/migrate/20120126132407_add_spud_inquiry_form_id_to_spud_inquiries.rb
spud_inquiries-0.8.1 db/migrate/20120126132407_add_spud_inquiry_form_id_to_spud_inquiries.rb
spud_inquiries-0.8.0 db/migrate/20120126132407_add_spud_inquiry_form_id_to_spud_inquiries.rb