mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Added info statements to script.
This commit is contained in:
parent
196652ffd5
commit
cc841ca734
1 changed files with 4 additions and 0 deletions
|
|
@ -8,7 +8,11 @@ if (!db) {
|
|||
throw new Error('Database not specified');
|
||||
}
|
||||
|
||||
console.log(`Database detected: ${db}`);
|
||||
|
||||
const src = path.resolve(__dirname, `../prisma/schema.${db}.prisma`);
|
||||
const dest = path.resolve(__dirname, '../prisma/schema.prisma');
|
||||
|
||||
fs.copyFileSync(src, dest);
|
||||
|
||||
console.log(`Copied ${src} to ${dest}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue