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

Surrealdb release 1.0.0 #53

Closed johansmitsnl closed 11 months ago

johansmitsnl commented 1 year ago

Switch to the release 1.0.0 version us SurrealDB

happysalada commented 1 year ago

@Odonno looking forward to this, let me know if there is anything I can do to help

rmortes commented 1 year ago

Can confirm this branch is working in the latest version of surreal

marko-lazic commented 12 months ago

Tested it locally and it works. There is one small nit. I had to change script_migration.surql

From DEFINE FIELD executed_at ON script_migration TYPE datetime VALUE $before OR time::now();

To DEFINE FIELD executed_at ON script_migration TYPE datetime DEFAULT time::now() VALUE time::now();

johansmitsnl commented 12 months ago

@marko-lazic don't see how this is related to the change. Sounds more like a bug in surrealdb.

rmortes commented 12 months ago

Not sure if it's a bug or a side effect of the syntax changing a bit, but I had to change that too. But yeah, probably not related to this PR

unidesigner commented 11 months ago

@Odonno Hi David. Is there any reason not to merge this PR and create a new release? surrealdb-migrations does not seem to work with the current version 1.0.0 for me. Thanks.

Odonno commented 11 months ago

Thank you for your help on this @johansmitsnl

@unidesigner Sorry for the long delay, will do it right away.