mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2025-07-09 06:00:12 +02:00
added seeder
This commit is contained in:
parent
4162e2b3a5
commit
fef91bfee6
@ -1,6 +1,7 @@
|
||||
import { PrismaClient } from '@prisma/client';
|
||||
|
||||
const prisma = new PrismaClient();
|
||||
|
||||
async function main() {
|
||||
await this.prisma.role.create({
|
||||
name: 'user',
|
||||
|
Loading…
x
Reference in New Issue
Block a user