You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[user-service] migrate_firebase_users task in tasks_executor #1684
This issue adds a task to import Firebase users into the DB schema.
Proposed solution
The created task should be idempotent. It reads all Firestore user records via the Firebase Admin SDK and upserts users.app_user (skip existing by firebase_uid), stores raw org string in legacy_org_name. Supports dry_run. Safe to run repeatedly during the deployment window.
Field mapping:
DB field
Resolve
users.id
Datastore: uid
users.full_name
Datastore: fullName
users.legacy_org_name
Datastore: organization
notifications => users.notification_subscription linked to api. announcements
Activity