Skip to content

updates to support datastore specific migrations#89

Open
phillipweston wants to merge 2 commits intosailshq:masterfrom
vrmmo:promise_support_for_multi_migrations
Open

updates to support datastore specific migrations#89
phillipweston wants to merge 2 commits intosailshq:masterfrom
vrmmo:promise_support_for_multi_migrations

Conversation

@phillipweston
Copy link
Copy Markdown

@phillipweston phillipweston commented Apr 19, 2019

  • made the migration types functions return promises so we can Promise.all elsewhere
  • made it not require a callback

Phillip Weston added 2 commits April 19, 2019 01:44
…ject(err), so that we can Promise.all on the separate migrations for each datastore.
@phillipweston
Copy link
Copy Markdown
Author

I realize this is broken and that the whole thing needs to be under a single Waterline() instance. Attempted to do that, but had some issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant