From 73aa680202d12633c28322f91708155278a97aea Mon Sep 17 00:00:00 2001 From: xfy Date: Wed, 17 Jun 2026 11:56:39 +0800 Subject: [PATCH] refactor(migrations): remove redundant idx_posts_slug index --- migrations/002_posts.sql | 1 - 1 file changed, 1 deletion(-) diff --git a/migrations/002_posts.sql b/migrations/002_posts.sql index 865bb6b..111a0bb 100644 --- a/migrations/002_posts.sql +++ b/migrations/002_posts.sql @@ -21,7 +21,6 @@ CREATE TABLE IF NOT EXISTS posts ( ); CREATE INDEX idx_posts_status_published ON posts(status, published_at DESC) WHERE deleted_at IS NULL; -CREATE INDEX idx_posts_slug ON posts(slug) WHERE deleted_at IS NULL; CREATE UNIQUE INDEX idx_posts_slug_unique ON posts(slug) WHERE deleted_at IS NULL; CREATE TABLE IF NOT EXISTS tags (