mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-05 03:02:56 +00:00
upload
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user