impressionist/upgrade_migrations/version_0_4_0.rb

10 lines
206 B
Ruby

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