Prisma не применяет изменения после развертывания Prisma - PullRequest
1 голос
/ 22 февраля 2020

Я обновил некоторые типы в моей модели данных, и после запуска $prisma deploy он показывает, что изменения были внесены. Однако игровая площадка не отражает это, и после повторного запуска $prisma deploy она обновляет те же самые изменения.

ie Я получаю это сообщение снова и снова, что наводит меня на мысль, что мои обновления не Сохранение и сообщение терминала каждый раз, когда я запускаю $prisma deploy

Deploying service `default` to stage `default` to server `local` 6.4s

Changes:

  User (Type)
  ~ Updated field `email`. It became unique.
  + Created field `posts` of type `[Post!]!`
  + Created field `comments` of type `[Comment!]!`

  Post (Type)
  + Created type `Post`
  + Created field `id` of type `ID!`
  + Created field `title` of type `String!`
  + Created field `body` of type `String!`
  + Created field `published` of type `Boolean!`
  + Created field `author` of type `User!`
  + Created field `comments` of type `[Comment!]!`

  Comment (Type)
  + Created type `Comment`
  + Created field `id` of type `ID!`
  + Created field `text` of type `String!`
  + Created field `author` of type `User!`
  + Created field `post` of type `Post!`

  PostToUser (Relation)
  + Created an inline relation between `Post` and `User` in the column `author` of table `Post`

  CommentToUser (Relation)
  + Created an inline relation between `Comment` and `User` in the column `author` of table `Comment`

  CommentToPost (Relation)
  + Created an inline relation between `Comment` and `Post` in the column `post` of table `Comment`

Applying changes 23.6s

Your Prisma endpoint is live:

  HTTP:  http://localhost:4466
  WS:    ws://localhost:4466

You can view & edit your data here:

  Prisma Admin: http://localhost:4466/_admin
...