I would like to achieve the following (from here:
CREATE TABLE example (
a integer,
b integer,
c integer,
UNIQUE (a, c)
);
And I see that there is an (sql/call :unique ...) I can use, but the problem is that I don't really see how to achieve that, maybe because I don't know how to hook in that :with-columns map.
Any recommendation on how to do that?
I would like to achieve the following (from here:
And I see that there is an
(sql/call :unique ...)I can use, but the problem is that I don't really see how to achieve that, maybe because I don't know how to hook in that:with-columnsmap.Any recommendation on how to do that?