Odonno / surrealdb-migrations

An awesome SurrealDB migration tool, with a user-friendly CLI and a versatile Rust library that enables seamless integration into any project.
https://crates.io/crates/surrealdb-migrations
MIT License
210 stars 16 forks source link

Does the library support surreal db v2? #88

Closed RustLoverTheCoder closed 1 month ago

RustLoverTheCoder commented 1 month ago

Does the library support surreal db v2? Because I have some features needed in v2 version

RustLoverTheCoder commented 1 month ago

server version 2.0.0 does not match the range supported by the client >=1.0.0, <2.0.0 @Odonno

Odonno commented 1 month ago

Hello @RustLoverTheCoder, I suppose we should indeed move on to the 2.0 train.

The v2.0.0-preview.1 is now released and should support surrealdb v2 alpha version. It is in preview until v2.0 is finally released.

Thank you for your patience.

RustLoverTheCoder commented 1 month ago

@Odonno thank youuuu

zvictor commented 1 week ago

That works with Surrealdb v2.0.0-alpha.10, but not with v2.0.0-beta.1 anymore.

When I run surrealdb-migrations apply against v2.0.0-beta.1 it does not produce any output and the process hangs forever.

Odonno commented 1 week ago

The surrealdb-migrations v2.0.0-preview.2 is now released. It will work with surrealdb v2.0.0-beta.1.