From 95b5dba1338e7d337451cb54f1e3f1b307e117ca Mon Sep 17 00:00:00 2001 From: Vedant Londhe Date: Fri, 31 Jan 2025 12:26:42 +0530 Subject: [PATCH 1/2] Update www --- contacts-troubleshoot/bin/www | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/contacts-troubleshoot/bin/www b/contacts-troubleshoot/bin/www index d3a1fdae3..b268af1d8 100755 --- a/contacts-troubleshoot/bin/www +++ b/contacts-troubleshoot/bin/www @@ -1,8 +1,6 @@ #!/usr/bin/env node -/** - * Module dependencies. - */ + var app = require('../app'); var debug = require('debug')('contacts:server'); From fcdb6e66c29e6dd07b3e89d2a4eb47cea440fafd Mon Sep 17 00:00:00 2001 From: Vedant Londhe Date: Fri, 31 Jan 2025 12:28:46 +0530 Subject: [PATCH 2/2] Update contacts.sql --- contacts-troubleshoot/sql/contacts.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contacts-troubleshoot/sql/contacts.sql b/contacts-troubleshoot/sql/contacts.sql index a22bbd90b..ffbe7aa00 100644 --- a/contacts-troubleshoot/sql/contacts.sql +++ b/contacts-troubleshoot/sql/contacts.sql @@ -1,5 +1,5 @@ drop table if exists contacts; - +/*create table */ create table contacts(id serial primary key,firstname varchar(30) not null,lastname varchar(30) not null, email varchar(30) not null); insert into contacts(firstname, lastname, email) values