Skip to content

Add optional time crate support for migrations allowing compilation to wasm target#2865

Closed
jancespivo wants to merge 3 commits intoSeaQL:masterfrom
jancespivo:migration-with-time
Closed

Add optional time crate support for migrations allowing compilation to wasm target#2865
jancespivo wants to merge 3 commits intoSeaQL:masterfrom
jancespivo:migration-with-time

Conversation

@jancespivo
Copy link

@jancespivo jancespivo commented Dec 20, 2025

Use time::OffsetDateTime for migration timestamps when the time feature is enabled instead of std::time::SystemTime. It allows to use migrations on wasm target.

PR Info

  • Closes
  • Dependencies:
  • Dependents:

New Features

Bug Fixes

Breaking Changes

Changes

Use OffsetDateTime for migration timestamps when the time feature is
enabled, falling back to SystemTime otherwise.
@jancespivo jancespivo changed the title Add optional time crate support for migrations Add optional time crate support for migrations allowing compilation on wasm target Dec 20, 2025
@jancespivo jancespivo changed the title Add optional time crate support for migrations allowing compilation on wasm target Add optional time crate support for migrations allowing compilation to wasm target Dec 21, 2025
@Huliiiiii Huliiiiii requested review from Expurple and tyt2y3 January 11, 2026 13:29
tyt2y3 added a commit that referenced this pull request Feb 27, 2026
@tyt2y3
Copy link
Member

tyt2y3 commented Feb 27, 2026

resolved conflict and merged manually. thank you

@tyt2y3 tyt2y3 closed this Feb 27, 2026
@github-actions
Copy link

🎉 Released In 2.0.0-rc.35 🎉

Huge thanks for the contribution!
This feature has now been released, so it's a great time to upgrade.
Show some love with a ⭐ on our repo, every star counts!

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