You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reduce the complexity of an async migration file <>.async.ts which currently needs to specify two runnable migration functions:
asyncFn (runs with a limit to batch the affected rows)
syncFn runs without a limit to assure data consitency.
The default approach should be, that the async migrator executes the syncFn if specified.
If it's not specified it will run the asyncFn with a LIMIT ALL which is the same as not giving a limit.
This is a postgres specific case and a mysql case needs to be specified.
Then finalizing an async migration will automatically run the asyncFn without a limit.
The text was updated successfully, but these errors were encountered:
To reduce the complexity of an async migration file <>.async.ts which currently needs to specify two runnable migration functions:
The default approach should be, that the async migrator executes the syncFn if specified.
If it's not specified it will run the asyncFn with a
LIMIT ALL
which is the same as not giving a limit.This is a postgres specific case and a mysql case needs to be specified.
Then finalizing an async migration will automatically run the asyncFn without a limit.
The text was updated successfully, but these errors were encountered: