How do you create a unique index on two columns in Ecto, which would correspond to this:
CREATE TABLE someTable (
col1 int NOT NULL,
col2 int NOT NULL,
primary key (col1, col2)
)
?
How do you create a unique index on two columns in Ecto, which would correspond to this:
CREATE TABLE someTable (
col1 int NOT NULL,
col2 int NOT NULL,
primary key (col1, col2)
)
?
برچسب:
نویسنده: استخدام کار