title: Error Relation does not exist
body: <p>I am getting a <code>[error: relation "causes" does not exist]</code> error from my node app. The relation does exist, I'm not sure what the problem is.</p>
  
  <p>I created the table with</p>
  
  <pre><code>CREATE TABLE causes (
  
  cause_id bigint NOT NULL default nextval('causes_cause_id_seq'::regclass),
  cause_name varchar(40) NOT NULL,
  goal integer,
  sponsor varchar(30),
  organization varchar(30),
  submitter varchar(30),
  address varchar(34),
  balance numeric
  
  );
  </code></pre>
  
  <p>This is the query that's giving the error:</p>
  
  <pre><code>client = pg.connect(connectionString, function(err, client, done){
      if(err) console.log(err);
  
      client.query('INSERT INTO causes (cause_name, goal, organization, sponsor, submitter) VALUES ($1,$2,$3,$4,$5) RETURNING *', r, function(err, result){
      if(err) console.log(err);
      });
  });
  </code></pre>