This commit is contained in:
Tomáš Dvořák
2025-10-16 13:32:05 +02:00
commit 12cba639b9
663 changed files with 168914 additions and 0 deletions
@@ -0,0 +1,6 @@
-- Add 'featured' flag to articles
ALTER TABLE articles
ADD COLUMN IF NOT EXISTS featured BOOLEAN NOT NULL DEFAULT FALSE;
-- Optional: index to query featured quickly together with published
CREATE INDEX IF NOT EXISTS idx_articles_featured_published ON articles (featured, published);