8 lines
221 B
Ruby
8 lines
221 B
Ruby
|
class AddSelfReferentialRelationshipToPartOfSpeech < ActiveRecord::Migration[7.1]
|
||
|
def change
|
||
|
change_table :part_of_speeches do |t|
|
||
|
t.references :part_of_speech, null: true, foreign_key: true
|
||
|
end
|
||
|
end
|
||
|
end
|