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:
parent
55ec13c0a7
commit
cc296d739b
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user