added repo
This commit is contained in:
10
scripts/seed.ts
Normal file
10
scripts/seed.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { getConfig } from "../src/config";
|
||||
import { reseedDatabase } from "../src/database";
|
||||
|
||||
const config = getConfig();
|
||||
const db = reseedDatabase(config.dbPath);
|
||||
db.close();
|
||||
|
||||
console.info("mock-task-api:seeded", {
|
||||
dbPath: config.dbPath,
|
||||
});
|
||||
Reference in New Issue
Block a user