Louis | Add new parts, work done, and date sold to bikes

This commit is contained in:
Loos
2014-09-18 17:19:44 -04:00
parent 93b44952f7
commit 693ca3c760
6 changed files with 34 additions and 3 deletions
@@ -0,0 +1,7 @@
class AddNewPartsWorkDoneAndDateSoldToBikes < ActiveRecord::Migration
def change
add_column :bikes, :new_parts, :text
add_column :bikes, :work_done, :text
add_column :bikes, :date_sold, :date
end
end
+4 -1
View File
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20140917020156) do
ActiveRecord::Schema.define(version: 20140918211228) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -35,6 +35,9 @@ ActiveRecord::Schema.define(version: 20140917020156) do
t.integer "log_number"
t.text "purpose"
t.text "mechanic"
t.text "new_parts"
t.text "work_done"
t.date "date_sold"
end
create_table "clients", force: true do |t|