Hey,
I'm trying to import a schema-dump into PostgreSQL with 'psql -U username -W dbname < 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".
I've created the database like this: "createdb -O username dbname"
There are only 7 tables to import, and it breaks with just importing 3 of them.
Anybody a hint, what to do?