V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
victimsss
V2EX  ›  程序员

被一个古早 bug 浪费了很久时间

  •  
  •   victimsss · 25 天前 · 1337 次点击
    一开始以为是 postgre 的问题,后来以为是 nestjs 的问题,最后怀疑是我的问题,心累。
    https://github.com/typeorm/typeorm/issues/4015
    6 条回复    2024-05-28 18:04:03 +08:00
    twig
        1
    twig  
       25 天前
    💊 送您速效救心丸
    kingwrcy
        2
    kingwrcy  
       25 天前
    使用 prisma 吧
    RTSmile
        3
    RTSmile  
       25 天前 via iPhone
    @kingwrcy prisma 好像没有办法在代码里面运行迁移?
    kingwrcy
        4
    kingwrcy  
       25 天前
    @RTSmile 你为什么要在代码里运行迁移?上线之前先执行 npx prisma migrate deploy 就行了.
    victimsss
        5
    victimsss  
    OP
       25 天前
    @kingwrcy #2 已经在考虑了 👍
    victimsss
        6
    victimsss  
    OP
       25 天前
    @twig 早已习以为常😔
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2348 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 02:20 · PVG 10:20 · LAX 19:20 · JFK 22:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.