Skip to content

Not backfilling in the set Firestore Database ID #135

@jpa012401

Description

@jpa012401

The backfill script seems to be ignoring the DATABASE env variable and defaulting to the (default) Firestore instance.

I believe this is because the current implementation uses admin.firestore(), which doesn't support the named database selection context we need here. We should update this to use getFirestore(app, DATABASE_NAME) to ensure the backfill targets the correct database instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions