title: How to drop constraint on postgers?
body: <p>I have created a constraint this way: </p>
  
  <pre><code>ALTER TABLE  varaus  ADD FOREIGN KEY ( varaus_id ) REFERENCES  kayttaja  ( id );
  </code></pre>
  
  <p>But when trying to drop it:</p>
  
  <pre><code>ALTER TABLE varaus DROP CONSTRAINT varaus_id;
  </code></pre>
  
  <p>I get the error:</p>
  
  <pre><code>ERROR:  constraint "varaus_id" of relation "varaus" does not exist
  </code></pre>
  
  <p>I have also tried: </p>
  
  <pre><code>ALTER TABLE varaus DROP CONSTRAINT varaus_fkey;
  ALTER TABLE varaus DROP CONSTRAINT id;
  </code></pre>