1. Daniel Holth
  2. stucco_evolution
  3. Issues
Issue #1 resolved

Properly enclose upgrades in a transaction

Daniel Holth
repo owner created an issue

See https://groups.google.com/d/msg/sqlalchemy/-DfqxNJzHjg/Ku26HxrR0aEJ

The session needs to be explicitly part of a transaction for create_all().

Comments (1)

  1. Daniel Holth reporter

    This is possible as of version 0.33 when the database supports it. The user will have to call connection.begin(), run stucco_evolution with that connection, and then commit or rollback as appropriate.

  2. Log in to comment