kevlened / fireway

A schema migration tool for firestore
MIT License
279 stars 41 forks source link

Parses hidden migration files and errors #12

Closed bdiz closed 3 years ago

bdiz commented 3 years ago

vi creates .*swp files while editing. So when I'm developing the migration script and I run fireway with --dryrun, I get the following error:

ERROR: Both v0.0.1__move-data-from-user-to-profile.js and .v0.0.1__move-data-from-user-to-profile.js.swp have the same version

My expectation is that files with a leading . would be ignored.

Thanks for this tool! I'm not sure how database migrations is completely ignored by the firebase CLI tool / firestore team.

kevlened commented 3 years ago

Thanks for the feedback. This is fixed in 0.4.0.