mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
Louis | Add new parts, work done, and date sold to bikes
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class AddNewPartsWorkDoneAndDateSoldToBikes < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :bikes, :new_parts, :text
|
||||
add_column :bikes, :work_done, :text
|
||||
add_column :bikes, :date_sold, :date
|
||||
end
|
||||
end
|
||||
+4
-1
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20140917020156) do
|
||||
ActiveRecord::Schema.define(version: 20140918211228) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -35,6 +35,9 @@ ActiveRecord::Schema.define(version: 20140917020156) do
|
||||
t.integer "log_number"
|
||||
t.text "purpose"
|
||||
t.text "mechanic"
|
||||
t.text "new_parts"
|
||||
t.text "work_done"
|
||||
t.date "date_sold"
|
||||
end
|
||||
|
||||
create_table "clients", force: true do |t|
|
||||
|
||||
Reference in New Issue
Block a user