15 lines
321 B
Ruby
15 lines
321 B
Ruby
|
|
class CreateCampaigns < ActiveRecord::Migration
|
||
|
|
def change
|
||
|
|
create_table :campaigns do |t|
|
||
|
|
t.integer :conference_id
|
||
|
|
t.string :name
|
||
|
|
t.string :utm_source
|
||
|
|
t.string :utm_medium
|
||
|
|
t.string :utm_term
|
||
|
|
t.string :utm_content
|
||
|
|
t.string :utm_campaign
|
||
|
|
t.timestamps
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|