feat: database migrations

This commit is contained in:
Isaac
2023-01-30 21:21:48 +00:00
parent 457ede3ac7
commit 63f5ea61f7
8 changed files with 750 additions and 3 deletions

View File

@@ -31,6 +31,6 @@ fs.copySync(`./db/${provider}`, './prisma'); // copy schema & migrations
(async () => {
await npx('prisma generate');
// await npx('prisma migrate deploy');
await npx('prisma migrate deploy');
})();