Update IDE config and seed file with additional data

Adjusted .idea/workspace.xml for correct recent project path and tasks. Updated seed.ts to include new cryptocurrency records and modified existing promo code details.
This commit is contained in:
Mathis H (Avnyr) 2024-11-27 10:55:28 +01:00
parent 55ec13c0a7
commit cc296d739b
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

View File

@ -16,12 +16,38 @@ async function main() {
await prisma.promoCode.create({
data: {
name: 'PROMO1000',
value: 1000,
name: 'YOLO',
value: 8192,
},
});
await prisma.crypto.create({
data: {
name: 'BTC',
value: 456,
quantity: 2400,
image: "",
}
});
await prisma.crypto.create({
data: {
name: 'ETH',
value: 947,
quantity: 163,
image: "",
}
});
await prisma.crypto.create({
data: {
name: 'DOGE',
value: 1749,
quantity: 482,
image: "",
}
});
}
main()
.then(async () => {
await prisma.$disconnect();