mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
Build DBAL, generate types, set up database and bootstrap seed data
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
3
frontends/nextjs/prisma-push.cjs
Normal file
3
frontends/nextjs/prisma-push.cjs
Normal file
@@ -0,0 +1,3 @@
|
||||
const { execSync } = require('child_process');
|
||||
process.env.DATABASE_URL = process.env.DATABASE_URL || 'file:./dev.db';
|
||||
execSync('npx prisma db push --schema=../../dbal/shared/prisma/schema.prisma', { stdio: 'inherit' });
|
||||
Reference in New Issue
Block a user