Phoenix: Use Ecto to Recreate Your Database
Today I learned that it's a bad idea to drop a PostgreSQL table directly with PGAdmin. Afterwards, I got tons of errors, because the table was missing.
I you want to re-create your database from scratch, you should use Ecto.
If you want to completely roll back your database and re-create it, use:
reset is the equivalente of running the following commands:
mix run priv/repo/seeds.exs