Skip to content

Put ops that touch the DB into a `with`-able object

salt = SQLAltery()

with salt.connect_to(conn) as obj:
  obj.get_db_revision()
  obj.migrate(...)

Anything that takes a conn should be moved into that object.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information