mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 16:41:38 -04:00
lk | remove unused fields on bikes & fix some formatting
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user