fix(blog): align soft delete with deleted_at
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m44s

This commit is contained in:
2026-07-02 11:23:18 +09:00
parent b06c0f99fb
commit 15c261a49d
5 changed files with 26 additions and 38 deletions
@@ -0,0 +1,6 @@
ALTER TABLE blog_posts
ADD COLUMN IF NOT EXISTS deleted_at TIMESTAMPTZ;
CREATE INDEX IF NOT EXISTS idx_blog_posts_deleted_at
ON blog_posts (deleted_at)
WHERE deleted_at IS NOT NULL;