The error was something like:
`cannot perform INSERT RETURNING on relation`