fix(db): make blog cleanup migration idempotent
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m46s
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m46s
This commit is contained in:
@@ -197,7 +197,8 @@ $$,
|
|||||||
1,
|
1,
|
||||||
true,
|
true,
|
||||||
NOW()
|
NOW()
|
||||||
);
|
)
|
||||||
|
ON CONFLICT (slug) DO NOTHING;
|
||||||
|
|
||||||
-- 2. 이번달 부가가치세 신고
|
-- 2. 이번달 부가가치세 신고
|
||||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||||
@@ -399,7 +400,8 @@ $$,
|
|||||||
1,
|
1,
|
||||||
true,
|
true,
|
||||||
NOW()
|
NOW()
|
||||||
);
|
)
|
||||||
|
ON CONFLICT (slug) DO NOTHING;
|
||||||
|
|
||||||
-- 3. 프리랜서를 위한 종합소득세 신고
|
-- 3. 프리랜서를 위한 종합소득세 신고
|
||||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||||
@@ -636,3 +638,4 @@ $$,
|
|||||||
true,
|
true,
|
||||||
NOW()
|
NOW()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user