Remove hasura and hasura-auth (#134)
* Remove hasura and hasura-auth * Move all models to prisma * Start implementing graphql * chore: clean package json * chore: make the code build * chore: get initial graphql.tsx file * feature: use typegql as qgl server * refactor: small refactoring * refactor: clean tests * bugfix: make all filters not case sensitive * chore: remove unused imports --------- Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com>
This commit is contained in:
15
server/src/database/seeds/index.ts
Normal file
15
server/src/database/seeds/index.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { PrismaClient } from "@prisma/client";
|
||||
import { seedCompanies } from "./companies";
|
||||
import { seedWorkspaces } from "./workspaces";
|
||||
import { seedPeople } from "./people";
|
||||
|
||||
|
||||
const seed = async () => {
|
||||
const prisma = new PrismaClient()
|
||||
await seedWorkspaces(prisma)
|
||||
await seedCompanies(prisma)
|
||||
await seedPeople(prisma)
|
||||
await prisma.$disconnect()
|
||||
}
|
||||
|
||||
seed()
|
||||
Reference in New Issue
Block a user