impressionist/upgrade_migrations/version_0_4_0.rb

10 lines
201 B
Ruby
Raw Normal View History

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