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

feat: make appflowy-cloud migrate use feature flags #627

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Horusiath
Copy link
Collaborator

@Horusiath Horusiath commented Jun 17, 2024

This PR modifies how we're running appflowy migrations. It basically provides a custom migration source capable of providing alternative migration sub-directories to be included/excluded in migration process. These can be used for conditional features like AI search/indexing and are execute in their order to creation.

It only affects migrations run by appflowy-cloud start process, and NOT by sqlx migrate CLI command. To do that we would need to send PR to sqlx itself.

It also introduces an ai feature flag that can is used for conditional inclusion of search feature. (probably will need to change the name to something like vector-search).

@Horusiath Horusiath marked this pull request as draft June 18, 2024 07:10
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.

1 participant