<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nobu09</author_name>
  <author_url>https://blog.hatena.ne.jp/nobu09/</author_url>
  <blog_title>日々のこと</blog_title>
  <blog_url>https://hibinokoto.hatenadiary.jp/</blog_url>
  <categories>
    <anon>技術メモ</anon>
  </categories>
  <description>仕事で、削除フラグのカラムを使ってアカウントの無効化を実装しようとしているPRがあり、削除フラグを使うよりも、状態遷移をモデリングするか履歴テーブルを設けることを検討したほうが良いという指摘がありました。 そして、こちらのpodcastを教えてもらったので聞いてみたら、とてもためになる話でした。 ‎fukabori.fm：Apple Podcast内の27. 論理削除とは何か？どのような解法があるのか？ w/ twada 話を聞いて、「とりあえず削除フラグを設ける」という設計はアンチパターンだということがとても納得できました。 （SQLアンチパターンの幻の第26章なんて話も出てました） ブログ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhibinokoto.hatenadiary.jp%2Fentry%2F2020%2F07%2F18%2F130307&quot; title=&quot;論理削除のpodcastを聞いた - 日々のこと&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-07-18 13:03:07</published>
  <title>論理削除のpodcastを聞いた</title>
  <type>rich</type>
  <url>https://hibinokoto.hatenadiary.jp/entry/2020/07/18/130307</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
