[DBAL-407] Implement error detection on duplicate table for mysql and sqlite