dwyl / dwyl/learn-phoenix

Updating the Ecto test database

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
discuss
Dominant language
No language data
Stars
664
Forks
41
PR merge metrics
No merged PRs in 30d

Description

I had a problem where the test database wasn't updating correctly. It usually does this automatically from the migrations. [Posted problem + answer here](http://stackoverflow.com/questions/42162347/how-to-rollback-reset-or-drop-ecto-test-database/42162348#42162348) 👍 .

Contributor guide

Open the contributing guide

Research direction

Start by locating the Ecto migration and test-database guidance, then compare it with the linked Stack Overflow problem and answer. Done means the project clearly explains how to recover when the test database does not update automatically, including the relevant rollback, reset, or drop steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
databases, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.