From f0531551d745ab1e09aa30185e8c4b36dbff2e89 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Wed, 28 Sep 2022 07:12:13 -0700 Subject: [PATCH] Add unique to table. --- config/database/hsql/create-schemas.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database/hsql/create-schemas.sql b/config/database/hsql/create-schemas.sql index 30a919bb..defde9fe 100644 --- a/config/database/hsql/create-schemas.sql +++ b/config/database/hsql/create-schemas.sql @@ -1,6 +1,6 @@ CREATE TABLE COLLABORATOR ( id INTEGER NOT NULL IDENTITY, - email VARCHAR(255) NOT NULL, + email VARCHAR(255) NOT NULL UNIQUE, creation_date DATE );