<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Data-Modeling on Debimate</title><link>https://debimate.jp/tags/data-modeling/</link><description>Recent content in Data-Modeling on Debimate</description><image><title>Debimate</title><url>https://debimate.jp/images/default-ogp.webp</url><link>https://debimate.jp/images/default-ogp.webp</link></image><generator>Hugo -- 0.161.1</generator><language>ja-JP</language><lastBuildDate>Tue, 11 Aug 2026 18:18:21 +0900</lastBuildDate><atom:link href="https://debimate.jp/tags/data-modeling/index.xml" rel="self" type="application/rss+xml"/><item><title>Soft Delete - 削除フラグを最初の選択肢にしない</title><link>https://debimate.jp/notes/database-systems/soft-delete/</link><pubDate>Tue, 11 Aug 2026 00:00:00 +0000</pubDate><guid>https://debimate.jp/notes/database-systems/soft-delete/</guid><description>&lt;p&gt;削除フラグとは、行を &lt;code&gt;DELETE&lt;/code&gt; する代わりに「削除済み」を表す列を立て、通常の問い合わせからその行を除外する設計です。&lt;code&gt;is_deleted&lt;/code&gt; のような真偽値の列や、&lt;code&gt;deleted_at&lt;/code&gt; のような日時の列で表し、論理削除（logical delete、soft delete）とも呼ばれます。行そのものを表から取り除く物理削除と対になる語です。&lt;/p&gt;</description></item></channel></rss>