mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
lk | adds explanatory text to waiting list & disables mark_as_sold button for sold bikes, and removes unused columns
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class RemoveEntryDateColumnFromBikes < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :bikes, :entry_date
|
||||
end
|
||||
end
|
||||
+1
-2
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20160724130507) do
|
||||
ActiveRecord::Schema.define(version: 20160731014517) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -28,7 +28,6 @@ ActiveRecord::Schema.define(version: 20160724130507) do
|
||||
end
|
||||
|
||||
create_table "bikes", force: :cascade do |t|
|
||||
t.string "entry_date"
|
||||
t.string "brand"
|
||||
t.string "model"
|
||||
t.string "bike_type"
|
||||
|
||||
Reference in New Issue
Block a user