lk | remove unused fields on bikes & fix some formatting

This commit is contained in:
Louis Knapp
2015-09-18 17:25:06 -05:00
parent f30e9c6fed
commit 2c98232f46
11 changed files with 36 additions and 20 deletions
@@ -0,0 +1,6 @@
class RemoveUnusedBikeFields < ActiveRecord::Migration
def change
remove_column :bikes, :work_done
remove_column :bikes, :new_parts
end
end
@@ -0,0 +1,5 @@
class RemoveUnusedClientFields < ActiveRecord::Migration
def change
remove_column :clients, :weight
end
end
@@ -0,0 +1,6 @@
class UpdateBikeFieldNames < ActiveRecord::Migration
def change
rename_column :bikes, :notes, :work_done
rename_column :bikes, :tag_info, :new_parts
end
end