commented migration for news table

This commit is contained in:
2026-04-24 16:50:27 +02:00
parent ffe81cdf88
commit 04f96b7aba

View File

@@ -30,13 +30,13 @@ CREATE TRIGGER set_news_updated_at
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
-- Block 4: Indexes for fast Queries -- Block 3 Indexes for fast Queries
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
CREATE INDEX idx_news_municipality ON news(municipality_id); CREATE INDEX idx_news_municipality ON news(municipality_id);
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
-- Block 8: Seed Data — Initial News Article -- Block 4: Seed Data — Initial News Article
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
INSERT INTO news (municipality_id, title, content) INSERT INTO news (municipality_id, title, content)
SELECT municipality_id, 'Mitmachkarte gestartet', SELECT municipality_id, 'Mitmachkarte gestartet',