Added duration to tasks. Annotated all models.
This commit is contained in:
parent
face58ebef
commit
dcd2a514a6
30 changed files with 494 additions and 431 deletions
9
db/migrate/20110507184920_add_duration_to_tasks.rb
Normal file
9
db/migrate/20110507184920_add_duration_to_tasks.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class AddDurationToTasks < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :tasks, :duration, :integer
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :tasks, :duration
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue