Skip to content

[BUG] Archived Channels during migration has an warning/error #2

@monckey100

Description

@monckey100

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

{
  data: {
    archivedChannels: {
      createMany: {
        data: []
      }
    },
    category: {
      connect: {
?       id?: Int
      },
?     create?: CategoryCreateWithoutTicketsInput | CategoryUncheckedCreateWithou                                                                                                                                                                                                                                                                                                                                                           tTicketsInput,
?     connectOrCreate?: {
?       where: CategoryWhereUniqueInput,
?       create: CategoryCreateWithoutTicketsInput | CategoryUncheckedCreateWitho                                                                                                                                                                                                                                                                                                                                                           utTicketsInput
?     }
    },
    claimedBy: undefined,
    closedBy: undefined,
    closedReason: null,
    createdAt: new Date('2022-10-07T16:59:22.000Z'),
    createdBy: {
      connectOrCreate: {
        create: {
          id: '979270263592087582'
        },
        where: {
          id: '979270263592087582'
        }
      }
    },
    firstResponseAt: new Date('2022-10-07T17:03:20.000Z'),
    guild: {
      connect: {
        id: '957713464548270161'
      }
    },
    id: '1027988522059182150',
    lastMessageAt: new Date('2022-10-07T17:06:41.000Z'),
    number: 28,
    open: true,
    openingMessageId: '1027988524001132595',
    pinnedMessageIds: [],
    topic: null
  }
}

Argument data.category.connect of type CategoryWhereUniqueInput needs at least o                                                                                                                                                                                                                                                                                                                                                           ne argument. Available args are listed in green.

Note: Lines with ? are optional.

Expected Behavior

Migrate everything successfully

Steps To Reproduce

I followed the guidelines on the main hub

Environment

- OS: Linux
- Node: 18
- NPM: 7.6.3
- Bot: 3.1.3

Anything else?

my discord is godlyreaper, I can provide an SQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions