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,11 +16,37 @@ async function main() {
|
|||||||
|
|
||||||
await prisma.promoCode.create({
|
await prisma.promoCode.create({
|
||||||
data: {
|
data: {
|
||||||
name: 'PROMO1000',
|
name: 'YOLO',
|
||||||
value: 1000,
|
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()
|
main()
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user