Last active
April 20, 2023 09:50
-
-
Save felipeelias/10796e6bef80782e9f2c83c03e3e8ac0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const SegfaultHandler = require('segfault-handler'); | |
SegfaultHandler.registerHandler('crash.log'); | |
const { PrismaClient } = require('@prisma/client'); | |
async function main() { | |
const prisma = new PrismaClient(); | |
const { id } = await prisma.notification.create({ data: { to: "[email protected]" } }); | |
console.log(id) | |
} | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment