Sha256: e77c7c5e0448faa85bb5e1d55b60f4cd63edb84e2fbc0147132ca0d1c06ca7d0

Contents?: true

Size: 310 Bytes

Versions: 2

Compression:

Stored size: 310 Bytes

Contents

class AddExtraInfo < ActiveRecord::Migration
  def self.up
    add_column :ticket_granting_tickets, :extra_info, :text
    remove_column :service_tickets, :identifier
  end

  def self.down
    remove_column :ticket_granting_tickets, :extra_info
    add_column :service_tickets, :identifier, :string
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
3mix-castronaut-0.5.0.2 lib/castronaut/db/003_add_extra_info.rb
masover-castronaut-0.5.0.1 lib/castronaut/db/003_add_extra_info.rb