Programming Phoenix LiveView: reset Ecto in test environment (69)

I would suggest recommending resetting ecto in test environment before running the tests. I was faced with

** (Postgrex.Error) ERROR 42P07 (duplicate_table) relation “users” already exists

which can be confusing. Resetting Ecto before running the tests fixes the issue.

MIX_ENV=test mix ecto.reset