Sha256: 28ce8d6e6dba761ae98b714e94c6ec1e07c4334167f708d28503f04e6dcbd2bb

Contents?: true

Size: 232 Bytes

Versions: 32

Compression:

Stored size: 232 Bytes

Contents

class AddLifetimeTicketValueToPerson < ActiveRecord::Migration
  def self.up
    add_column :people, :lifetime_ticket_value, :integer, :default => 0
  end

  def self.down
    remove_column :people, :lifetime_ticket_value
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.11 db/migrate/20130808002742_add_lifetime_ticket_value_to_person.rb
artfully_ose-1.2.0.pre.10 db/migrate/20130808002742_add_lifetime_ticket_value_to_person.rb
artfully_ose-1.2.0.pre.9 db/migrate/20130808002742_add_lifetime_ticket_value_to_person.rb
artfully_ose-1.2.0.pre.8 db/migrate/20130808002742_add_lifetime_ticket_value_to_person.rb
artfully_ose-1.2.0.pre.7 db/migrate/20130808002742_add_lifetime_ticket_value_to_person.rb
artfully_ose-1.2.0.pre.6 db/migrate/20130808002742_add_lifetime_ticket_value_to_person.rb
artfully_ose-1.2.0.pre.5 db/migrate/20130808002742_add_lifetime_ticket_value_to_person.rb
artfully_ose-1.2.0.pre.4 db/migrate/20130808002742_add_lifetime_ticket_value_to_person.rb
artfully_ose-1.2.0.pre.3 db/migrate/20130808002742_add_lifetime_ticket_value_to_person.rb
artfully_ose-1.2.0.pre.2 db/migrate/20130808002742_add_lifetime_ticket_value_to_person.rb
artfully_ose-1.2.0.pre.1 db/migrate/20130808002742_add_lifetime_ticket_value_to_person.rb
artfully_ose-1.2.0.pre db/migrate/20130808002742_add_lifetime_ticket_value_to_person.rb