Closed johansmitsnl closed 11 months ago
@Odonno looking forward to this, let me know if there is anything I can do to help
Can confirm this branch is working in the latest version of surreal
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();
@marko-lazic don't see how this is related to the change. Sounds more like a bug in surrealdb.
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
@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.
Thank you for your help on this @johansmitsnl
@unidesigner Sorry for the long delay, will do it right away.
Switch to the release 1.0.0 version us SurrealDB