Table Freelancers modification to add the salt and hash and to make the email address unique and not null

This commit is contained in:
Tina_Azure
2023-04-19 02:04:56 +02:00
parent 27f338c166
commit 795048018c

View File

@ -24,7 +24,9 @@ sudo -u postgres psql -c "CREATE TABLE requests(
sudo -u postgres psql -c "CREATE TABLE freelancers(
id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
emailAddress text,
emailAddress text UNIQUE NOT NULL,
salt text NOT NULL,
hash text NOT NULL,
name text,
generalInformation text,
basicInformation text,