Emi Matchu
c60e222faa
Pretty straightforward, just add the field to the record, and wire it
all up! I'm glad this seemed to work out pretty well all-in-all 😅
5 lines
153 B
Ruby
5 lines
153 B
Ruby
class AddAltStyleIdToOutfits < ActiveRecord::Migration[7.1]
|
|
def change
|
|
add_reference :outfits, :alt_style, null: true, foreign_key: true
|
|
end
|
|
end
|