Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
monckey100 opened this issue Jan 1, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@monckey100
Copy link

monckey100 commented Jan 1, 2024

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

@monckey100 monckey100 added the bug Something isn't working label Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant