1
This is the example table
create table usuario(
id serial primary key not null,
nome varchar(100),
email varchar(100),
login varchar(100),
senha varchar(100),
tipo varchar(50),
status varchar(30)
)
I used that code, but it didn’t work
alter table usuario add constraint unique_login unique(login)
which error q gave ?
– Rovann Linhalis
No error, but no Constraint added
– Luan Souza Montanari