mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
lk | add time_spent field to bikes
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddTimeSpentToBikes < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :bikes, :time_spent, :int
|
||||
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: 20160731020658) do
|
||||
ActiveRecord::Schema.define(version: 20170713233459) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -46,6 +46,7 @@ ActiveRecord::Schema.define(version: 20160731020658) do
|
||||
t.datetime "date_sold"
|
||||
t.integer "bike_index_id"
|
||||
t.datetime "fixed_at"
|
||||
t.integer "time_spent"
|
||||
end
|
||||
|
||||
create_table "clients", force: :cascade do |t|
|
||||
|
||||
Reference in New Issue
Block a user