mirror of https://github.com/fspc/BikeShed-1.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
235 B
8 lines
235 B
11 years ago
|
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
|