ariga / terraform-provider-atlas

Terraform Provider for Atlas
https://atlasgo.io
Apache License 2.0
56 stars 8 forks source link

Fix file:// URLs on Windows #132

Closed NathanBaulch closed 5 months ago

NathanBaulch commented 5 months ago

This simple PR fixes an "invalid port" url.Parse issue caused by back-slashes in file:// URLs on Windows. I can confirm that my Terraform based migrations completed successfully when running this patched version.

NathanBaulch commented 5 months ago

This is closely related to the issue mentioned in https://github.com/ariga/atlas/issues/1528

giautm commented 5 months ago

Hey @NathanBaulch, thank you for your contribution.