mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
v0.2.1
This commit is contained in:
@@ -493,13 +493,6 @@ async function main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Seed fields
|
// Seed fields
|
||||||
await prisma.field.deleteMany({
|
|
||||||
where: {
|
|
||||||
code: {
|
|
||||||
in: fields.map((field) => field.code),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
for (const field of fields) {
|
for (const field of fields) {
|
||||||
await prisma.field.upsert({
|
await prisma.field.upsert({
|
||||||
where: { code: field.code },
|
where: { code: field.code },
|
||||||
|
|||||||
Reference in New Issue
Block a user