You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE TABLE some_table
(
id SERIAL PRIMARY KEY NOT NULL,
special_field INTEGER NOT NULL
);
CREATE UNIQUE INDEX pg_unique_some_table_id_special_field ON some_table (id, special_field);
The text was updated successfully, but these errors were encountered:
General description of the problem
Reform does not generate models for tables with
UNIQUE
constraint in body ofCREATE TABLE
Code snippets to reproduce the problem
The next code works:
The text was updated successfully, but these errors were encountered: