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

hackathon registration added #146

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

LovedeepSingh19
Copy link
Contributor

  • Image resizing bug fixed in output logs
  • Hackathon registration added

@LovedeepSingh19 LovedeepSingh19 linked an issue Jan 18, 2024 that may be closed by this pull request
Copy link

vercel bot commented Jan 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sugarcane-ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 18, 2024 6:50pm


model Event {
id String @id @default(uuid())
slug String?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add unique on slug

id String @id @default(uuid())
slug String?
title String?
desc String?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see if long text data type is supported.

Comment on lines +234 to +235
banner String?
eventUsers EventUser[]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a field for time of the event.

Event Event? @relation(fields: [eventId], references: [id])
eventId String?

@@unique([userId])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add unique userId and userId

.mutation(async ({ ctx, input }) => {
const alreadyRegistered = await ctx.prisma.event.findFirst({
where: {
id: input.registerId,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename this as per naming convention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Promptathon Registration
2 participants