Skip to content
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

Use mix ecto.setup instead of mix ecto.migrate and seed command #1087

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

evancloutier
Copy link
Contributor

Why

mix ecto.setup is an alias that will execute the following commands:

"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],

This will ensure that the database that needs to be created exists!

@evancloutier evancloutier added release/minor Author minor release release/patch Author patch release and removed release/minor Author minor release labels Apr 15, 2024
@evancloutier evancloutier merged commit 5fe690e into main Apr 15, 2024
94 checks passed
@evancloutier evancloutier deleted the evan/elixir-ecto-setup branch April 15, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/patch Author patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant