mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Changing bike_status to bike_purporse
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class BikeStatusToPurpose < ActiveRecord::Migration
|
||||
def change
|
||||
rename_column :bikes, :bike_status_id, :bike_purpose_id
|
||||
rename_column :bike_statuses, :status, :purpose
|
||||
rename_table :bike_statuses, :bike_purposes
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user