user registration connects to front end
This commit is contained in:
@@ -21,8 +21,8 @@ dotenv.config();
|
||||
email varchar NOT NULL UNIQUE,
|
||||
password varchar NOT NULL,
|
||||
active boolean NOT NULL,
|
||||
dateregistered varchar NOT NULL,
|
||||
datelastactive varchar NOT NULL
|
||||
datecreated varchar NOT NULL,
|
||||
datemodified varchar NOT NULL
|
||||
);
|
||||
`
|
||||
|
||||
@@ -76,7 +76,8 @@ dotenv.config();
|
||||
CREATE TABLE IF NOT EXISTS recipin.cmp_recipecomments (
|
||||
id INT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
|
||||
commentbody varchar NOT NULL,
|
||||
parentcommentid int,
|
||||
datecreated varchar NOT NULL,
|
||||
recipeid int REFERENCES recipin.recipe (id) NOT NULL,
|
||||
authorid int REFERENCES recipin.appusers (id) NOT NULL
|
||||
);
|
||||
`
|
||||
@@ -112,7 +113,7 @@ dotenv.config();
|
||||
`
|
||||
|
||||
const allStatements = [
|
||||
setRole, appusers, ingredient, collection, recipe,
|
||||
setRole, appusers, ingredient, collection, recipe, recipecomments,
|
||||
groceryList, recipeingredient, userscollections, userfriendships
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user