<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Michael,<br>
<br>
That is something we are working towards having our own CI where we
could catch these things. I do think that having a function in the
utils module of oslo.db to test the length of a table row would be
handy though for projects to leverage as part of their unit tests.<br>
<br>
Octave<br>
<br>
<div class="moz-cite-prefix">On 7/26/2017 4:54 PM, Michael Bayer
wrote:<br>
</div>
<blockquote
cite="mid:CAGi8UVeeaYB5AHCD7GgNO31+uHM=K9hnROBJpfSRW45ja4C+nQ@mail.gmail.com"
type="cite">
<div dir="auto">
<div><br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="elided-text">
<br>
</div>
thinking out loud<br>
<br>
oslo_db.sqlalchemy.types.<wbr>String(255,
mysql_small_rowsize=64)<br>
oslo_db.sqlalchemy.types.<wbr>String(255,
mysql_small_rowsize=sa.<wbr>TINYTEXT)<br>
oslo_db.sqlalchemy.types.<wbr>String(255,
mysql_small_rowsize=sa.TEXT)<br>
<br>
<br>
so if you don't have mysql_small_rowsize, nothing
happens.<br>
</blockquote>
</div>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Also, these flags in theory would *only* be in
an old migration file. Going forward, we'd hope that Oracle
will be running its own CI and ensuring new migrations don't
go over the limits , right ? New columns would ideally not
have conditional datatype rules at all.</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
<br>
<div class="moz-signature"><br>
<font color="#666666" size="2" face="Verdana, Arial, Helvetica,
sans-serif"><font color="#666666" size="2" face="Verdana, Arial,
Helvetica, sans-serif"></font></font></div>
</body>
</html>