Added duration to tasks. Annotated all models.

This commit is contained in:
benni 2011-05-07 20:50:39 +02:00
parent face58ebef
commit dcd2a514a6
30 changed files with 494 additions and 431 deletions

View file

@ -9,7 +9,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20090907120012) do
ActiveRecord::Schema.define(:version => 20110507184920) do
create_table "article_categories", :force => true do |t|
t.string "name", :default => "", :null => false
@ -261,10 +261,6 @@ ActiveRecord::Schema.define(:version => 20090907120012) do
add_index "pages", ["permalink"], :name => "index_pages_on_permalink"
add_index "pages", ["title"], :name => "index_pages_on_title"
create_table "schema_info", :id => false, :force => true do |t|
t.integer "version"
end
create_table "stock_changes", :force => true do |t|
t.integer "delivery_id"
t.integer "order_id"
@ -315,6 +311,7 @@ ActiveRecord::Schema.define(:version => 20090907120012) do
t.datetime "updated_on", :null => false
t.integer "required_users", :default => 1
t.boolean "weekly"
t.integer "duration"
end
add_index "tasks", ["due_date"], :name => "index_tasks_on_due_date"