mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-02-02 13:14:32 +01:00
chore: remove id from tournament seed
This commit is contained in:
@@ -202,7 +202,6 @@ async function createTournament() {
|
||||
|
||||
const createdTournament = await prisma.tournament.create({
|
||||
data: {
|
||||
id: tournamentMock.id,
|
||||
title: tournamentMock.title,
|
||||
description: tournamentMock.description,
|
||||
start_date: tournamentMock.start_date,
|
||||
@@ -236,12 +235,6 @@ async function createTournament() {
|
||||
}
|
||||
})
|
||||
|
||||
await prisma.skill.createMany({
|
||||
data: skills.map(item => ({
|
||||
id: item.id,
|
||||
title: item.title,
|
||||
}))
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user