Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support embedded filesystem migrations #388

Merged
merged 1 commit into from
Feb 21, 2023
Merged

Conversation

amacneil
Copy link
Owner

@amacneil amacneil commented Feb 20, 2023

Support passing fs.FS to support embedded filesystems. Defaults to the directory filesystem.

Also cleaned up Migration object and parsing, and simplified FindMigrations() to always return the application status of each migration.

Closes #193
Closes #346

@amacneil amacneil force-pushed the support-migrations-embedding branch 2 times, most recently from e91be5b to be85b6b Compare February 21, 2023 00:19
@amacneil amacneil changed the title Support embedded filesystem Support embedded filesystem migrations Feb 21, 2023
@amacneil amacneil force-pushed the support-migrations-embedding branch 3 times, most recently from c0d41a8 to 115e251 Compare February 21, 2023 01:05
@amacneil amacneil merged commit afe38bd into main Feb 21, 2023
@amacneil amacneil deleted the support-migrations-embedding branch February 21, 2023 01:12
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.

Support go1.16 io/fs.FS concept for file embedding
1 participant