Skip to content

OnDelete CASCADEについて #13

@mahiro72

Description

@mahiro72

現状

あるデータに関連するほかのデータを同時に削除できない

試したこと

  • gorm:"constraint:OnUpdate:CASCADE の追加
  • 関連を指定して削除する(アソシエーション)
    参考サイト

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions