From aec5ed5b8b27d0570ab58b0678b73127cce620d6 Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Sun, 30 Mar 2025 18:43:47 +0800 Subject: [PATCH] feat(seed): add displayId for test data --- prisma/seed.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prisma/seed.ts b/prisma/seed.ts index 3b75ea0..2411750 100644 --- a/prisma/seed.ts +++ b/prisma/seed.ts @@ -64,6 +64,7 @@ const userData: Prisma.UserCreateInput[] = [ problems: { create: [ { + displayId: 1000, title: "Two Sum", description: `Given an array of integers \`nums\` and an integer \`target\`, return indices of the two numbers such that they add up to \`target\`. @@ -320,6 +321,7 @@ public: }, }, { + displayId: 1001, title: "Add Two Numbers", description: `You are given two **non-empty** linked lists representing two non-negative integers. The digits are stored in **reverse order**, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list. @@ -508,6 +510,7 @@ public: problems: { create: [ { + displayId: 1002, title: "Median of Two Sorted Arrays", description: `Given two sorted arrays \`nums1\` and \`nums2\` of size \`m\` and \`n\` respectively, return **the median** of the two sorted arrays.