From 3dd1cbb6cef16e674f859c5ab68032fecd5bfe18 Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Thu, 2 Jul 2026 13:52:51 +0900 Subject: [PATCH] fix(db): seed blog category in migration 025 --- db/migrations/V025__AddNineBlogPostsProper.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/db/migrations/V025__AddNineBlogPostsProper.sql b/db/migrations/V025__AddNineBlogPostsProper.sql index e6df0e2..3064769 100644 --- a/db/migrations/V025__AddNineBlogPostsProper.sql +++ b/db/migrations/V025__AddNineBlogPostsProper.sql @@ -2,6 +2,10 @@ -- Each post: 1,500-2,500 words, law citations, 3-step structure -- 2025 tax year basis, accuracy principle +INSERT INTO categories (name, slug, sort_order) +VALUES ('사업자 세무', 'business-tax', 1) +ON CONFLICT (slug) DO NOTHING; + -- 1. 프리랜서가 놓친 경비 5가지 INSERT INTO blog_posts (title, slug, content, category_id, is_published, seo_title, seo_description, tags, created_at, updated_at) VALUES (