title: PostgreSQL - Insert fails n times for n already inserted rows - reset autoincrement
body: <p>For setting up our workbench application we got some db-seed files to populate our postgres-database. One of those files inserts permission-references into the <code>workbench_group_permissions_reference</code> table:</p>
  
  <pre><code>INSERT INTO workbench_group_permissions_reference(id, workbench_groups_id, workbenchgroupspermissions_id)
  VALUES 
  (1, 1, 1),
  (2, 1, 2),
  (3, 1, 3),
  (4, 1, 4),
  (5, 1, 5),
  (6, 1, 6),
  (7, 1, 7),
  (8, 1, 8),
  (9, 1, 9),
  (10, 1, 10),
  (11, 1, 11),
  (12, 1, 12),
  (13, 1, 13),
  (14, 1, 14),
  (15, 1, 15);
  </code></pre>
  
  <p>The problem is that the auto-increment counter is still at <code>0</code> after running this script &amp; new inserts fail with an <code>Duplicate identifier</code>-Error.</p>
  
  <p>Is there any way I can update the auto-increment counter after my script did run?</p>