Add prisma reset dev command

Patch background color for fullscreen loader
This commit is contained in:
timothycarambat 2024-01-23 14:22:50 -08:00
parent 62da5c9933
commit 09a0fe1c81
2 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,7 @@ export function FullScreenLoader() {
return ( return (
<div <div
id="preloader" id="preloader"
className="fixed left-0 top-0 z-999999 flex h-screen w-screen items-center justify-center bg-white dark:bg-stone-800" className="fixed left-0 top-0 z-999999 flex h-screen w-screen items-center justify-center bg-sidebar"
> >
<div className="h-16 w-16 animate-spin rounded-full border-4 border-solid border-primary border-t-transparent"></div> <div className="h-16 w-16 animate-spin rounded-full border-4 border-solid border-primary border-t-transparent"></div>
</div> </div>

View File

@ -20,6 +20,7 @@
"prisma:migrate": "cd server && npx prisma migrate dev --name init", "prisma:migrate": "cd server && npx prisma migrate dev --name init",
"prisma:seed": "cd server && npx prisma db seed", "prisma:seed": "cd server && npx prisma db seed",
"prisma:setup": "yarn prisma:generate && yarn prisma:migrate && yarn prisma:seed", "prisma:setup": "yarn prisma:generate && yarn prisma:migrate && yarn prisma:seed",
"prisma:reset": "cd server && npx prisma db push --force-reset",
"prod:server": "cd server && yarn start", "prod:server": "cd server && yarn start",
"prod:frontend": "cd frontend && yarn build", "prod:frontend": "cd frontend && yarn build",
"generate:cloudformation": "node cloud-deployments/aws/cloudformation/generate.mjs", "generate:cloudformation": "node cloud-deployments/aws/cloudformation/generate.mjs",