Browse Source

lk | adds fixed_at column to bikes

master
Louis Knapp 8 years ago
parent
commit
898337a07e
  1. 5
      db/migrate/20160717165815_add_fixed_at_to_bikes.rb
  2. 3
      db/schema.rb

5
db/migrate/20160717165815_add_fixed_at_to_bikes.rb

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

3
db/schema.rb

@ -11,7 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # 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 # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
@ -46,6 +46,7 @@ ActiveRecord::Schema.define(version: 20151230021120) do
t.text "mechanic" t.text "mechanic"
t.date "date_sold" t.date "date_sold"
t.integer "bike_index_id" t.integer "bike_index_id"
t.datetime "fixed_at"
end end
create_table "clients", force: :cascade do |t| create_table "clients", force: :cascade do |t|

Loading…
Cancel
Save