python - Clear postgresql and alembic and start over from scratch -


everything found via searching either wrong or incomplete in way. so, how i:

  • delete in postgresql database
  • delete alembic revisions
  • make database 100% new

this works me:

1) access session, in same way did session.create_all, session.drop_all.

2) delete migration files generated alembic.

3) run session.create_all , initial migration generation again.


Comments