Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
- Migration 071: Add cached_posts (JSONB) and posts_cached_at to social_media_config - Service: get_cached_posts() and save_all_posts_to_cache() methods - Route: New POST endpoint to save posts cache, pass cached data to template - Template: Render cached posts+charts instantly on page load from DB, save to DB after "Load all" or "Refresh", remove AJAX auto-load Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 lines
364 B
SQL
9 lines
364 B
SQL
-- Add cached Facebook posts storage to social_media_config
|
|
-- Posts are cached in DB so they render instantly on page load
|
|
|
|
ALTER TABLE social_media_config ADD COLUMN IF NOT EXISTS cached_posts JSONB;
|
|
ALTER TABLE social_media_config ADD COLUMN IF NOT EXISTS posts_cached_at TIMESTAMP;
|
|
|
|
-- Grant permissions
|
|
GRANT ALL ON TABLE social_media_config TO nordabiz_app;
|