Also i'm not quite sure how we are handling the unique indexes later - So perhaps we should also prefix with the through tablename (postgres indexes clash on a global namespace, as opposed to mysql which is table specific)