mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
lk & sh | posts to bike index in development when creating new bike
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddBikeIndexIdToBikes < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :bikes, :bike_index_id, :integer
|
||||
end
|
||||
end
|
||||
+2
-1
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user