this error QueryFailedError: relation "user" already exists. I use typeorm here is my entitties https://paste.ofcode.org/xdjvwmVSawfGiS3CpPVSRx and here is my migrations https://paste.ofcode.org/5irXXGZswWRfsf9ajRQn4T any suggestion?
Hi guys, yestardey I asked this question. @Xen suggested to add CREATE TABLE "User" IF NOT EXISTS. I have no idea why that worked in my pc but not in host database. And today I try to run my migrations in a new database neither my pc nor host database work. Entities https://paste.ofcode.org/cwPhAHyWPWPNFx2RfV7T9f migrations https://paste.ofcode.org/Mt9PKTpSsenz2GmtxewjKL App https://paste.ofcode.org/7XeycaYdeQJ7aA7e8eGPcA ormconfig.json https://paste.ofcode.org/4UpnZLMYiZKwcQiziMaUn Migration running output https://paste.ofcode.org/she8ybGe2Ej58pD3sWh3gg Thanks for your time
Обсуждают сегодня