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