add weight-doubling for activities with two weights/limbs (dumbbells, etc.)
- A exercisetracker/trunk/db/migrate/004_add_double_weight_column.rb
- M exercisetracker/trunk/db/schema.rb view
| 15 | 23 | |
|---|---|---|
| 2 | 2 | # migrations feature of ActiveRecord to incrementally modify your database, and |
| 3 | 3 | # then regenerate this schema definition. |
| 4 | 4 | |
| 5 | ActiveRecord::Schema.define(:version => 3) do | |
| 5 | ActiveRecord::Schema.define(:version => 4) do | |
| 6 | 6 | |
| 7 | 7 | create_table "activities", :force => true do |t| |
| 8 | 8 | t.string "name" |
| --- | --- | |
| 13 | 13 | t.boolean "use_distance" |
| 14 | 14 | t.datetime "created_at" |
| 15 | 15 | t.datetime "updated_at" |
| 16 | t.boolean "double_weight", :default => false | |
| 16 | 17 | end |
| 17 | 18 | |
| 18 | 19 | create_table "exercises", :force => true do |t| |
