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
I created a new table, and not realising an id column is already created, created a new id column and selected primary key. After realising my error I deleted the id column I just created but in the migration it still had both id columns in the Primary Key:
CREATE TABLE art (
id UUID DEFAULT uuid_generate_v4() NOT NULL,
PRIMARY KEY(id, id)
);
The text was updated successfully, but these errors were encountered:
I created a new table, and not realising an id column is already created, created a new id column and selected primary key. After realising my error I deleted the id column I just created but in the migration it still had both id columns in the Primary Key:
The text was updated successfully, but these errors were encountered: