mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-27 17:00:54 +01:00
13 lines
338 B
TypeScript
13 lines
338 B
TypeScript
import { applyCustomMigrationsAsync } from ".";
|
|
import { database } from "../../driver";
|
|
|
|
applyCustomMigrationsAsync(database)
|
|
.then(() => {
|
|
console.log("Custom migrations applied successfully");
|
|
process.exit(0);
|
|
})
|
|
.catch((err) => {
|
|
console.log("Failed to apply custom migrations\n\t", err);
|
|
process.exit(1);
|
|
});
|