Implements targets and campaigns for conference
This commit is contained in:
parent
678fe38a25
commit
857ac43e74
40 changed files with 1086 additions and 44 deletions
12
db/migrate/20140616132153_create_targets.rb
Normal file
12
db/migrate/20140616132153_create_targets.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
class CreateTargets < ActiveRecord::Migration
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue