Added note to deliveries. Closes #34
This commit is contained in:
parent
5e1fc73c29
commit
16346e3529
5 changed files with 26 additions and 5 deletions
9
db/migrate/20090812110010_add_note_to_deliveries.rb
Normal file
9
db/migrate/20090812110010_add_note_to_deliveries.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class AddNoteToDeliveries < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :deliveries, :note, :text
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :deliveries, :note
|
||||
end
|
||||
end
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20090731132547) do
|
||||
ActiveRecord::Schema.define(:version => 20090812110010) do
|
||||
|
||||
create_table "article_categories", :force => true do |t|
|
||||
t.string "name", :default => "", :null => false
|
||||
|
|
@ -75,6 +75,7 @@ ActiveRecord::Schema.define(:version => 20090731132547) do
|
|||
t.integer "supplier_id"
|
||||
t.date "delivered_on"
|
||||
t.datetime "created_at"
|
||||
t.text "note"
|
||||
end
|
||||
|
||||
create_table "financial_transactions", :force => true do |t|
|
||||
|
|
@ -261,6 +262,7 @@ ActiveRecord::Schema.define(:version => 20090731132547) do
|
|||
t.datetime "created_on", :null => false
|
||||
t.datetime "updated_on", :null => false
|
||||
t.integer "required_users", :default => 1
|
||||
t.boolean "weekly"
|
||||
end
|
||||
|
||||
add_index "tasks", ["due_date"], :name => "index_tasks_on_due_date"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue