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:
parent
daa4b912e6
commit
898337a07e
5
db/migrate/20160717165815_add_fixed_at_to_bikes.rb
Normal file
5
db/migrate/20160717165815_add_fixed_at_to_bikes.rb
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
class AddFixedAtToBikes < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :bikes, :fixed_at, :datetime
|
||||||
|
end
|
||||||
|
end
|
@ -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…
x
Reference in New Issue
Block a user