-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
refactor(business_profile): change id for business profile #5748
Conversation
Review changes with SemanticDiff. Analyzed 22 of 27 files. Overall, the semantic diff is 59% smaller than the GitHub diff. File Information
|
@@ -46,7 +46,7 @@ impl BusinessProfile { | |||
) -> StorageResult<Self> { | |||
generics::generic_find_one::<<Self as HasTable>::Table, _, _>( | |||
conn, | |||
dsl::profile_id.eq(profile_id.to_owned()), | |||
dsl_identifier.eq(profile_id.to_owned()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have separate v1 and v2 functions, for more clarity as there's no profile_id in v2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dashboard specific changes looks fine.
…config-fix * 'main' of github.com:juspay/hyperswitch: feat: add profile_id authentication for business profile update and list (#5673) chore(version): 2024.09.03.0 feat(user): implement invitations api (#5769) feat(connector): [Adyenplatform] add webhooks for payout (#5749) refactor(v2_migrations): re-organize v2 migrations (#5760) chore: add wasm support for connector additional details (#5712) refactor(connector): Move globepay, powertranz, tsys, worldline to hyperswitch_connectors (#5758) fix(cypress): fix cypress throwing error when `connectorId` is not passed and miscellaneous fixes (#5746) chore: fix typos (#5766) refactor(business_profile): change id for business profile (#5748)
Type of Change
Description
This PR drops the id column and creates it again for v2 with varchar. Also
ApiVersion
enum is added.Additional Changes
Motivation and Context
How did you test it?
This is a v2 specific change only. For business profiles table
Checklist
cargo +nightly fmt --all
cargo clippy