Hi! I faced an issue when using Evolve in Kubernetes with mounting migration scripts as volumes via ConfigMap. To make long story short, in that case Kubernetes creates hidden folder ..data with files from ConfigMap at mountPath, and creates symlinks to mounted files, i.e.
Hi! I faced an issue when using Evolve in Kubernetes with mounting migration scripts as volumes via ConfigMap. To make long story short, in that case Kubernetes creates hidden folder
..data
with files from ConfigMap atmountPath
, and creates symlinks to mounted files, i.e.And because Evolve does not skip Hidden files, it crashes with
Found multiple sql migration files with the same version: R__migration.sql
.Also, that behavior is similar with Flyway, which skips hidden files by default.
Tip: I could use GetFiles with EnumerationOptions overload, but it's not supported in netstandard2.0