Skip to content

Conversation

@Dania02525
Copy link
Owner

Addresses issue #32

Needing work:

  • make the dump more generic- when run can it be appended with set_search_path or USE database_name
  • I don't think this will work async, since it uses searchpath

run_with_cmd("mysqldump", config, ["--no-data",
"--routines",
"--protocol=tcp",
"--databases", build_prefix("template")])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could get away with using ~w() here.

["--user", opts[:username]|args]
true ->
args
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like these should be thrown in private methods. It was a bit hard for me to reason about the purpose of these.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants