Skip to content

Conversation

Hagellach37
Copy link
Member

@Hagellach37 Hagellach37 merged commit a1addf7 into master Feb 3, 2020
fb_db = auth.firebaseDB()
ref = fb_db.reference("projects")
projects = ref.get()
logger.info("got old projects from firebase")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe Retrieved {n_projects} MapSwipe v1 projects from firebase?

Copy link
Member

@ericboucher ericboucher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be a migration rather than a script that will be run multiple times. I suggest making that clearer (maybe move to scripts/migration/?) and stating the end goal at the top of the migration file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants