title: PostgreSQL throws error: "ERROR: permission denied for relation table_name"
body: <p>I'm trying to import a schema-dump into PostgreSQL with 'psql -U username -W dbname &lt; migrations/schema.psql', the Schema is imported partly, but the console throws errors like "ERROR: permission denied for relation table_name" and "ERROR: relation table_name does not exist".</p>
  
  <p>I've created the database like this: "createdb -O username dbname"</p>
  
  <p>There are only 7 tables to import, and it breaks with just importing 3 of them.</p>
  
  <p>Anybody a hint, what to do?</p>