Kairo-Jinkendo/backend/seeds/seed_002_bootstrap_admin.py
Lars 7a6eb3abe8
Some checks failed
Deploy Development / deploy (push) Failing after 36s
Test Suite / pytest-backend (push) Failing after 0s
Test Suite / k6 /api/health Baseline (push) Has been skipped
Test Suite / playwright-smoke (push) Has been skipped
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Idempotentes Data-Seed-System neben Schema-Migrationen einfuehren.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-04 20:28:07 +02:00

10 lines
215 B
Python

"""Bootstrap portal admin from KAIRO_BOOTSTRAP_* when no users exist."""
from __future__ import annotations
def run() -> None:
from bootstrap import bootstrap_admin_if_needed
bootstrap_admin_if_needed()