class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version %>
def change create_table :ahoy_clicks<%= primary_key_type %> do |t| t.string :campaign, index: true t.string :token end add_column :ahoy_messages, :campaign, :string add_index :ahoy_messages, :campaign end
end