Skip to content

Commit

Permalink
added assignKey column in participant table
Browse files Browse the repository at this point in the history
  • Loading branch information
subru-37 committed Dec 2, 2024
1 parent 9c685d0 commit dbdbb40
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apps/registration-admin/src/pages/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ import { useEffect, useState } from 'react';
import { useParams, useNavigate } from 'react-router-dom';

const Form = () => {
const [attributes, setAttributes] = useState<any[]>([]);
const [attributes, setAttributes] = useState<any[]>([
{ id: 'firstName', name: 'First Name: ' },
{ id: 'lastName', name: 'Last Name: ' },
{ id: 'email', name: 'Email: ' },
{ id: 'phone', name: 'Phone No:' },
]);
const [formData, setFormData] = useState<{ [key: string]: string }>({});
const { eventID, orgID } = useParams<{ eventID: string; orgID: string }>();
const { get, post } = useFetch();
Expand Down
1 change: 1 addition & 0 deletions packages/database/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ model Participant {
email String
phone String?
checkInKey String?
assignedKey String?
eventId String @db.Uuid
event Event @relation(fields: [eventId], references: [id])
organizationId String
Expand Down

0 comments on commit dbdbb40

Please sign in to comment.