fix(blog): add restore path for archived posts
TaxBaik CI/CD / build-and-deploy (push) Successful in 4m57s

This commit is contained in:
2026-07-02 11:05:53 +09:00
parent e0b8d4e370
commit ad55bd1884
6 changed files with 38 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
-- Restore archived blog posts that were hidden by soft delete.
-- Use only when the goal is to bring back previously archived posts.
UPDATE blog_posts
SET deleted_at = NULL,
updated_at = NOW()
WHERE deleted_at IS NOT NULL;