Skip to content

Commit

Permalink
refactor(seeder): change Prisma client import on seeder template
Browse files Browse the repository at this point in the history
  • Loading branch information
wahyubucil committed Mar 31, 2022
1 parent be46874 commit 3c2206a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/seeder.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import prisma, { PrismaSeederBase } from '@ioc:Adonis/Addons/Prisma'
import { prisma, PrismaSeederBase } from '@ioc:Adonis/Addons/Prisma'

export default class {{ filename }}Seeder extends PrismaSeederBase {
public static developmentOnly = {{ developmentOnly }}
Expand Down

0 comments on commit 3c2206a

Please sign in to comment.