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

replace shard db connection in favour of tenant #469

Merged
merged 2 commits into from
Feb 11, 2025

Conversation

beesaferoot
Copy link
Contributor

@beesaferoot beesaferoot commented Jan 29, 2025

Brief summary of the change made

With This PR we deprecate usage of shard in favour of tenant.

Update README to reflect shard deprecation.

Make progress on: #208

Are there any other side effects of this change that we should be aware of?

Describe how you tested your changes?

Pull Request checklist

Please confirm you have completed any of the necessary steps below.

  • Meaningful Pull Request title and description
  • Changes tested as described above
  • Added appropriate documentation for the change.
  • Created GitHub issues for any relevant followup/future enhancements if appropriate.

@beesaferoot
Copy link
Contributor Author

beesaferoot commented Jan 29, 2025

I don't think the docs are fully covered; I will need some help with how best to introduce this deprecation.

@beesaferoot beesaferoot changed the title replace shard db connection tenant replace shard db connection in favour of tenant Jan 29, 2025
@beesaferoot beesaferoot requested a review from dmohns January 29, 2025 21:19
Copy link
Member

@dmohns dmohns left a comment

Choose a reason for hiding this comment

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

This is a massive change. Thank you for taking on that challenge 🙏

Let's do this in multiple steps. Let's first merge this PR and try to make double sure everything is working correctly after the changes.

I see 2 more ToDo's:

  1. Update the documentation
  2. Move the Tenant migrations from micropowermanager subfolder to a subfolder called tenant

dmohns
dmohns previously approved these changes Feb 11, 2025
Copy link
Member

@dmohns dmohns left a comment

Choose a reason for hiding this comment

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

Could you resolve the merge conflicts?

@beesaferoot
Copy link
Contributor Author

Fixed merge conflicts, now ready for review. @dmohns

@beesaferoot beesaferoot merged commit d05eee4 into main Feb 11, 2025
11 checks passed
@beesaferoot beesaferoot deleted the replace-shard-with-tenant branch February 11, 2025 19: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.

2 participants