Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Re : Infomix create table primary key

$
0
0
<createTable tableName="tableName">
            <column autoIncrement="true" name="id" type="bigint">
                <constraints nullable="false" primaryKey="true" />
            </column>
</createTable>

if (!((isSinglePrimaryKeyColumn && isPrimaryKeyAutoIncrement) && isSinglePrimaryKeyColumn))/*)*/ {


The problem ist the negation in the if clause. The if clause should be executed when it is a single primary key column.
Also the variable is used twice in the isSinglePrimaryKeyColumn  if clause. The last one can be removed...I think so.

I don't have a create issue button. I've registered yesterday.

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>