CREATE TABLE tbl1( a INTEGER UNIQUE ON CONFLICT IGNORE, b ANY NOT NULL ON CONFLICT ROLLBACK );
CREATE UNIQUE INDEX idx1 ON tbl1(a,b) ON CONFLICT REPLACE;