16 lines
197 B
Ruby
16 lines
197 B
Ruby
|
|
||
|
|
||
|
class AddCampaignAttachments < ActiveRecord::Migration
|
||
|
|
||
|
def self.up
|
||
|
add_column :attachments, :campaign_id, :integer
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_column :attachments, :campaign_id
|
||
|
end
|
||
|
|
||
|
end
|
||
|
|
||
|
|