delete test files

This commit is contained in:
kjy
2025-12-16 20:07:19 +09:00
parent b6d69c3623
commit ebc41a3863
2 changed files with 0 additions and 40 deletions

View File

@@ -1,20 +0,0 @@
import { prisma } from "../lib/prisma";
async function main() {
// Fetch all users with their posts
// const allUsers = await prisma.realEstateArticle.findMany();
console.log("test");
const test = await prisma.realEstateArticle.findMany();
console.log(test);
// console.log("All users:", JSON.stringify(allUsers, null, 2));
}
main()
.then(async () => {
await prisma.$disconnect();
})
.catch(async (e) => {
console.error(e);
await prisma.$disconnect();
process.exit(1);
});

20
test.ts
View File

@@ -1,20 +0,0 @@
import { prisma } from "./lib/prisma";
async function main() {
// Fetch all users with their posts
// const allUsers = await prisma.realEstateArticle.findMany();
console.log("test");
const test = await prisma.realEstateArticle.findMany();
console.log(test);
// console.log("All users:", JSON.stringify(allUsers, null, 2));
}
main()
.then(async () => {
await prisma.$disconnect();
})
.catch(async (e) => {
console.error(e);
await prisma.$disconnect();
process.exit(1);
});