Table Freelancers modification to add the salt and hash and to make the email address unique and not null
This commit is contained in:
@ -24,7 +24,9 @@ sudo -u postgres psql -c "CREATE TABLE requests(
|
|||||||
|
|
||||||
sudo -u postgres psql -c "CREATE TABLE freelancers(
|
sudo -u postgres psql -c "CREATE TABLE freelancers(
|
||||||
id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
|
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,
|
name text,
|
||||||
generalInformation text,
|
generalInformation text,
|
||||||
basicInformation text,
|
basicInformation text,
|
||||||
|
Reference in New Issue
Block a user