lk | adds explanatory text to waiting list & disables mark_as_sold button for sold bikes, and removes unused columns

This commit is contained in:
Louis Knapp
2016-07-30 20:58:56 -05:00
parent cc3f684e01
commit 9c53f81672
10 changed files with 27 additions and 118 deletions
@@ -0,0 +1,5 @@
class RemoveEntryDateColumnFromBikes < ActiveRecord::Migration
def change
remove_column :bikes, :entry_date
end
end
+1 -2
View File
@@ -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"