mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 01:46:58 +01:00
Added info statements to script.
This commit is contained in:
parent
196652ffd5
commit
cc841ca734
@ -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…
Reference in New Issue
Block a user