<div dir="ltr">Hi all, <br><div><br></div><div>I have some question about fixing old DB migrations.</div><div><br></div><div>If we are now in havana. And some broken migration was added in Havana. </div><div>Why we are not able to fix it directly?</div>
<div><br></div><div>Instead of chaining few lines, we should add new migration that do some magic.</div><div><br></div><div>For example in this migration</div><div><a href="https://review.openstack.org/#/c/33127/19">https://review.openstack.org/#/c/33127/19</a><br>
</div><div><br></div><div>We have add unique constraint with wrong name, And it won't work properly in psql and mysql. </div><div><br></div><div>Because of "strange" rule don't touch old migrations in any case we have to write one more migration: </div>
<div><a href="https://review.openstack.org/#/c/37251/">https://review.openstack.org/#/c/37251/</a> that recreate this unique constraint with correct name. </div><div><br></div><div><br></div><div>Probably we should rethink this rule? </div>
<div><br></div><div><br></div><div>Best regards,</div><div>Boris Pavlovic</div><div><br></div><div>Mirantis Inc.</div><div><br></div></div>