student table optimization adn docker testing
This commit is contained in:
@@ -6,20 +6,39 @@ const studentSelectSchema = createSelectSchema(students);
|
||||
export type Student = z.infer<typeof studentSelectSchema>;
|
||||
|
||||
export const columns: ColumnDef<Student>[] = [
|
||||
{
|
||||
accessorKey: 'id',
|
||||
header: 'ID',
|
||||
},
|
||||
{
|
||||
accessorKey: 'firstName',
|
||||
header: 'First Name',
|
||||
filterFn: 'includesString',
|
||||
},
|
||||
{
|
||||
accessorKey: 'lastName',
|
||||
header: 'Last Name',
|
||||
filterFn: 'includesString',
|
||||
},
|
||||
{
|
||||
accessorKey: 'rollNumber',
|
||||
header: 'Roll Number',
|
||||
filterFn: 'includesString',
|
||||
},
|
||||
{
|
||||
accessorKey: 'email',
|
||||
header: 'Email',
|
||||
filterFn: 'includesString',
|
||||
},
|
||||
{
|
||||
accessorKey: 'yearOfGraduation',
|
||||
header: 'Year of Graduation',
|
||||
filterFn: 'includesString',
|
||||
},
|
||||
{
|
||||
accessorKey: 'degree',
|
||||
header: 'Degree',
|
||||
filterFn: 'includesString',
|
||||
},
|
||||
{
|
||||
accessorKey: 'branch',
|
||||
header: 'Branch',
|
||||
filterFn: 'includesString',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user