Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -1,11 +1,12 @@
|
||||
import SeedService from "~/utils/db/seed/SeedService";
|
||||
import { db } from "~/utils/db.server";
|
||||
import { closeSharedStores } from "~/shared-store.server";
|
||||
|
||||
async function seed() {
|
||||
try {
|
||||
await SeedService.seed();
|
||||
} finally {
|
||||
await db.$disconnect();
|
||||
await Promise.all([closeSharedStores(), db.$disconnect()]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user