-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: best way to use more than 1 data store in a migration? #49
Comments
I would use a ES seed function for this. If you need specific mappings in the ES index I'd do that in a migrator. If this is something you want to do repeatedly, I'd make the seed function idempotent and add it to a cron job.
|
Seeds are not an option: we'd like to not have any seeds in production. What's the best way to access connection info of other data stores from a migrator? |
I see your problem, even with seeds there is no way of getting the One potential fix is to pass the joplin "conf" map through to the core multi-methods which would allow you to call |
@martintrojer ok, I'll have a look. |
@martintrojer should |
sounds reasonable, please add it to args of the seed functions aswell. |
I'd like to write a migration that loads data from PG and indexes it with ES. What's the recommended way of doing that with Joplin?
The text was updated successfully, but these errors were encountered: