Commit placeholder work

This commit is contained in:
maddiebaka
2023-12-06 15:53:25 -05:00
parent 60f37ece67
commit 709aa882b3
8 changed files with 56 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
class AddUserIdToPartOfSpeech < ActiveRecord::Migration[7.1]
def change
change_table :part_of_speeches do |t|
t.references :user, null: true, foreign_key: true
end
end
end

View File

@@ -0,0 +1,7 @@
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