commit | 8f7ddc74c2def8ae5f4212e83e2f2065ce9c2f28 | [log] [tgz] |
---|---|---|
author | Kevin Benton <kevin@benton.pub> | Wed Jun 14 15:36:55 2017 -0700 |
committer | Kevin Benton <kevin@benton.pub> | Wed Jun 14 18:47:17 2017 -0700 |
tree | be55b151dae89e55dd081901f650a10cb399735f | |
parent | cf3ff24c07475e67a005d14b60ed4b929ecc9d90 [diff] |
Manually increment revision numbers in revision plugin Don't rely on the SQLAlchemy revision_col flag to bump revision numbers and instead bump them in a before_flush handler. This will allow the follow-up patch to do enforcement on conditional updates before the revision number is incremented. Partial-Bug: #1493714 Partially-Implements: blueprint push-notifications Change-Id: I5feeec5b8385727eff53dc669363bc41db8ceaba