-
Notifications
You must be signed in to change notification settings - Fork 410
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
chore: Upgrade SeaORM to the latest version #4793
Labels
extra-small
bounty size
Comments
@Mantas-M is doing this (can't assign on github bc he's not in the org) |
github-merge-queue bot
pushed a commit
that referenced
this issue
Dec 17, 2024
### Description Updated `sea-orm` and `sea-orm-migration` to `1.1.1` (latest as of opening this PR) and resolved any issues that occurred due to the version bump. ### Drive-by changes - Removed `sea-orm` from `rust/sealevel` - Updated `sea-orm-migration` data types - Bumped up the `rust-toolchain` to `1.81.0` due to `sea-orm-cli` issue: servo/rust-url#992 ### Related issues - Resolves #4793 ### Backward compatibility Yes ### Testing Manual, as described in #4793
This was referenced Dec 17, 2024
tiendn
pushed a commit
to tiendn/hyperlane-monorepo
that referenced
this issue
Jan 11, 2025
### Description Updated `sea-orm` and `sea-orm-migration` to `1.1.1` (latest as of opening this PR) and resolved any issues that occurred due to the version bump. ### Drive-by changes - Removed `sea-orm` from `rust/sealevel` - Updated `sea-orm-migration` data types - Bumped up the `rust-toolchain` to `1.81.0` due to `sea-orm-cli` issue: servo/rust-url#992 ### Related issues - Resolves hyperlane-xyz#4793 ### Backward compatibility Yes ### Testing Manual, as described in hyperlane-xyz#4793
tiendn
pushed a commit
to tiendn/hyperlane-monorepo
that referenced
this issue
Jan 11, 2025
### Description Updated `sea-orm` and `sea-orm-migration` to `1.1.1` (latest as of opening this PR) and resolved any issues that occurred due to the version bump. ### Drive-by changes - Removed `sea-orm` from `rust/sealevel` - Updated `sea-orm-migration` data types - Bumped up the `rust-toolchain` to `1.81.0` due to `sea-orm-cli` issue: servo/rust-url#992 ### Related issues - Resolves hyperlane-xyz#4793 ### Backward compatibility Yes ### Testing Manual, as described in hyperlane-xyz#4793
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Currently we are using obsolete version of SeaORM, namely
0.11.1
and we generate entities using version0.12.3
. It produces different source code for the entities which a developer has to remove when the developer changes the migration scripts.Solution
Upgrade SeaORM to the latest version everywhere:
Tasks
main/Cargo.toml
(sea-orm
andsea-orm-migration
).generate_entities.rs
and regenerate entities. Make sure that new datatypes can handle existing data without issues.sealevel/Cargo.toml
.Testing
The text was updated successfully, but these errors were encountered: