-- Feature toggles for rate limits and quotas, plus the admin-configurable
-- Datenschutzhinweis. Everything lives in the `config` table — no schema change.
INSERT INTO config (key, value) VALUES
    -- Rate limits (master + per-endpoint)
    ('rate_limits_enabled',        'true'),
    ('upload_rate_enabled',        'true'),
    ('feed_rate_enabled',          'true'),
    ('export_rate_enabled',        'true'),
    ('join_rate_enabled',          'true'),
    -- Quotas (master + per-area)
    ('quota_enabled',              'true'),
    ('storage_quota_enabled',      'true'),
    ('upload_count_quota_enabled', 'true'),
    -- Free-text privacy note shown to guests in My Account. Plain text — no HTML.
    ('privacy_note',               '')
ON CONFLICT (key) DO NOTHING;
