2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2022-11-09 17:05:21 -03:00
|
|
|
class CreateTargets < ActiveRecord::Migration[4.2]
|
2014-06-26 09:08:26 +02:00
|
|
|
def change
|
|
|
|
|
create_table :targets do |t|
|
|
|
|
|
t.integer :conference_id
|
|
|
|
|
t.integer :campaign_id
|
|
|
|
|
t.date :due_date
|
|
|
|
|
t.integer :target_count
|
|
|
|
|
t.string :unit
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|