mirror of
https://gitea.tendokyu.moe/pinapelz/Mirage.git
synced 2026-10-05 05:08:01 +03:00
20 lines
459 B
TypeScript
20 lines
459 B
TypeScript
import { PrismaClient } from "@prisma/client";
|
|
|
|
const prisma = new PrismaClient();
|
|
|
|
async function main() {
|
|
await prisma.game.createMany({
|
|
data: [{ internalName: "dancerush", formattedName: "DANCERUSH STARDOM", description: "A suffle dancing game from KONAMI"}],
|
|
});
|
|
console.log("Initial seed data inserted");
|
|
}
|
|
|
|
main()
|
|
.catch((e) => {
|
|
console.error(e);
|
|
process.exit(1);
|
|
})
|
|
.finally(async () => {
|
|
await prisma.$disconnect();
|
|
});
|