metasploit-framework/data/sql/migrate/20101009023300_add_campaign...

16 lines
197 B
Ruby
Raw Normal View History

class AddCampaignAttachments < ActiveRecord::Migration
def self.up
add_column :attachments, :campaign_id, :integer
end
def self.down
remove_column :attachments, :campaign_id
end
end