mirror of
https://github.com/zhigang1992/umami.git
synced 2026-01-12 17:53:11 +08:00
Added info statements to script.
This commit is contained in:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user