<div dir="ltr">I am working on this ticket <a href="https://github.com/diennea/herddb/issues/125">Issue-125</a>. Couple of questions -<div>1. Currently ColumnTypes in herddb are part of the ColumnTypes class. I am thinking of using an enum </div><div>E.g </div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:Menlo;font-size:9pt"><span style="color:rgb(204,120,50)">public enum </span>ColumnTypes {<br><br>    <span style="color:rgb(152,118,170);font-style:italic">NULLABLE_STRING</span>(<span style="color:rgb(104,151,187)">0</span><span style="color:rgb(204,120,50)">, </span><span style="color:rgb(106,135,89)">&quot;nullable string&quot;</span>)<span style="color:rgb(204,120,50)">,<br></span><span style="color:rgb(204,120,50)">    </span><span style="color:rgb(152,118,170);font-style:italic">LONG</span>(<span style="color:rgb(104,151,187)">1</span><span style="color:rgb(204,120,50)">, </span><span style="color:rgb(106,135,89)">&quot;long&quot;</span>)<span style="color:rgb(204,120,50)">,<br></span><span style="color:rgb(204,120,50)">    </span><span style="color:rgb(152,118,170);font-style:italic">INTEGER</span>(<span style="color:rgb(104,151,187)">2</span><span style="color:rgb(204,120,50)">, </span><span style="color:rgb(106,135,89)">&quot;integer&quot;</span>)<span style="color:rgb(204,120,50)">,<br></span><span style="color:rgb(204,120,50)">    </span><span style="color:rgb(152,118,170);font-style:italic">NULLABLE_BYTEARRAY</span>(<span style="color:rgb(104,151,187)">3</span><span style="color:rgb(204,120,50)">, </span><span style="color:rgb(106,135,89)">&quot;nullable bytearray&quot;</span>)<span style="color:rgb(204,120,50)">,<br></span><span style="color:rgb(204,120,50)">    </span><span style="color:rgb(152,118,170);font-style:italic">NULLABLE_TIMESTAMP</span>(<span style="color:rgb(104,151,187)">4</span><span style="color:rgb(204,120,50)">, </span><span style="color:rgb(106,135,89)">&quot;nullable timestamp&quot;</span>)<span style="color:rgb(204,120,50)">,<br></span><span style="color:rgb(204,120,50)"> </span></pre></div><div>It breaks a lot of code which I am ok to fix. Want your opinion on this?</div><div><br></div><div>2. Do we want to add support for null constraints on integers, longs and other data types. I have added support for string, byte array, timestamp.</div><div><br></div><div>3. Once I make changes I want to test if we enforce the not null constraints in DDL queries. Any suggestions how to go about this?</div></div>