1
0
mirror of https://github.com/fspc/bike-database.git synced 2025-02-23 01:23:24 -05:00

lk | adds fixed_at column to bikes

This commit is contained in:
Louis Knapp 2016-07-17 12:25:53 -05:00
parent daa4b912e6
commit 898337a07e
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
class AddFixedAtToBikes < ActiveRecord::Migration
def change
add_column :bikes, :fixed_at, :datetime
end
end

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20151230021120) do
ActiveRecord::Schema.define(version: 20160717165815) 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: 20151230021120) do
t.text "mechanic"
t.date "date_sold"
t.integer "bike_index_id"
t.datetime "fixed_at"
end
create_table "clients", force: :cascade do |t|