#64 バックエンドぼちぼち

This commit is contained in:
2025-10-09 23:47:08 +09:00
parent 19a17e7ba7
commit 915ebcc7cf
5 changed files with 71 additions and 1 deletions
@@ -0,0 +1,9 @@
class CreateTagImplications < ActiveRecord::Migration[8.0]
def change
create_table :tag_implications do |t|
t.references :tag, null: false, foreign_key: { to_table: :tags }
t.references :parent_tag, null: false, foreign_key: { to_table: :tags }
t.timestamps
end
end
end