impressionist/upgrade_migrations/version_0_4_0.rb

9 lines
204 B
Ruby

class Version04UpdateImpressionsTable < ActiveRecord::Migration
def self.up
add_column :impressions, :referrer, :string
end
def self.down
remove_column :impressions, :referrer
end
end