Похожие чаты

Hi guys, when i try to run my migrations got

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?

1 ответов

10 просмотров
Muzaffer-Cıkay Автор вопроса

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

Похожие вопросы

Обсуждают сегодня

Типа вызывать GetParent и проверять на соответствие GetModuleHandle?
The Bird of Hermes
67
Do any of you guys have interesting projects one could join? I'm a Middle Full-Stack developer (JS/TS, React & Node)
Lev Shapiro
40
$res = json_decode($наша строка из респонса); $res1 = array_map(fn($o) => $o->name, $res->breadcrumbs[0]->entities); Как такое будет на Хаскеле?.. В начале весь джейсон, в ко...
Хаскель Моисеевич Гопник
24
Hello, I have a question. Can anyone help me? I want to make my cryptocurrencies, like Tron, untraceable by anyone, even government organizations. I was told that to do this,...
 ➛ Eᒪᕼᗩᗰ
14
I read yesterday that in the near future most cryptos will be gone. It's like there is a lot of bullshit within the crypto sphere and this corruption some way is going to be c...
Kanah The Great
28
В чем сила брат, в NASM или FASM?
Isaac Kleiner
18
Вопрос по диагностике ошибок (я знаю в чем, в данном конкретном примере, я знаю, как исправить, пример модельный, понятно, что в реальности бывает намного запутаннее). module...
ⰄⰎⰋⰐⰐⰑⰛⰤⰧⰧⰩⰄ ⰊⰑⰁⰓⰡⰛⰦⰕⰫ
10
Хтось використовував Vapor на Windows?
Jaroshevskii
15
Hi Everybody I bought BCH when it’s 600 and I’m new in crypto what should I do ?
Khush
12
Тут кста кто-нибудь NeoVim использует?
Simple Sorcerer
13
Карта сайта