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

Dbschema migr -- command side #204

Merged
merged 10 commits into from
Dec 6, 2023
Merged

Dbschema migr -- command side #204

merged 10 commits into from
Dec 6, 2023

Conversation

manojdbos
Copy link
Contributor

npx dbos-cloud userdb migrate

Notes:
dbos-config.yaml needs to be pointing to the right database.
This means you should have run

npx dbos-cloud userdb create ....... to provision the db
npx dbos-cloud applications configure ........... to update dbos-config.yaml


}

}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is a use case for users wanting to trigger a rollback manually.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can agree with that. Let us what @kraftp thinks. In we do that should add a npx db-cloud userdb rollback

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have we decided to separate migrate from deploy and provide a manual migrate command? In that case, yeah, we need manual rollback as well.

@manojdbos manojdbos merged commit d0fdedb into main Dec 6, 2023
2 checks passed
@manojdbos manojdbos deleted the dbschema-migr branch December 6, 2023 21:35
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.

4 participants