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

fix: fix db override #1384

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Conversation

alexgao001
Copy link
Contributor

Description

when calling the gorm db.save, if all columns are identical to existing row, the save will failed with err Duplicate entry,
then it should skip such err

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

Potential Impacts

  • add potential impacts for other components here
  • ...

@alexgao001 alexgao001 merged commit a9f7a1a into bnb-chain:master Apr 8, 2024
9 checks passed
alexgao001 added a commit that referenced this pull request Apr 10, 2024
(cherry picked from commit a9f7a1a)
constwz added a commit that referenced this pull request Apr 23, 2024
* fix: fix db override (#1384)

(cherry picked from commit a9f7a1a)

* fix: check if BucketExtraInfo is nil

* fix: delegate upload

* fix: delegate upload content type

---------

Co-authored-by: Alexxxxxx <118710506+alexgao001@users.noreply.github.com>
Co-authored-by: BarryTong65 <barrytong.work@gmail.com>
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.

3 participants