Louis Knapp
9 years ago
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 |
Loading…
Reference in new issue