lk & sh | posts to bike index in development when creating new bike

This commit is contained in:
Loos
2015-08-06 20:29:46 -05:00
parent 66c43e57c2
commit 3224faab0e
12 changed files with 137 additions and 2 deletions
@@ -0,0 +1,5 @@
class AddBikeIndexIdToBikes < ActiveRecord::Migration
def change
add_column :bikes, :bike_index_id, :integer
end
end
+2 -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: 20140923000417) do
ActiveRecord::Schema.define(version: 20150807011518) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -48,6 +48,7 @@ ActiveRecord::Schema.define(version: 20140923000417) do
t.text "new_parts"
t.text "work_done"
t.date "date_sold"
t.integer "bike_index_id"
end
create_table "clients", force: true do |t|