Sha256: eaab47f1247b998ac306e908c90dd0cec0db100af8e0d6656e2148c5c0daf307
Contents?: true
Size: 718 Bytes
Versions: 10
Compression:
Stored size: 718 Bytes
Contents
class CookieRefTracking < ActiveRecord::Migration def up add_column :referer_trackings, :cookie_referer_url, :text add_column :referer_trackings, :cookie_first_url, :text add_column :referer_trackings, :cookie_time, :timestamp rename_column :referer_trackings, :first_url, :session_first_url rename_column :referer_trackings, :referer_url, :session_referer_url end def down remove_column :referer_trackings, :cookie_first_url remove_column :referer_trackings, :cookie_referer_url remove_column :referer_trackings, :cookie_time rename_column :referer_trackings, :session_first_url, :first_url rename_column :referer_trackings, :session_referer_url, :referer_url end end
Version data entries
10 entries across 10 versions & 1 rubygems