db username unique

This commit is contained in:
2023-04-27 11:04:23 +02:00
parent 10fd85cf8f
commit a3f276fbdd

View File

@@ -30,7 +30,7 @@ create table if not exists User
(
id int not null auto_increment,
name varchar(45) not null,
username varchar(100) not null,
username varchar(100) not null unique,
password varchar(100) not null,
primary key (id)
);