* Add recruits column to weapons * Populate recruits column with granblue_ids * Remove recruits_id and index recruits
6 lines
217 B
Ruby
6 lines
217 B
Ruby
class RemoveRecruitsIdFromWeapons < ActiveRecord::Migration[7.0]
|
|
def change
|
|
remove_column :weapons, :recruits_id, :uuid
|
|
remove_index :weapons, :recruits_id if index_exists?(:weapons, :recruits_id)
|
|
end
|
|
end
|