prototype of recipe comments
This commit is contained in:
@@ -72,6 +72,15 @@ dotenv.config();
|
||||
);
|
||||
`
|
||||
|
||||
const recipecomments = `
|
||||
CREATE TABLE IF NOT EXISTS recipin.cmp_recipecomments (
|
||||
id INT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
|
||||
commentbody varchar NOT NULL,
|
||||
parentcommentid int,
|
||||
authorid int REFERENCES recipin.appusers (id) NOT NULL
|
||||
);
|
||||
`
|
||||
|
||||
const recipeingredient = `
|
||||
CREATE TABLE IF NOT EXISTS recipin.cmp_recipeingredient (
|
||||
recipeingredientid INT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
|
||||
|
||||
Reference in New Issue
Block a user